Streamlinkproxy Python3 Only discussion & support

There are 432 replies in this Thread which was already clicked 71,202 times. The last Post () by jeepcook.

  • It would be great if we could use the title as the "Currently Playing" in engima2. So for the example of twitch, it would show the streamer name and the title of their current stream. Not sure how possible this is.

    The original idea of the plugin is to use the original "channelselector" of any image with any skin, which in turn works with the standard bouquet file structure ... The plugin does not have its GUI ...In bouquet files "channel name" is the meaning of #DESCRIPTION directive. So if you consider "Title" as a channel name - you can set it directly in the bouquet. (see examples above)

    If we consider "Title" as a certain name of the currently broadcasted on the channel, then when using standard bouquet files, it is difficult to realize, but it is possible through setting a unique serviceref and adding for this record the corresponding data in eEPGCache... It will be quite a complicated logic and it is hardly worth realizing it in the current ideology of the plugin.

    If add a GUI with its own channel selector to the plugin, it's much easier to implement ... But whether it's worth doing ... I'm not sure yet... The original idea was to avoid using any GUIs and do with the logic of bouquet files.

    if you like it you can make donations

  • It would be great if we could use the title as the "Currently Playing" in engima2. So for the example of twitch, it would show the streamer name and the title of their current stream. Not sure how possible this is.

    The original idea of the plugin is to use the original "channelselector" of any image with any skin, which in turn works with the standard bouquet file structure ... The plugin does not have its GUI ...In bouquet files "channel name" is the meaning of #DESCRIPTION directive. So if you consider "Title" as a channel name - you can set it directly in the bouquet. (see examples above)

    If we consider "Title" as a certain name of the currently broadcasted on the channel, then when using standard bouquet files, it is difficult to realize, but it is possible through setting a unique serviceref and adding for this record the corresponding data in eEPGCache... It will be quite a complicated logic and it is hardly worth realizing it in the current ideology of the plugin.

    If add a GUI with its own channel selector to the plugin, it's much easier to implement ... But whether it's worth doing ... I'm not sure yet... The original idea was to avoid using any GUIs and do with the logic of bouquet files.

    This makes sense. Thanks

  • as pepsin wrote, it works for all images and skins, and this is awesome! Most plugin only works for specific images and skins, very annoying.

    Configuring the channel name in the bouquet is the way to go, I like it. Just my 2 cent...

  • it works for all images and skins

    All the plugins I have written and shared with users work on any image with any version of Python including DreamOS-based ... I think you will be interested in this "toy" - a navigator for previously watched channels and translator of program descriptions from any language into any language directly in the standard Enigma2 windows (EventViev and SecondInfoBar) - RE: History Zap Selector for OpenPli (6.x-9.x) © Dorik1972, you have already tried the bouquet generator for IPTV :zany face: I gave you an example of using it for the playlist of Zattoo service, by the way, it works on any images too

    if you like it you can make donations

  • A new update to the streamlink library has been released. There is nothing particularly critical and everything they updated is already in the version I posted earlier. However, I decided to change the numbering order of StreamLinkProxy plugin version in the future by "unlinking" it from the streamlink library version. Thus, I propose to start numbering the plugin from version 1.0.1 ... in case of updating the streamlink library or the code of the plugin itself, the version index will change in its range independent of and not coinciding with the version of the streamlink library itself ... In the DEBUG log, I will add the output of the used version of the plugin and separately the version of the streamlink library. So it will be more correct and easier to navigate in the changes made + it will be possible to implement a separate ipk-package to install an updated version of the streamlink library without changing the version of the plugin itself ...


    Or don't "bother" and leave it as it is?


    Would love to hear users' opinions on all of the above ... Your thoughts and considerations?

    if you like it you can make donations

  • Not sure for normal users like me (not a coder or Linux expert) it will be of interest to know what SL library is used- The only important thing is that its work.

    For more "hacky" users, probably a relation to the used SL library will be more important.

  • Not sure for normal users

    Two installation packages were meant:

    1) StreamLinkProxy plugin (daemon)

    2) Streamlink library for Enigma2

    If you are installing for the first time, you should install both ... If there are updates, then install only that updated.

    If someone decides to make his version of the proxy or plugin, for example, with GUI or some other "pluses". then it will be possible to use the ready StreamlinkLib package for Enigma2.

    if you like it you can make donations

  • But how the library will be installed? Always from a package coming from you?

    Not always =) For example, OpenATV 7.X has this library on its feed and can be installed ... How often it is updated there, and how "fresh" it is I don't keep track of it

    if you like it you can make donations

  • Hmm... I just installed your plugin w/o installing any SL library (OpenViX 6.4) and it works. It is not included in your installer?

    I didn't post it =) , I just asked a question about the possibility of making two intsalation packages and ... your opinion.

    if you like it you can make donations

  • 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?

  • It seems like

    1) RE: Streamlinkproxy Python3 Only!

    2) RE: Streamlinkproxy Python3 Only!

    3) RE: Streamlinkproxy Python3 Only!

    4) RE: Streamlinkproxy Python3 Only!



    updating streamlink to the newest version

    The latest ver - RE: Streamlinkproxy Python3 Only!



    p.s.

    Code
     streamlinkproxy manualstart DEBUG

    And you and we can stagger what's really going on, not your stories.

    if you like it you can make donations

  • Code
    https://zattoo.com/channels?channel=orf2_europe

    Check this link in any browser ... Does it work? No error with your link as on the screen above ?


    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-stream-types=hls7&zattoo-email=****@***.***&zattoo-password=******&zattoo-purge-credentials=1                                                                               
    #DESCRIPTION ORF 2 Europe 

    And log for HLS stream

    The log for DASH stream

    if you like it you can make donations

  • 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

    Edited once, last by di999 ().

  • Ok, lets see

    All I see in your log. You are using the wrong plugin zattoo.py of the streamlink library... Remove the library you are using /usr/lib/python3.xx/site-packages/streamlink ... Then install the plugin by downloading it from this link - RE: Streamlinkproxy Python3 Only! , using the --force-reinstall parameter, and reboot


    p.s. These lines tell me that the streamlink library you are using does not contain a working zattoo.py module.

    Code
    [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

    Compare how the same thing shows up in the logs I gave you.

    Code
    [plugins.zattoo][debug] Found data for hls
    or
    [plugins.zattoo][debug] Found data for dash

    Do you see the difference?

    if you like it you can make donations

Your resource for Enigma2 IPTV plugins

Discover the best Enigma2 IPTV plugins. Access downloads and dedicated support for integrating live TV streams and video-on-demand services. Find downloads, setup guides, and community support for the latest streaming players and playlist managers.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!