d21spike / plugin.video.sling

Sling TV Add-On for Kodi
GNU General Public License v3.0
18 stars 14 forks source link

Can not play any channel #6

Closed usphil closed 4 years ago

usphil commented 4 years ago

Few hours ago Sling is still working but now It can not play any channel on both new and old version. Netflix and Prime Video are still working.

2020-01-18 01:19:41.556 T:3922023296 NOTICE: ADDON: xbmc.addon v18.5.0 installed 2020-01-18 01:19:41.556 T:3922023296 NOTICE: ADDON: xbmc.core v0.1.0 installed 2020-01-18 01:19:41.556 T:3922023296 NOTICE: ADDON: xbmc.gui v5.14.0 installed 2020-01-18 01:19:41.556 T:3922023296 NOTICE: ADDON: xbmc.json v10.3.0 installed 2020-01-18 01:19:41.556 T:3922023296 NOTICE: ADDON: xbmc.metadata v2.1.0 installed 2020-01-18 01:19:41.556 T:3922023296 NOTICE: ADDON: xbmc.python v2.26.0 installed 2020-01-18 01:19:41.556 T:3922023296 NOTICE: ADDON: xbmc.webinterface v1.0.0 installed 2020-01-18 01:19:57.665 T:4066360768 ERROR: Control 55 in window 10025 has been asked to focus, but it can't 2020-01-18 01:23:09.131 T:4066360768 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.sling/?url=http%3A%2F%2Fcbd46b77.cdn.cms.movetv.com%2Fcms%2Fapi%2Fchannels%2F3844c0aee4df43849a938774ee504b4a%2Fschedule%2Fnow%2Fplayback_info.qvt&mode=play&name=A%26E 2020-01-18 01:23:09.140 T:3922023296 NOTICE: Creating InputStream 2020-01-18 01:23:09.156 T:3922023296 ERROR: GetDirectory - Error getting /usr/lib/kodi/addons/inputstream.adaptive/ 2020-01-18 01:23:10.399 T:3922023296 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403 2020-01-18 01:23:10.399 T:3922023296 ERROR: CCurlFile::Open failed with code 403 for http://p-drmwv.movetv.com/widevine/proxy: 2020-01-18 01:23:10.399 T:3922023296 ERROR: AddOnLog: InputStream Adaptive: License server returned failure 2020-01-18 01:23:10.399 T:3922023296 ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys) 2020-01-18 01:23:10.432 T:3922023296 ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter) 2020-01-18 01:23:10.434 T:3922023296 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.sling/?url=http%3A%2F%2Fcbd46b77.cdn.cms.movetv.com%2Fcms%2Fapi%2Fchannels%2F3844c0aee4df43849a938774ee504b4a%2Fschedule%2Fnow%2Fplayback_info.qvt&mode=play&name=A%26E] 2020-01-18 01:23:10.434 T:3922023296 NOTICE: CVideoPlayer::OnExit() 2020-01-18 01:23:10.457 T:4066360768 NOTICE: CVideoPlayer::CloseFile() 2020-01-18 01:23:10.484 T:4066360768 NOTICE: VideoPlayer: waiting for threads to exit 2020-01-18 01:23:10.484 T:4066360768 NOTICE: VideoPlayer: finished waiting 2020-01-18 01:23:18.876 T:4066360768 NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.sling/?url=http%3A%2F%2Fcbd46b77.cdn.cms.movetv.com%2Fcms%2Fapi%2Fchannels%2F8da93b497e644312b17d2420f1cb77f4%2Fschedule%2Fnow%2Fplayback_info.qvt&mode=play&name=AMC 2020-01-18 01:23:18.881 T:3500143488 NOTICE: Creating InputStream 2020-01-18 01:23:18.909 T:3500143488 ERROR: GetDirectory - Error getting /usr/lib/kodi/addons/inputstream.adaptive/ 2020-01-18 01:23:20.136 T:3500143488 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403 2020-01-18 01:23:20.136 T:3500143488 ERROR: CCurlFile::Open failed with code 403 for http://p-drmwv.movetv.com/widevine/proxy: 2020-01-18 01:23:20.136 T:3500143488 ERROR: AddOnLog: InputStream Adaptive: License server returned failure 2020-01-18 01:23:20.136 T:3500143488 ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys) 2020-01-18 01:23:20.168 T:3500143488 ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter) 2020-01-18 01:23:20.171 T:3500143488 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.sling/?url=http%3A%2F%2Fcbd46b77.cdn.cms.movetv.com%2Fcms%2Fapi%2Fchannels%2F8da93b497e644312b17d2420f1cb77f4%2Fschedule%2Fnow%2Fplayback_info.qvt&mode=play&name=AMC] 2020-01-18 01:23:20.171 T:3500143488 NOTICE: CVideoPlayer::OnExit() 2020-01-18 01:23:20.182 T:4066360768 NOTICE: CVideoPlayer::CloseFile() 2020-01-18 01:23:20.208 T:4066360768 NOTICE: VideoPlayer: waiting for threads to exit 2020-01-18 01:23:20.208 T:4066360768 NOTICE: VideoPlayer: finished waiting

