Coder Social home page Coder Social logo

etvnet-plex-plugin's Introduction

Plex Plugin for watching russian movies online from Etvnet media library

Requirements

  • Python 2.7.x
  • OSX or Ubuntu
  • Plex Media Server

Install PMS

  • on Ubuntu:
sudo dpkg -i /home/alex/Downloads/plexmediaserver_0.9.14.6.1620-e0b7243_amd64.deb
  • on OSX:

locate latest pkg file.

Plex Media Server (PMS) is located in (<plex_home>):

  • Ubuntu: /var/lib/plexmediaserver
  • OSX: /Applications/Plex\ Media\ Server.app

Plugins for PMS are located here (<plugins_home>):

  • Ubuntu: /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins
  • OSX: ~/Library/Application\ Support/Plex\ Media\ Server/Plug-ins

Installing core tools

  • Install Python (OSX):
xcode-select --install

brew install pyenv

pyenv install 2.7.10
pyenv rehash

pyenv local 2.7.10

python --version
  • Install pip and invoke:
easy_install pip
pip install invoke
pip install paramiko

Building and installing plugin

  • build plugin:
invoke build

After this command folder 'build' will have 'Etvnet.bundle.zip' archive.

You need to extract this archive into the <plugins_home>:

cd ~/Library/Application\ Support/Plex\ Media\ Server/Plug-ins
git clone [email protected]:shvets/etvnet-plex-plugin.git

See how to manually install a channel [here] manually-install-a-channel

On Ubuntu, because of plugins folder location, you have to change the directory owner (plex):

sudo -S chown -R plex /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins

You can build and deploy on OSX with this command:

invoke deploy

This command will also restarts plex server.

Install plugin on remote Ubuntu machine:

env USERNAME=user HOSTNAME=remote_host invoke rdeploy

Logs

  • Ubuntu:

/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/PMS\ Plugin\ Logs/com.plexapp.plugins.etvnet.log /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Logs/Plex\ Media\ Server.log

OSX: ~/Library/Logs/PMS\ Plugin\ Logs/com.plexapp.plugins.etvnet.log ~/Library/Logs/Plex\ Media\ Server.log

Plugin Location

  • Ubuntu: /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/Etvnet.bundle/

  • OSX: ~/Library/Application\ Support/Plex\ Media\ Server/Plug-ins/Etvnet.bundle/

Inspired Projects

Useful Plugins/Projects

Articles

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.