platypush.plugins.media.ctrl

class platypush.plugins.media.ctrl.MediaCtrlPlugin(torrentcast_port=9090, *args, **kwargs)[source]

Wrapper plugin to control audio and video media. Examples of supported URL types:

  • file:///media/movies/Movie.mp4 [requires media plugin enabled]
  • youtube:video:poAk9XgK7Cs [requires media plugin+youtube-dl]
  • magnet:?torrent_magnet [requires torrentcast]
  • spotify:track:track_id [leverages plugins.music.mpd]
__init__(torrentcast_port=9090, *args, **kwargs)[source]

Initialize self. See help(type(self)) for accurate signature.