Streamlinkproxy Python3 Only discussion & support

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

  • Thanks for your work. I think you have to create a support thread for this plugin.


    1st message for this thread.


    I'm on OATV 7.3 30 june 2023 and the installation is failed:


    Code
    root@sf8008:/tmp# opkg install enigma2-plugin-extensions-streamlinkproxy_5.5.1_all.ipk
    Installing enigma2-plugin-extensions-streamlinkproxy (5.5.1) on root.
    Configuring enigma2-plugin-extensions-streamlinkproxy.
    
    Streamlinkproxy plugin for Python3-based images only! 😪
     * pkg_run_script: package "enigma2-plugin-extensions-streamlinkproxy" postinst script returned status 1.
     * opkg_configure: enigma2-plugin-extensions-streamlinkproxy.postinst returned 1.
    Code
    root@sf8008:/tmp# python --version
    Python 3.11.2
  • Streamlinkproxy plugin for Python3-based images only!

    Due to the absence of the bc utility on the receivers, I had to use this construct to determine the valid python versions

    Code
    pyver=$(python -V | cut -d' ' -f2)
    
    if awk "BEGIN {exit !(${pyver%.*} < 3.8)}"; then
        echo -e "\n${LRED}${PluginName} plugin for Python3-based images only!${NC} \U0001F62A"
        exit 1
    fi

    Give the following commands in the terminal and show the output

    Code
    pyver=$(python -V | cut -d' ' -f2)
    echo ${pyver%.*}

    if you like it you can make donations

  • Due to the absence of the bc utility on the receivers, I had to use this construct to determine the valid python versions

    Code
    pyver=$(python -V | cut -d' ' -f2)
    
    if awk "BEGIN {exit !(${pyver%.*} < 3.8)}"; then
        echo -e "\n${LRED}${PluginName} plugin for Python3-based images only!${NC} \U0001F62A"
        exit 1
    fi

    Give the following command in the terminal and show the output

    Code
    echo $(python -V | cut -d' ' -f2)
    Code
    root@sf8008:/tmp# echo $(python -V | cut -d' ' -f2)
    3.11.2

    bc is installed on my box

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

    Edited once, last by jeepcook ().

  • Happy for you =). But your box is not decisive and I have to rely on the worst case, namely that it does not exist

    3.11.2

    TWO COMMANDS, please

    Code
    pyver=$(python -V | cut -d' ' -f2)
    echo ${pyver%.*}


    You edited your post so I didn't see the second one !

    Code
    root@sf8008:/tmp# pyver=$(python -V | cut -d' ' -f2)
    root@sf8008:/tmp# echo ${pyver%.*}
    3.11

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

  • Will do now a lot of new tests.

    99% of these will be streamlink "library" tests =) ...


    I will most likely add a settings menu to the plugin that will allow you to change the basic parameters for streamlink ... I need to play around with the ffmpeg options a little more ...

    if you like it you can make donations

  • First impression, it's cool to have the way now to add direct links for some channels (like live youtube channels, France Television Channels ....)


    Few questions:

    - for a provider, we enabled the proxy for all streams in e2m3u2b. But in fact this will disabled the access on some other streams (proxy forbidden). An idea, perhaps a new tag to enable or disable proxy in the sort override file.

    - for some streams, plugins are necessary. How to configure the directory of them in the stream (or in the streamproxy configuration)

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

  • First impression, it's cool to have the way now to add direct links for some channels (like live youtube channels, France Television Channels ....)


    - for a provider, we enabled the proxy for all streams in e2m3u2b. But in fact this will disabled the access on some other streams (proxy forbidden). An idea, perhaps a new tag to enable or disable proxy in the sort override file.

    I answer to myself. The prox is started, so the solution is to disable "Use streamlink proxy for broadcasts" in provider card and to configure individual streams with the prefix http://localhost:8088:/

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

    Edited once, last by jeepcook ().

  • A feedback. Not so simple to implement because of the variety of streams.


    For YouTube direct streams, no problems.


    For France Television channels (1080p 25fps streams):

    "https://www.france.tv/france-2/direct.html"

    "https://www.france.tv/france-3/direct.html"

    "https://www.france.tv/france-4/direct.html"

    "https://www.france.tv/france-5/direct.html"

    "https://www.france.tv/franceinfo/direct.html"


    Gstreamer: sound and video are desynchronized

    GstPlayer: sound and video are ok, but after few minutes there is a failed stream (blackscreen), relanch by quarterpounder

    Exteplayer3: the more stable player for these streams, sound and videos are synchronized, no blackscreen for now.


    So a promising project ;-)


    Edit: Zapping from a "proxy" stream to another generate a sound/video desynchronization. The solution is to zap to a normal stream and back to the "proxy" one and everything is ok. :upside down face:

    Octagon SF8008 IPTV / DVB-S2X / DVB-C / T2

    OpenATV multiboot 7.5.1 / 7.6

    Edited 3 times, last by jeepcook ().

  • Sorry, I do not understand. What should I do?

    It's a little unclear what do you want to get from the plugin? It is designed to get links to Live videos from web pages of various video hosting sites... such as YouTube, Vimeo, Twigle e.t.c. The full list can be found here - https://streamlink.github.io/plugins.html


    An example playlist and links can be downloaded from the RE: [Plugin] E2m3u2bouquet branch

    if you like it you can make donations

  • The trouble is, how to see it.

    What's the point of seeing it? You are not embarrassed that you have about 40-50 processes "spinning" in the background on a linux-based system and you do not see them ...


    Not really a plugin but a daemon. Just do a ps -ef and you will see it.

    Here is the one you quite clearly answered how to see the "hidden" processes =)

    if you like it you can make donations

  • bc is installed on my box

    Happy for you =). But your box is not decisive and I have to rely on the worst case, namely that it does not exist

    bc is a nice tool, however not on every image. I experience that recently. So to rely on bc is not a good solution, especially because there is no package in feed, so adding dependencies to install will not work.



    Streamlinkproxy in standalone usage looks like an alternative to streamlinksrv so I will be comparing those two. Default port is the same 8088.


    Zapping works the same, no noticeable speed difference. Unfortunately it doesn’t read streamlink configuration files and that very much limits functionality and rules out its use as an replacement at the moment. Nice error video. Some minor things like loglevel cannot be changed and playback with 4097 don’t work in cases when streamlinksrv works (youtube live is an example). I tried different boxes and result the same. 5002 is best to use here. Anyway didn’t found any advantages, maybe some specific host that I didn’t tried. I don't use E2m3u2bouquet so I can say nothing about that.

    Edited once, last by rpl ().

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!