d21spike commented 4 years ago

Unfortunately poor timing for release since it seems that it's the same day Sling decided to update it widevine licensing code. Currently working on a fix.

d21spike commented 4 years ago

This is a sample log showing 403 Unauthorized

2020-01-18 08:20:03.055 T:3011 DEBUG: CPlayerGUIInfo::InitCurrentItem(plugin://plugin.video.sling/?url=http%3A%2F%2Fcbd46b77.cdn.cms.movetv.com%2Fcms%2Fapi%2Fchannels%2F29938328f60d447299ec48511a09ebab%2Fschedule%2Fnow%2Fplayback_info.qvt&mode=play&name=Comedy+Central)
2020-01-18 08:20:03.073 T:3016 DEBUG: void CXBMCApp::OnPlayBackStarted()
2020-01-18 08:20:03.114 T:3190 DEBUG: Thread BackgroundLoader 3190 terminating
2020-01-18 08:20:03.116 T:3189 INFO: AddOnLog: InputStream Adaptive: SetVideoResolution (2259 x 1412)
2020-01-18 08:20:03.117 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Open()
2020-01-18 08:20:03.118 T:3189 DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.license_key: [not shown]
2020-01-18 08:20:03.118 T:3189 DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.license_type: com.widevine.alpha
2020-01-18 08:20:03.118 T:3189 DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.manifest_type: mpd
2020-01-18 08:20:03.118 T:3189 DEBUG: AddOnLog: InputStream Adaptive: found inputstream.adaptive.stream_headers: User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
2020-01-18 08:20:03.124 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Initial bandwidth: 4000000
2020-01-18 08:20:03.127 T:3016 DEBUG: Visible Behind request: false
2020-01-18 08:20:03.131 T:3189 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
2020-01-18 08:20:03.132 T:3189 DEBUG: AddOnLog: InputStream Adaptive: MAXRESOLUTION selected: 0
2020-01-18 08:20:03.134 T:3189 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
2020-01-18 08:20:03.136 T:3189 DEBUG: AddOnLog: InputStream Adaptive: MAXRESOLUTIONSECURE selected: 0
2020-01-18 08:20:03.137 T:3189 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
2020-01-18 08:20:03.142 T:3189 DEBUG: AddOnLog: InputStream Adaptive: STREAMSELECTION selected: 0
2020-01-18 08:20:03.143 T:3189 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
2020-01-18 08:20:03.152 T:3189 DEBUG: Previous line repeats 3 times.
2020-01-18 08:20:03.152 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Searching for decrypters in: /data/app/org.xbmc.kodi-2pNAxVEHIz4yrCHMCMYG3g==/lib/arm
2020-01-18 08:20:03.156 T:3011 DEBUG: ------ Window Init (DialogBusy.xml) ------
2020-01-18 08:20:03.190 T:3189 DEBUG: AddOnLog: InputStream Adaptive: WVDecrypter JNI, SDK version: 28, class: org/xbmc/kodi
2020-01-18 08:20:03.202 T:3189 DEBUG: AddOnLog: InputStream Adaptive: WVDecrypter constructed
2020-01-18 08:20:03.203 T:3189 ERROR: AddOnLog: InputStream Adaptive: Key system request: com.widevine.alpha
2020-01-18 08:20:03.204 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Found decrypter: /data/app/org.xbmc.kodi-2pNAxVEHIz4yrCHMCMYG3g==/lib/arm/libssd_wv.so
2020-01-18 08:20:03.204 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Supported URN: urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED
2020-01-18 08:20:03.207 T:3189 DEBUG: CurlFile::Open(0xb020be00) http://p-cdn4-805-cg14-linear-cbd46b77.movetv.com/clipslist/613/20200118T130000Z/20200118T133500Z.mpd
2020-01-18 08:20:03.207 T:3189 INFO: easy_acquire - Created session to http://p-cdn4-805-cg14-linear-cbd46b77.movetv.com
2020-01-18 08:20:03.591 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Effective URL http://p-cdn4-805-cg14-linear-cbd46b77.movetv.com/clipslist/613/20200118T130000Z/20200118T133500Z.mpd
2020-01-18 08:20:03.657 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Download http://p-cdn4-805-cg14-linear-cbd46b77.movetv.com/clipslist/613/20200118T130000Z/20200118T133500Z.mpd finished
2020-01-18 08:20:03.659 T:3189 INFO: AddOnLog: InputStream Adaptive: Successfully parsed .mpd file. #Streams: 2 Type: live, Download speed: 0.0000 Bytes/s
2020-01-18 08:20:03.664 T:3189 DEBUG: CAddonSettings[inputstream.adaptive]: loading setting definitions
2020-01-18 08:20:03.690 T:3189 DEBUG: Previous line repeats 1 times.
2020-01-18 08:20:03.690 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Entering encryption section
2020-01-18 08:20:04.062 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Requesting new Service Certificate
2020-01-18 08:20:04.062 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Successful instanciated media_drm: 0xba5115a0, deviceid: , systemId: 7708 security-level: L1
2020-01-18 08:20:04.063 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Initializing stream with KID: 8E300588A12D45418D6AB429FEC21B6B

2020-01-18 08:20:04.138 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Key request successful size: 2
2020-01-18 08:20:04.153 T:3189 DEBUG: CurlFile::Open(0xb020be00) http://p-drmwv.movetv.com/widevine/proxy
2020-01-18 08:20:04.153 T:3189 INFO: easy_acquire - Created session to http://p-drmwv.movetv.com
2020-01-18 08:20:04.442 T:3189 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
2020-01-18 08:20:04.446 T:3189 ERROR: CCurlFile::Open failed with code 403 for http://p-drmwv.movetv.com/widevine/proxy:
2020-01-18 08:20:04.447 T:3189 ERROR: AddOnLog: InputStream Adaptive: License server returned failure
2020-01-18 08:20:04.475 T:3189 ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter)
2020-01-18 08:20:04.476 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Session::~Session()
2020-01-18 08:20:04.478 T:3189 DEBUG: AddOnLog: InputStream Adaptive: WVDecrypter destructed
2020-01-18 08:20:04.487 T:3189 ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.sling/?url=http%3A%2F%2Fcbd46b77.cdn.cms.movetv.com%2Fcms%2Fapi%2Fchannels%2F29938328f60d447299ec48511a09ebab%2Fschedule%2Fnow%2Fplayback_info.qvt&mode=play&name=Comedy+Central]
2020-01-18 08:20:04.488 T:3189 NOTICE: CVideoPlayer::OnExit()
2020-01-18 08:20:04.510 T:3189 DEBUG: AddOnLog: InputStream Adaptive: Close()
2020-01-18 08:20:04.521 T:3189 DEBUG: SECTION:UnloadDll(/data/app/org.xbmc.kodi-2pNAxVEHIz4yrCHMCMYG3g==/lib/arm/libinputstream.adaptive.so)

