s0faking / plugin.video.orftvthek

ORF TVthek - This KODI plugin provides access to the Austrian "ORF TVthek"
GNU General Public License v2.0
42 stars 19 forks source link

license issue w/ widevine, no #112

Closed thob closed 2 years ago

thob commented 3 years ago

I'm getting this for live streams ERROR <general>: CCurlFile::Open failed with code 400 for https://drm.ors.at/acquire-license/widevine

anything I can do?

raoulbhatia commented 3 years ago

I am experiencing the same issue when trying to play the live stream right now.

2021-09-08 20:49:04.549 T:31094   ERROR <general>: CCurlFile::FillBuffer - Failed: HTTP returned error 400
2021-09-08 20:49:04.549 T:31094   ERROR <general>: CCurlFile::Open failed with code 400 for https://drm.ors.at/acquire-license/widevine?BrandGuid=13f2e056-53fe-4469-ba6d-999970dbe549&userToken=lCtiI5N8Q3iHee7IeW%2FzD9t0L3ywDAC95SIq3FgsL%2FziNIfdGBx%2FTdUQBsoUm028xKlaQ4SijpHferCoRhRCHFfjRGjCuSUCL3A1%2FbGdilZXsiDR2f6I4mbr3fL3nTUgg36mmyU2lMGdT%2Bhdj3qF144S4G85QVNWXLPKQRh4HDw0IJZPGP4Np1UT%2FeOdiABAUSL8mfMcJfwumHgUq8nO19oFEQryDu4YP%2BFT%2FGOluBjotZlvD7%2B8vsKEUPmI56HL:

2021-09-08 20:49:04.549 T:31094   ERROR <general>: AddOnLog: inputstream.adaptive: License server returned failure
2021-09-08 20:49:04.549 T:31094   ERROR <general>: AddOnLog: inputstream.adaptive: License update not successful (no keys)
2021-09-08 20:49:04.619 T:31094   ERROR <general>: AddOnLog: inputstream.adaptive: Initialize failed (SingleSampleDecrypter)
2021-09-08 20:49:04.622 T:31094   ERROR <general>: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.orftvthek/?link=https%3A%2F%2Forf1.mdn.ors.at%2Fout%2Fu%2Forf1%2Fdrmqxa%2Fmanifest.mpd&mode=playDRM&lic_url=https%3A%2F%2Fdrm.ors.at%2Facquire-license%2Fwidevine%3FBrandGuid%3D13f2e056-53fe-4469-ba6d-999970dbe549%26userToken%3DlCtiI5N8Q3iHee7IeW%252FzD9t0L3ywDAC95SIq3FgsL%252FziNIfdGBx%252FTdUQBsoUm028xKlaQ4SijpHferCoRhRCHFfjRGjCuSUCL3A1%252FbGdilZXsiDR2f6I4mbr3fL3nTUgg36mmyU2lMGdT%252Bhdj3qF144S4G85QVNWXLPKQRh4HDw0IJZPGP4Np1UT%252FeOdiABAUSL8mfMcJfwumHgUq8nO19oFEQryDu4YP%252BFT%252FGOluBjotZlvD7%252B8vsKEUPmI56HL]
2021-09-08 20:49:04.622 T:31094    INFO <general>: CVideoPlayer::OnExit()
2021-09-08 20:49:04.622 T:31094    INFO <general>: ADDON: Dll Destroyed - InputStream Adaptive
2021-09-08 20:49:04.641 T:1087     INFO <general>: CVideoPlayer::CloseFile()
2021-09-08 20:49:04.642 T:1087     INFO <general>: VideoPlayer: waiting for threads to exit
2021-09-08 20:49:04.642 T:1087     INFO <general>: VideoPlayer: finished waiting
raoulbhatia commented 3 years ago

Update: ZIB1 Replay is working for me.

(Note: I also applied c75ddb57d1d023f834ea19ab8ec675161a2ae8bd but this seems to be unrelated)

s0faking commented 3 years ago

are you using the serviceapi? just tried this with the orf1 livestream on my shield and a windows pc and it worked fine. the serviceapi on the other hand has a hardcoded brand uuid to aquire the license because i couldn't find any endpoint to fetch it dynamically.

s0faking commented 3 years ago

works with serviceapi enabled as well. maybe there have been some server problems with the drm service today. could anyone who can reproduce this enable "component specific logging" => curl and post some logs

s0faking commented 3 years ago

ok i was able to reproduce this now with the current program on orf1. orf2 works though. i'm also unable to play orf1 on chrome (win) so i guess they are having problems with their widevine service at least for the AD version of the program. i will look into the reason why the AD Version is shown instead of the normal version

thob commented 3 years ago

I'm on OSMC / Leia and it doesn't work since a week or even longer… don't know if it helps but Zappn TV got CCurlFile::Open failed with code 403 for https://licenses.drm.p7s1video.net/drm/v1/ksm and isn't working either.

s0faking commented 3 years ago

there has been a similar problem on another issue: https://github.com/s0faking/plugin.video.orftvthek/issues/107#issuecomment-914375119

i suspect there's something wrong with the drm lib. is everyone who has that issue using a raspberry pi by any chance?

thob commented 3 years ago

I'm on OSMC Vero which might me similar to RPi.

thob commented 3 years ago

crossposted it to OSMC forums

thob commented 3 years ago

Okay, this is for me an OS related issue. There's a solution for Leia and Matrix (pending)

Franz47 commented 3 years ago

there has been a similar problem on another issue: #107 (comment)

i suspect there's something wrong with the drm lib. is everyone who has that issue using a raspberry pi by any chance?

Not being an expert like you, just a plain end user, I have several raspberry pis, versions 2,3,4 with libreelec/kodi. Since several weeks on none of them with the orftvthek plugin live ORF1 or ORF2 works, only ORFIII live always works and so watching past programs. I have updated windevine, that did not change anything. In the beginning the live ORF channels worked with Zappn, now they don't work there either. The ORF tvthek still works well in browsers in Windows 10 computers.

Franz47 commented 3 years ago

Almost everything works now again after another widevine update! Only problem: when entering the "LIVE" menu, it often does not list all ORF channels, only 2 of them, although in the display options I have set "All channels". But now I can see the channels with Zappn again also. Also the Netflix addon still works.

Thanks to s0faking for doing this!

thob commented 3 years ago

again after another widevine update!

on which version are you now. I updated only 2 days ago and have now issues again w/ Zappn, it worked for a few days. ORF 1/2 Live is not working at all here on OSMC Vero 4k

s0faking commented 2 years ago

reopen if this is still an issue