Ok, lets see
- hls-live-restart is a parameter for the hls-Plugin
- orf-europe doesn't seem to work with a swiss free account
- therefor I'm using srf-info.
1. After a streamlink-update:
127.0.0.1 - - [21/Jan/2024 16:23:15] "GET /https://zattoo.com/channels?channel=srf_info&zattoo-stream-types=hls7&zattoo-email=***@***.***&zattoo-password=####&zattoo-purge-credentials=1 HTTP/1.1" 200 -
[plugins.zattoo][debug] Restored cookies: beaker.session.id, pzuid
[plugins.zattoo][info] All credentials were successfully removed.
[plugins.zattoo][debug] _hello ...
[plugins.zattoo][debug] Hello was successful.
[plugins.zattoo][debug] _login ...
[plugins.zattoo][debug] Login was successful.
[plugins.zattoo][debug] Saved cookies: beaker.session.id, pzuid
[plugins.zattoo][debug] _watch ...
[plugins.zattoo][debug] get channel ID for srf_info
[plugins.zattoo][debug] {'display_alias': 'srf_info', 'cid': 'sf-info', 'qualities': [{'title': 'SRF info HD', 'stream_types': ['dash', 'hls7'], 'level': 'hd', 'availability': 'available'}]}
[plugins.zattoo][debug] CHANNEL ID: sf-info
[plugins.zattoo][error] invalid stream_type h
[plugins.zattoo][error] invalid stream_type l
[plugins.zattoo][error] invalid stream_type s
[plugins.zattoo][error] invalid stream_type 7
[streamlink][error] No playable streams found for the given URL: https://zattoo.com/channels?channel=srf_info
[plugins.hls][debug] URL=https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8; params={}
[utils.l10n][debug] Language code: en_US
[stream.hls][debug] Using external audio tracks for stream 234p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 360p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 540p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 720p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 1080p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 41k (language=eng, name=BipBop Audio 2)
[stream.ffmpegmux][debug] Opening hls substream
[stream.hls][debug] Reloading playlist
[stream.ffmpegmux][debug] Opening hls substream
[stream.hls][debug] Reloading playlist
[utils.named_pipe][info] Creating pipe streamlinkpipe-2030-1-670
[utils.named_pipe][info] Creating pipe streamlinkpipe-2030-2-3157
[stream.ffmpegmux][debug] ffmpeg command: /usr/bin/ffmpeg -nostats -y -i /tmp/streamlinkpipe-2030-1-670 -i /tmp/streamlinkpipe-2030-2-3157 -c:v copy -c:a copy -map 0:v? -map 0:a? -map 1:a -f mpegts pipe:1
[stream.ffmpegmux][debug] Starting copy to pipe: /tmp/streamlinkpipe-2030-1-670
[stream.ffmpegmux][debug] Starting copy to pipe: /tmp/streamlinkpipe-2030-2-3157
[stream.hls][debug] First Sequence: 0; Last Sequence: 180
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 0; End Sequence: 180
2. Same with hls-live-restart
127.0.0.1 - - [21/Jan/2024 16:27:40] "GET /https://zattoo.com/channels?channel=srf_info&zattoo-stream-types=hls7&zattoo-email=***@***.***&zattoo-password=####&zattoo-purge-credentials=1 HTTP/1.1" 200 -
[plugins.zattoo][debug] Restored cookies: beaker.session.id, pzuid
[plugins.zattoo][info] All credentials were successfully removed.
[plugins.zattoo][debug] _hello ...
[plugins.zattoo][debug] Hello was successful.
[plugins.zattoo][debug] _login ...
[plugins.zattoo][debug] Login was successful.
[plugins.zattoo][debug] Saved cookies: beaker.session.id, pzuid
[plugins.zattoo][debug] _watch ...
[plugins.zattoo][debug] get channel ID for srf_info
[plugins.zattoo][debug] {'display_alias': 'srf_info', 'cid': 'sf-info', 'qualities': [{'title': 'SRF info HD', 'stream_types': ['dash', 'hls7'], 'level': 'hd', 'availability': 'available'}]}
[plugins.zattoo][debug] CHANNEL ID: sf-info
[plugins.zattoo][error] invalid stream_type h
[plugins.zattoo][error] invalid stream_type l
[plugins.zattoo][error] invalid stream_type s
[plugins.zattoo][error] invalid stream_type 7
[streamlink][error] No playable streams found for the given URL: https://zattoo.com/channels?channel=srf_info
[plugins.hls][debug] URL=https://devstreaming-cdn.apple.com/videos/streaming/examples/bipbop_16x9/bipbop_16x9_variant.m3u8; params={}
[utils.l10n][debug] Language code: en_US
[stream.hls][debug] Using external audio tracks for stream 234p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 360p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 540p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 720p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 1080p (language=eng, name=BipBop Audio 2)
[stream.hls][debug] Using external audio tracks for stream 41k (language=eng, name=BipBop Audio 2)
[stream.ffmpegmux][debug] Opening hls substream
[stream.hls][debug] Reloading playlist
[stream.ffmpegmux][debug] Opening hls substream
[stream.hls][debug] Reloading playlist
[utils.named_pipe][info] Creating pipe streamlinkpipe-2068-1-496
[utils.named_pipe][info] Creating pipe streamlinkpipe-2068-2-6569
[stream.ffmpegmux][debug] ffmpeg command: /usr/bin/ffmpeg -nostats -y -i /tmp/streamlinkpipe-2068-1-496 -i /tmp/streamlinkpipe-2068-2-6569 -c:v copy -c:a copy -map 0:v? -map 0:a? -map 1:a -f mpegts pipe:1
[stream.ffmpegmux][debug] Starting copy to pipe: /tmp/streamlinkpipe-2068-1-496
[stream.ffmpegmux][debug] Starting copy to pipe: /tmp/streamlinkpipe-2068-2-6569
[stream.hls][debug] First Sequence: 0; Last Sequence: 180
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 0; End Sequence: 180
3. After hls-live-restart with streamlinksrv
127.0.0.1 - - [21/Jan/2024 16:41:50] "GET /https://zattoo.com/channels?channel=srf_info&zattoo-stream-types=hls7&zattoo-email=***@***.***&zattoo-password=####&zattoo-purge-credentials=1&hls-live-restart HTTP/1.1" 200 -
[plugins.zattoo][debug] Restored cookies: beaker.session.id, pzuid
[plugins.zattoo][info] All credentials were successfully removed.
[plugins.zattoo][debug] _hello ...
[plugins.zattoo][debug] Hello was successful.
[plugins.zattoo][debug] _login ...
[plugins.zattoo][debug] Login was successful.
[plugins.zattoo][debug] Saved cookies: beaker.session.id, pzuid
[plugins.zattoo][debug] _watch ...
[plugins.zattoo][debug] get channel ID for srf_info
[plugins.zattoo][debug] {'display_alias': 'srf_info', 'cid': 'sf-info', 'qualities': [{'title': 'SRF info HD', 'stream_types': ['dash', 'hls7'], 'level': 'hd', 'availability': 'available'}]}
[plugins.zattoo][debug] CHANNEL ID: sf-info
[plugins.zattoo][debug] Found data for hls7
[utils.l10n][debug] Language code: en_US
[stream.hls][debug] Using external audio tracks for stream 720p (language=de, name=Deutsch), (language=en, name=English)
[stream.hls][debug] Using external audio tracks for stream 432p (language=de, name=Deutsch), (language=en, name=English)
[stream.hls][debug] Using external audio tracks for stream 288p (language=de, name=Deutsch), (language=en, name=English)
[stream.hls][debug] Using external audio tracks for stream 288p_alt (language=de, name=Deutsch), (language=en, name=English)
[utils.l10n][debug] Language code: en_US
[stream.hls][debug] Using external audio tracks for stream 288p (language=de, name=Deutsch), (language=en, name=English)
[streamlink][debug] ZATTOO plugin found sreams: ['288p', '288p_alt2', '432p', '720p']
[stream.ffmpegmux][debug] Opening hls substream
[stream.hls][debug] Reloading playlist
[stream.ffmpegmux][debug] Opening hls substream
[stream.hls][debug] Reloading playlist
[stream.ffmpegmux][debug] Opening hls substream
[stream.hls][debug] Reloading playlist
[utils.named_pipe][info] Creating pipe streamlinkpipe-2147-1-3485
[utils.named_pipe][info] Creating pipe streamlinkpipe-2147-2-3785
[utils.named_pipe][info] Creating pipe streamlinkpipe-2147-3-5114
[stream.ffmpegmux][debug] ffmpeg command: /usr/bin/ffmpeg -nostats -y -i /tmp/streamlinkpipe-2147-1-3485 -i /tmp/streamlinkpipe-2147-2-3785 -i /tmp/streamlinkpipe-2147-3-5114 -c:v copy -c:a copy -map 0:v? -map 0:a? -map 1:a -map 2:a -copyts -f mpegts pipe:1
[stream.ffmpegmux][debug] Starting copy to pipe: /tmp/streamlinkpipe-2147-1-3485
[stream.ffmpegmux][debug] Starting copy to pipe: /tmp/streamlinkpipe-2147-2-3785
[stream.hls][debug] First Sequence: 1066157267; Last Sequence: 1066157316
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 1066157314; End Sequence: None
[stream.hls][debug] Adding segment 1066157314 to queue
[stream.ffmpegmux][debug] Starting copy to pipe: /tmp/streamlinkpipe-2147-3-5114
[stream.hls][debug] First Sequence: 1066157267; Last Sequence: 1066157316
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 1066157314; End Sequence: None
[stream.hls][debug] Adding segment 1066157314 to queue
[stream.hls][debug] Adding segment 1066157315 to queue
[stream.hls][debug] Adding segment 1066157316 to queue
[stream.hls][debug] Adding segment 1066157315 to queue
[stream.hls][debug] Writing segment 1066157314 to output
[stream.hls][debug] Segment initialization 1066157314 complete
[stream.hls][debug] Adding segment 1066157316 to queue
[stream.hls][debug] First Sequence: 1066157267; Last Sequence: 1066157316
[stream.hls][debug] Start offset: 0; Duration: None; Start Sequence: 1066157314; End Sequence: None
[stream.hls][debug] Adding segment 1066157314 to queue
[stream.hls][debug] Adding segment 1066157315 to queue
[stream.hls][debug] Adding segment 1066157316 to queue
[stream.hls][debug] Writing segment 1066157314 to output
[stream.hls][debug] Segment initialization 1066157314 complete
[stream.hls][debug] Writing segment 1066157314 to output
[stream.hls][debug] Writing segment 1066157314 to output
[stream.hls][debug] Segment initialization 1066157314 complete
[stream.hls][debug] Writing segment 1066157314 to output
[stream.hls][debug] Segment 1066157314 complete
[stream.hls][debug] Segment 1066157314 complete
[stream.hls][debug] Writing segment 1066157315 to output
[stream.hls][debug] Writing segment 1066157315 to output
[stream.hls][debug] Segment 1066157315 complete
[stream.hls][debug] Writing segment 1066157316 to output
[stream.hls][debug] Segment 1066157316 complete
[stream.hls][debug] Segment 1066157315 complete
[stream.hls][debug] Writing segment 1066157316 to output
[stream.hls][debug] Writing segment 1066157314 to output
[stream.hls][debug] Segment 1066157314 complete
[stream.hls][debug] Writing segment 1066157315 to output
[stream.hls][debug] Segment 1066157316 complete
[stream.hls][debug] Segment 1066157315 complete
[stream.hls][debug] Writing segment 1066157316 to output
[stream.hls][debug] Segment 1066157316 complete