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

ORF2 not in list of livestreams #135

Closed gandalth closed 8 months ago

gandalth commented 10 months ago

I just tried the plugin with this setup:

ORF 1, ORF III, and ORF Sport+ all work perfectly. But I'm puzzled that ORF2 is not in the folder listing the available livestreams. Is there a known reason why ORF 2 would not be included?

Cheers, gandalth

s0faking commented 10 months ago

What's the addon version? If there is no current Livestream on ORF2 it won't show up in the list

gandalth commented 10 months ago

The addon version is 0.12.9+matrix.1 (installed from Kodi's repository).

Reading your comment I just retried and now ORF2 is available in the list. Still, my first test was on Saturday afternoon. ORF2 did send live broadcasting at the time. Does the live stream omit certain programming?

s0faking commented 10 months ago

Nope there is no filter but between shows the livestream flag is off on the Website, thats why the HTML scraper doesnt fetch the livestream parameters. I can check if i can show the channel even if there is no show running at the moment. Not sure If DRM parameters are present when the livestream Detail Pages show a countdown.

gandalth commented 10 months ago

I would be happy to test if you decide to try this.

I did more testing today, and I seem to get random playback failures, mostly on ORF1 today. I double checked that my inputstream, inputstream-helper, and widevine installation are fine. I now wonder if ORF's live streaming is maybe unreliable. Are there any other users with similar experience?

s0faking commented 10 months ago

i will look into that, but at the moment i'm trying to focus on the orf on addon which will replace this addon by april 2024. the html scraper will be left out completely on the new addon because its pretty unreliable und can't cope with small changes on the website markup very well. also it will be a lot easier for me to maintain the addon since the data source will be limited to the service api in the future, which will save me quite some headaches and mostly time ;)

can you send me a debug log for the streaming issues? there has been issues with widevine in the past, especially on the raspberry pi so this might be the problem, but i can't tell without any logs. unfortunately there is no way to fix any of this from the addon scope, since most of the streaming stuff is handled by the inputstream stack & kodi (ffmpeg) but i might be able to point out the issue if I see any obvious log output. what exactly was the behaviour, was it like stuttering video/audio stream or complete stream timeouts?

gandalth commented 10 months ago

I agree that your focus on the new platform makes perfect sense. I will still paste my experience (ORF1 repeatedly says playback failed, whereas ORF2 is working). The output is the part from kodi.log where I try ORF1.

2024-01-14 18:12:53.477 T:2307 error : CCurlFile::Open - https://orf1.mdn.ors.at/orf/orf1/drmqxb/manifest.mpd Failed with code 403:

2024-01-14 18:12:53.477 T:2307 error : AddOnLog: inputstream.adaptive: CURLOpen returned an error, download failed: https://orf1.mdn.ors.at/orf/orf1/drmqxb/manifest.mpd

s0faking commented 10 months ago

hm, do you have some kind of proxy running? the 403 usually happens when fetching the playlist from a non austrian ip

if not can you turn on component specific debug logs for curl and send the log again?

gandalth commented 10 months ago

I just tried it with a non-austrian IP and that does not give you a 403, but redirects you to a different video. This video explains that you are not allowed to view the content outside of Austria.

I just looked at ORF TVThek through a browser (from Austria) and I think I get the problem. The current streaming of ORF1 offers coverage of a skiing event. But that only starts in a few hours. The browser shows a countdown for when the event starts. The current live program of ORF1 (a movie) is not being offered in the live streaming. I guess that is why I get the 403 - there is no stream right now. Summarizing, I had an incorrect expectation of ORF's live streaming through TVThek. I thought the whole TV program is being streamed, but actually only select shows are. Maybe that will change with the new platform (ORF ON) you mentioned above.