s0faking / plugin.video.orfon

ORF ON is an Kodi addon that provides access to the ORF ON Video Platform (Austrian Television).
GNU General Public License v2.0
19 stars 2 forks source link

Restart of livestreams does not work #3

Open Esokrates opened 1 month ago

Esokrates commented 1 month ago

Kodi v21.0 on Android TV Debug log: https://paste.kodi.tv/gukoloxugu

Playing the live streams works, but restarting live streams does not work at all. Relevant part of the log:

2024-05-25 00:12:04.839 T:32074    info <general>: running thread: CVideoPlayerAudio::Process()
2024-05-25 00:12:04.839 T:32002    info <general>: Opening stream: 1003 source: 256
2024-05-25 00:12:04.880 T:32002    info <general>: CDVDSubtitlesLibass: Using libass version 1701000
2024-05-25 00:12:04.881 T:32002    info <general>: CDVDSubtitlesLibass: Creating ASS library structure
2024-05-25 00:12:04.881 T:32002    info <general>: CDVDSubtitlesLibass: Initializing ASS Renderer
2024-05-25 00:12:04.882 T:32002    info <general>: CDVDSubtitlesLibass: Initializing ASS library font settings
2024-05-25 00:12:04.957 T:32002    info <general>: CDVDSubtitlesLibass: Creating new ASS track
2024-05-25 00:12:05.052 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:06.052 T:32045 warning <general>: AddOnLog: inputstream.adaptive: [AS-7] Segment download failed, attempt 2...
2024-05-25 00:12:06.089 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:06.615 T:32005 warning <general>: AddOnLog: inputstream.adaptive: ParseManifest: The <UTCTiming> tag element is not supported so playback problems may occur.
2024-05-25 00:12:07.090 T:32045 warning <general>: AddOnLog: inputstream.adaptive: [AS-7] Segment download failed, attempt 3...
2024-05-25 00:12:07.122 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:08.122 T:32045 warning <general>: AddOnLog: inputstream.adaptive: [AS-7] Segment download failed, attempt 4...
2024-05-25 00:12:08.144 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:09.145 T:32045 warning <general>: AddOnLog: inputstream.adaptive: [AS-7] Segment download failed, attempt 5...
2024-05-25 00:12:09.175 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:10.175 T:32045 warning <general>: AddOnLog: inputstream.adaptive: [AS-7] Segment download failed, attempt 6...
2024-05-25 00:12:10.200 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:10.655 T:32005 warning <general>: AddOnLog: inputstream.adaptive: ParseManifest: The <UTCTiming> tag element is not supported so playback problems may occur.
2024-05-25 00:12:11.200 T:32045 warning <general>: AddOnLog: inputstream.adaptive: [AS-7] Segment download failed, attempt 7...
2024-05-25 00:12:11.242 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:12.242 T:32045 warning <general>: AddOnLog: inputstream.adaptive: [AS-7] Segment download failed, attempt 8...
2024-05-25 00:12:12.268 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:13.268 T:32045 warning <general>: AddOnLog: inputstream.adaptive: [AS-7] Segment download failed, attempt 9...
2024-05-25 00:12:13.296 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:14.297 T:32045 warning <general>: AddOnLog: inputstream.adaptive: [AS-7] Segment download failed, attempt 10...
2024-05-25 00:12:14.335 T:32045   error <general>: AddOnLog: inputstream.adaptive: [AS-7] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-video=3187600-4611686447574289.m4s
2024-05-25 00:12:14.367 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:14.692 T:32005 warning <general>: AddOnLog: inputstream.adaptive: ParseManifest: The <UTCTiming> tag element is not supported so playback problems may occur.
2024-05-25 00:12:15.368 T:32067 warning <general>: AddOnLog: inputstream.adaptive: [AS-8] Segment download failed, attempt 2...
2024-05-25 00:12:15.389 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:16.390 T:32067 warning <general>: AddOnLog: inputstream.adaptive: [AS-8] Segment download failed, attempt 3...
2024-05-25 00:12:16.414 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:17.414 T:32067 warning <general>: AddOnLog: inputstream.adaptive: [AS-8] Segment download failed, attempt 4...
2024-05-25 00:12:17.441 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:18.442 T:32067 warning <general>: AddOnLog: inputstream.adaptive: [AS-8] Segment download failed, attempt 5...
2024-05-25 00:12:18.473 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:18.736 T:32005 warning <general>: AddOnLog: inputstream.adaptive: ParseManifest: The <UTCTiming> tag element is not supported so playback problems may occur.
2024-05-25 00:12:19.474 T:32067 warning <general>: AddOnLog: inputstream.adaptive: [AS-8] Segment download failed, attempt 6...
2024-05-25 00:12:19.504 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:20.504 T:32067 warning <general>: AddOnLog: inputstream.adaptive: [AS-8] Segment download failed, attempt 7...
2024-05-25 00:12:20.533 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:21.533 T:32067 warning <general>: AddOnLog: inputstream.adaptive: [AS-8] Segment download failed, attempt 8...
2024-05-25 00:12:21.563 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:22.564 T:32067 warning <general>: AddOnLog: inputstream.adaptive: [AS-8] Segment download failed, attempt 9...
2024-05-25 00:12:22.594 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:22.778 T:32005 warning <general>: AddOnLog: inputstream.adaptive: ParseManifest: The <UTCTiming> tag element is not supported so playback problems may occur.
2024-05-25 00:12:23.596 T:32067 warning <general>: AddOnLog: inputstream.adaptive: [AS-8] Segment download failed, attempt 10...
2024-05-25 00:12:23.617 T:32067   error <general>: AddOnLog: inputstream.adaptive: [AS-8] Download failed, HTTP error 404: https://orf2-restart.mdn.ors.at/orf/orf2/drmqxa-restart/dash/orf2-audio_298782_deu=294400-4611686447574289.m4s
2024-05-25 00:12:23.618 T:32002    info <general>: Process - eof reading from demuxer
2024-05-25 00:12:23.618 T:32002    info <general>: CVideoPlayer::OnExit()
2024-05-25 00:12:23.618 T:32002    info <general>: VideoPlayer: eof, waiting for queues to empty
2024-05-25 00:12:23.618 T:32002    info <general>: Closing stream player 1
Esokrates commented 1 month ago

