Skip to content

A Mopidy extension that plays audio from a Plex server and make mopity to a plex player

License

Notifications You must be signed in to change notification settings

risiko79/mopidy_plex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mopidy-Plex

Mopidy extension for playing audio from a Plex server and make mopidy to a plex client

Installation

Download:

Download latest whl package from https://github.com/risiko79/mopidy_plex/releases/latest

Install by running:

pip install Mopidy_Plex-<latest_version>-py3-none-any.whl

Note

install mopity-plex as the user running mopity

Configuration

Before starting Mopidy, you must add configuration for Mopidy-Plex to your Mopidy configuration file:

[plex]
enabled = true
server = Servername
token = plex token
username = Username
password = Password
port =
host =
profile =

'Servername' above can be the name of the server (not the hostname and port) or it could be <hostname|ip>:port. You can find the server name in plex web settings. 'token' is a valid registered token from your plexpass account If 'token' is set username and password are ignored otherwise username and password is needed to login. 'profile' is plex home user to switch after login

Project resources

Credits

Changelog

Logging/Debugging

enabled logging in mopidy:

[logging]
config_file =<path to log configuration>/logging.conf

example logging configuration to debug mopity-plex:

[loggers]
keys = root,plex

[handlers]
keys = file,fileplex

[formatters]
keys = simple

[logger_root]
handlers = file

[handler_file]
class = handlers.RotatingFileHandler
formatter = simple
level = INFO
args = ('<path>/mopidy.log','a',100000,10,)

[handler_fileplex]
class = handlers.RotatingFileHandler
formatter = simple
level = DEBUG
args = ('<path>/mopidy_plex.log','a',100000,10,)

[formatter_simple]
format = %(asctime)s %(levelname)s %(name)s(%(lineno)d): %(message)s

[logger_plex]
level = DEBUG
handlers = fileplex
qualname = mopidy_plex
propagate = 1

About

A Mopidy extension that plays audio from a Plex server and make mopity to a plex player

Resources

License

Stars

Watchers

Forks

Languages

  • Python 99.9%
  • Shell 0.1%