Posts by di999

    di999

    Add these strings with your credentials to bouquet, restart gui, and show strramlink logs

    Code
    #SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//localhost%3a8088/https%3a//zattoo.com/channels?channel=orf2_europe&zattoo-email=****@***.***&zattoo-password=******&zattoo-purge-credentials=1 
    #DESCRIPTION ORF2 Europe

    p.s.

    steamlinkproxy manualstart TRACE - and you will see a list of available "broadcasts" for your country ... In the log below you can see that the above example works for me ...


    orf2_europe doesn't work in switzerland

    srf_info works in switzerland


    Uninstalling streamlink and reinstalling streamlinkproxy didn't work.

    Deleting streamlink folder and reinstalling streamlinkproxy worked. Zattoo is working.



    Ok. Which streamlinkversion should I use? I'm using a version, where zattoo.py has been changed 5 days ago. And... ar there any diffrent stremlinkproxy 6.5.3-Plugins? As I'm using 6.5.3.

    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

    I tried to get Zattoo re-working on streamlinkproxy after updating streamlink to the newest version. System is OATV 7.3 (VU+DUO4KSE). What I found is, that getting Zattoo reworking needs die parameter hls-live-restart. Trying this with streamlinkproxy doesn't work.


    What I'm doing after updating and restarting is:

    1. Uninstall streamlinkproxy

    2. Restart

    3. Install streamlinksrv

    4. Restart

    5. Call a channel like


    #SERVICE 4097:0:1:1389:5:601:C00000:0:0:0:http%3a//127.0.0.1%3a8088/https%3a//zattoo.com/watch/orf-1?zattoo-email=***@***.**&zattoo-password=######&zattoo-stream-types=hls7&hls-live-restart:ORF 1

    #DESCRIPTION ORF 1-tst2


    (i'm in Switzerland)


    6. Change channel to SAT

    7. Restart

    8. Uninstall streamlinksrv

    9. Restart (maybe not necessairy)

    10. Reinstall streamlinkproxy, restart and enjoy


    It seems like streamlinkproxy can't handle hls-stream-restart? Or is there an other solution?