can some people here please tell me how to enable the pluto tv plugin? #4699
-
https://github.com/streamlink/streamlink/blob/master/src/streamlink/plugins/pluto.py can some people here please tell me how to enable the pluto tv plugin? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 6 replies
-
Read the documentation. You don't have to enable any built-in plugins. You are supposed to use the canonical stream URL from your web browser as input URL, and Streamlink will see that the Pluto plugin can handle this URL and it will then resolve the stream URL and output the stream, according to your other command-line parameters. Example $ streamlink -l debug 'https://pluto.tv/en/live-tv/pluto-tv-star-trek-de' best
[cli][debug] OS: Linux-5.18.14-1-git-x86_64-with-glibc2.35
[cli][debug] Python: 3.10.5
[cli][debug] Streamlink: 4.2.0+32.g9ddfa2f0.dirty
[cli][debug] Dependencies:
[cli][debug] isodate: 0.6.1
[cli][debug] lxml: 4.9.0
[cli][debug] pycountry: 22.3.5
[cli][debug] pycryptodome: 3.14.1
[cli][debug] PySocks: 1.7.1
[cli][debug] requests: 2.28.1
[cli][debug] websocket-client: 1.3.2
[cli][debug] Arguments:
[cli][debug] url=https://pluto.tv/en/live-tv/pluto-tv-star-trek-de
[cli][debug] stream=['best']
[cli][debug] --loglevel=debug
[cli][debug] --player=mpv
[cli][info] Found matching plugin pluto for URL https://pluto.tv/en/live-tv/pluto-tv-star-trek-de
[plugins.pluto][debug] slug=pluto-tv-star-trek-de
[plugins.pluto][debug] app_version=6.4.0-3bcdc583b1e5a19f7836864e7ebe5e04d5e576c9
[plugins.pluto][debug] path=/stitch/hls/channel/6152ee71bf99590007893a11/master.m3u8
[utils.l10n][debug] Language code: en_US
[cli][info] Available streams: 570k (worst), 1000k, 1500k, 2100k, 3100k (best)
[cli][info] Opening stream: 3100k (hls-pluto)
[cli][info] Starting player: mpv
[stream.hls][debug] Reloading playlist
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Segments in this playlist are encrypted
[stream.hls][debug] First Sequence: 18; Last Sequence: 22
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 20; End Sequence: None
[stream.hls][debug] Adding segment 20 to queue
[stream.hls][debug] Adding segment 21 to queue
[stream.hls][debug] Adding segment 22 to queue
[stream.hls][debug] Segment 20 complete
[cli.output][debug] Opening subprocess: mpv --force-media-title=https://pluto.tv/en/live-tv/pluto-tv-star-trek-de -
[stream.hls][debug] Segment 21 complete
[stream.hls][debug] Segment 22 complete
[cli][debug] Writing stream to output
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Segments in this playlist are encrypted
[stream.hls][debug] Adding segment 23 to queue
[stream.hls][debug] Adding segment 24 to queue
[stream.hls][debug] Segment 23 complete
[cli][info] Player closed
[stream.segmented][debug] Closing worker thread
[stream.segmented][debug] Closing writer thread
[stream.hls][debug] Segment 24 complete
[cli][info] Stream ended
[cli][info] Closing currently open stream... |
Beta Was this translation helpful? Give feedback.
-
i have to be doing something wrong because your example isnt working |
Beta Was this translation helpful? Give feedback.
-
i also, tried removing the pluto.py file that i put in the plugins folder and get this |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
i have now uninstalled 4.2.0-1 and have installed 4.2.0-2. theres no longer an error but the plugin is not seeing the url. |
Beta Was this translation helpful? Give feedback.
-
if i replace your single quotes with double quotes i get this |
Beta Was this translation helpful? Give feedback.
#4697 (reply in thread)
Read the documentation.
You don't have to enable any built-in plugins. You are supposed to use the canonical stream URL from your web browser as input URL, and Streamlink will see that the Pluto plugin can handle this URL and it will then resolve the stream URL and output the stream, according to your other command-line parameters.
Example
$ streamlink -l debug 'https://pluto.tv/en/live-tv/pluto-tv-star-trek-de' best [cli][debug] OS: Linux-5.18.14-1-git-x86_64-with-glib…