I can't reproduce this on my PC though, so this seems to be specific to the TV setup. Any idea @s0faking?

s0faking commented 1 month ago

hm thats weird. can you post a debug log (enable curl component specific logging). i saw an issue with http2 described in the readme but this should only happen on older kodi versions (<=19)

s0faking commented 1 month ago

i've looked into this on a windows pc and the restart stream doesnt work there as well. http2 disable also has no impact. it looks like the restart option has been disabled, the player "orf247" now supports rewinds and of course restart. i'll have to replace the old restart option with the new streaming service. wondering why this would work on your pc setup though. can you try it there and post the debug log. on my win pc i only get 404 errors when trying the restart, just like on your debug log above.

Esokrates commented 1 month ago

@s0faking Interestingly I can't reproduce the working behavior on my linux pc (Flatpak) anymore. It did work with the previous version of the flatpak I had installed, I restarted Kodi and it did still work, but now after a reboot it does not work anymore. Sadly I can't roll back since the previous flatpak was from half a year ago and it the oldest commit I can roll back to is from April.

It could be a coincidence but restarting the live stream broke in the tvthek addon (on Android TV) with the upgrade to Kodi v21.0, at least that's when I first noticed it and we usually restart streams daily.

s0faking commented 1 month ago

i've added the new stream format to the addon. the new restart option is now seekable as well. i will probably add this new format to the regular livestreams as well because seek and pause might be a nice feature and also i guess the old livestream format might be EOL in the future

ManuelWinkler commented 3 weeks ago

[...] and also i guess the old livestream format might be EOL in the future

Not necessarily. As long as some third parties (e.g., A1 Xplore TV) still depend on the old tvthek HbbTv platform, they must keep the restart option for livestreams, as they would otherwise break. AFAIK, there are currently no public plans on when they will have done the migration.