eracknaphobia commented 4 years ago

@usphil Please try version 0.0.77 it should fix this issue.

d21spike commented 4 years ago

@eracknaphobia Fix confirmed. Commit 784fed3087bddb4fb2be3ec4bb3ab753b7b08105 addressing the problem. Clsoing

goldins commented 4 years ago

I am getting the 403 error on Sling addon version 1.0.2, kodi 18.5 running on a Raspberry Pi 4.

2020-03-15 17:07:53.641 T:2564387024   ERROR: /home/pi/.kodi/addons/script.module.urllib3/lib/urllib3/connectionpool.py:1004: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
                                              InsecureRequestWarning,
2020-03-15 17:07:54.811 T:2564387024   ERROR: Previous line repeats 1 times.
2020-03-15 17:07:54.811 T:2564387024   ERROR: EXCEPTION: Invalid setting type
2020-03-15 17:07:54.851 T:2973269088   ERROR: Previous line repeats 1 times.
2020-03-15 17:07:54.851 T:2973269088  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.slingtv/?url=http%3A%2F%2Fcbd46b77.cdn.cms.movetv.com%2Fcms%2Fapi%2Fchannels%2F7a0ff80be0c14f4da6b6cc510b9be57b%2Fschedule%2Fnow%2Fplayback_info.qvt&mode=play&name=Comedy+Central
2020-03-15 17:07:54.854 T:2505855184  NOTICE: Creating InputStream
2020-03-15 17:07:56.432 T:2505855184   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
2020-03-15 17:07:56.432 T:2505855184   ERROR: CCurlFile::Open failed with code 403 for http://p-drmwv.movetv.com/widevine/proxy:
2020-03-15 17:07:56.433 T:2505855184   ERROR: AddOnLog: InputStream Adaptive: License server returned failure
2020-03-15 17:07:56.433 T:2505855184   ERROR: AddOnLog: InputStream Adaptive: License update not successful (no keys)
2020-03-15 17:07:56.450 T:2505855184   ERROR: AddOnLog: InputStream Adaptive: Initialize failed (SingleSampleDecrypter)
2020-03-15 17:07:56.451 T:2505855184   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.slingtv/?url=http%3A%2F%2Fcbd46b77.cdn.cms.movetv.com%2Fcms%2Fapi%2Fchannels%2F7a0ff80be0c14f4da6b6cc510b9be57b%2Fschedule%2Fnow%2Fplayback_info.qvt&mode=play&name=Comedy+Central]
2020-03-15 17:07:56.451 T:2505855184  NOTICE: CVideoPlayer::OnExit()
2020-03-15 17:07:56.471 T:2973269088  NOTICE: CVideoPlayer::CloseFile()
2020-03-15 17:07:56.472 T:2973269088  NOTICE: VideoPlayer: waiting for threads to exit
2020-03-15 17:07:56.472 T:2973269088  NOTICE: VideoPlayer: finished waiting
d21spike commented 4 years ago

@goldins If you are indeed on version 1.0.2 then you are using the "SlingTV" add-on, the issue you just commented on belongs to the "Sling" add-on which currently is on version 0.0.101.

I did just check a couple channels and this add-on ("Sling") is indeed still able to authorize/play streams. I suggest you recheck your setting and make sure you are using the correct add-on. As of right now, maintenance/development has stopped on the "SlingTV" add-on.

goldins commented 4 years ago

@d21spike thanks for the clarification. Works fine on 0.0.103!

I installed 1.0.2 through the built-in add-on manager and then found this repo. Didn't realize they were different! I've since removed it and installed this add-on instead. Thanks for all the work you've put into it.