Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugins.tvplayer [Info only] some channels are now DRM protected #2983

Closed
1 task done
mkbloke opened this issue May 19, 2020 · 2 comments · Fixed by #2989
Closed
1 task done

plugins.tvplayer [Info only] some channels are now DRM protected #2983

mkbloke opened this issue May 19, 2020 · 2 comments · Fixed by #2989
Labels
drm Requested stream is protected by DRM plugin issue A Plugin does not work correctly

Comments

@mkbloke
Copy link
Member

mkbloke commented May 19, 2020

Plugin Issue

  • This is a plugin issue and I have read the contribution guidelines.

I'm seeing that some channels now appear to be DRM protected on tvplayer. BBC One and BBC Two are OK, but for example, Channel 4 and Five appear to be DRM protected:

$ streamlink -l debug tvplayer.com/watch/five worst
streamlink/local/lib/python2.7/site-packages/streamlink_cli/main.py:760: PythonDeprecatedWarning: Python 2.7 has reached the end of its life.  A future version of streamlink will drop support for Python 2.7. Please upgrade your Python to at least 3.5.
  streamlink = Streamlink({"user-input-requester": ConsoleUserInputRequester(console)})
[cli][debug] OS:         Linux-4.5.1-040501-generic-x86_64-with-Ubuntu-16.04-xenial
[cli][debug] Python:     2.7.12
[cli][debug] Streamlink: 1.4.1+10.g76880e4
[cli][debug] Requests(2.23.0), Socks(1.7.1), Websocket(0.57.0)
[cli][info] Found matching plugin tvplayer for URL tvplayer.com/watch/five
[cli][debug] Plugin specific arguments:
[cli][debug]  --tvplayer-email=***@****** (email)
[cli][debug]  --tvplayer-password=******** (password)
[plugin.tvplayer][debug] Logging in as ***@******
[plugin.tvplayer][debug] Got stream attributes: {u'token': u'5429637a86931ecf959e753c06cb5a11', u'uvid': u'842', u'key': u'2Pw1Eg0Px7Ey9Jm3Ly8Dr5Ci5Vc5Mk', u'expiry': u'1590008896'}
[utils.l10n][debug] Language code: en_GB
[cli][info] Available streams: 360p (worst), 432p, 504p, 576p (best)
[cli][info] Opening stream: 360p (hls)
[stream.hls][debug] Reloading playlist
[stream.hls][debug] Segments in this playlist are encrypted
[stream.hls][debug] First Sequence: 198740303; Last Sequence: 198740306
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 198740304; End Sequence: None
[stream.hls][debug] Adding segment 198740304 to queue
[cli][debug] Pre-buffering 8192 bytes
[stream.hls][debug] Adding segment 198740305 to queue
[stream.hls][debug] Adding segment 198740306 to queue
[stream.hls][error] Failed to create decryptor: ('Unable to decrypt cipher {0}', u'SAMPLE-AES')
[stream.segmented][debug] Closing writer thread
[stream.segmented][debug] Closing worker thread
[cli][error] Try 1/1: Could not open stream <HLSStream('https://live.tvplayer.com/live1/five/bitrate1.isml/bitrate1-audio_track_0_0_eng=64000-video_track=1151000.m3u8')> (No data returned from stream)
error: Could not open stream <HLSStream('https://live.tvplayer.com/live1/five/bitrate1.isml/bitrate1-audio_track_0_0_eng=64000-video_track=1151000.m3u8')>, tried 1 times, exiting
[cli][info] Closing currently open stream...
@mkbloke
Copy link
Member Author

mkbloke commented May 19, 2020

I have not checked all the channels available on tvplayer, but it would appear that all channels from these families/sister channels are now DRM protected: ITV, Channel 4 and Channel 5.

@bastimeyer bastimeyer added drm Requested stream is protected by DRM plugin issue A Plugin does not work correctly labels May 20, 2020
@mkbloke
Copy link
Member Author

mkbloke commented May 26, 2020

With PR:

$ streamlink tvplayer.com/watch/five worst
streamlink/local/lib/python2.7/site-packages/streamlink_cli/main.py:760: PythonDeprecatedWarning: Python 2.7 has reached the end of its life.  A future version of streamlink will drop support for Python 2.7. Please upgrade your Python to at least 3.5.
  streamlink = Streamlink({"user-input-requester": ConsoleUserInputRequester(console)})
[cli][info] Found matching plugin tvplayer for URL tvplayer.com/watch/five
[cli][info] Available streams: 360p (worst), 432p, 504p, 576p (best)
[cli][info] Opening stream: 360p (hls)
[cli][info] Starting player: mpv
[cli][info] Player closed
[cli][info] Stream ended
[cli][info] Closing currently open stream...

back-to pushed a commit that referenced this issue May 30, 2020
…2989)

closes #2983

Co-authored-by: Ian Cameron <mkbloke@gmail.com>
back-to pushed a commit to back-to/streamlink that referenced this issue Jul 10, 2020
mkbloke added a commit to mkbloke/streamlink that referenced this issue Aug 18, 2020
resiproxy pushed a commit to resiproxy/streamlink that referenced this issue Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drm Requested stream is protected by DRM plugin issue A Plugin does not work correctly
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants