media.plex
Platypush documentation
media.plex
- class platypush.plugins.media.plex.MediaPlexPlugin(server, username, password, **kwargs)[source]
Bases:
Plugin
Plugin to interact with a Plex media server
Requires:
plexapi (
pip install plexapi
)
- play(client=None, chromecast=None, **kwargs)[source]
Search and play content on a client or a Chromecast. If no search filter is specified, a play event will be sent to the specified client.
NOTE: Adding and managing play queues through the Plex API isn’t fully supported yet, therefore in case multiple items are returned from the search only the first one will be played.