Streamlinkproxy Python3 Only!

There are 266 replies in this Thread which was already clicked 27,948 times. The last Post () by pepsik.

  • works like a charme!!!

    Don't forget to inform about this easy solution "experts"-advisors from the forum where you took tips on setting up... Otherwise, they will be there for another 10 years composing a "bicycle" and writing EPG by hand -

    Zattoo, Wilmaa und Co. Anzeige in der Kanalliste der Vu+ - Vu+ Support Forum
    Ich habe ein userbouquet von zattoo erstellt, ihr müsst noch e-mail und pass ohne '' eigeben. sind noch nicht alle sender hr und welt der wunder und k-tv habe…
    vuplus-support.org


    p.s. I would "lecture" there myself, but my German is far from perfect

    :beaming face with smiling eyes:

  • Yesterday I made a program recording and then play it. FWD is working just max 4x, REV doesn't work at all. Title is strange compared to a Cable or SAT recored title. Any idea on why FWD and REV is not working? Is this a question about the file type? Just trying to understand the behavior.


    Regarding the Timeshift not working, I think to understood why DVB-C/S/T is using its internal frame buffer (/lib/dvb/frontend.cpp) to view the live TV, IPTV is just a digital stream that requires a player such as ffmpeg or gstreamer. In order to use Timeshift in theory it must be decoded, handled and processed like a DVB signal in ordert o use Timeshift. Is this assumption correct?

  • How can I watch the channels here?

    https://kick.com/

    Your question has nothing to do with this topic....You have two choices.

    1) Use a web browser on your computer

    2) Write a request to create a plugin for this resource on the forum of streamlink library developers.


    The list of currently supported video services is as follows - https://streamlink.github.io/plugins.html


    p.s. There is already a ready answer to your question on the developers thread - https://github.com/streamlink/streamlink/discussions/5580 , hence the answer to your question in point 1) above

  • question - is it possible to define quality for Twitch?

    Nothing is impossible if you set a goal ... The proxy itself generates a list of available Enigma2-specific stream permissions and does not use "best" or any "_alt" offered by the streamlink library ... I will add this functionality as a parameter (--default-stream) to the link in the bouquet. It will work with any plugin, not just Twitch ..... If you set a non-existing or unavailable resolution for the video, then the best resolution from the streamlink library will be selected.

    For example

    Code
    http://localhost:8088/https://www.twitch.tv/mrlabr?twitch-disable-ads=1&twitch-low-latency=1&default-stream=720p

    I don't see the point of specifying a list ... It's easier to specify a specific resolution you need for the stream.

  • UPDATE

    6.5.3.


    Added parameter processing to select the desired video stream quality. Set as a value for the "default-stream" parameter. Allowable values: 144p, 256p, 576p, 720p, 1080p, 720p60, etc. (the list of available broadcasts is output to the log in DEBUG mode on 'manualstart').


    In case the requested resource does not have the quality of the stream specified by you in the "default-stream" parameter or this parameter is not specified, the best of the existing ones will be selected from the offered ones.


    For example

    In this case, a stream with a quality of 720p will be selected

    Code
    #SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//localhost%3a8088/https%3a//www.youtube.com/watch?v=JpTL53Su4U8&default-stream=720p                    
    #DESCRIPTION Прямий (youtube) 

    In this case, a stream with a quality of 1080p will be selected

    Code
    #SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//localhost%3a8088/https%3a//www.youtube.com/watch?v=JpTL53Su4U8&default-stream=1080p                    
    #DESCRIPTION Прямий (youtube) 

    In this case, the best of the existing ones will be selected

    Code
    #SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//localhost%3a8088/https%3a//www.youtube.com/watch?v=JpTL53Su4U8    
    #DESCRIPTION Прямий (youtube) 


    Enjoy!

  • Thank you! An unbelievably quick turnaround!


    Strangely, when I try this with a twitch link, it loads a testcard, but not the stream. I've tried a few different resolutions, including the "worst" they show in their docs, but no luck yet.

  • Strangely, when I try this with a twitch link, it loads a testcard, but not the stream.

    Code
    streamlinkproxy manualstart DEBUG

    Then run any broadcast and look at the log. There you will see the reason for the lack of video streaming.


    p.s. Decided to test twitch ... Selected a broadcast on their site, for example a Dota2 player ... Created an entry in the bouquet with the parameter default-stream=480p

    Code
    #SERVICE 5002:0:1:0:0:0:0:0:0:0:http%3a//localhost%3a8088/https%3a//www.twitch.tv/dota2mc_ua?default-stream=480p                       
    #DESCRIPTION Dota (twitch) 

    I've switched to this channel.

    Снимок экрана 2024-01-14 в 07.10.11.png


    Also, it should be understood that the source can give information about the fact that stirm in 720p, but there may be 1080 ... As an example, the broadcast twitch on the screen above. In the list of available "qualities" selected 480p, but in fact =) can be seen on the screen.

  • I have added the output in the DEBUG log information about detected steams by the streamlink library plugin ... Example of how it looks below

    Code
    [streamlink][info] Sun Jan 14 07:19:41 2024 StreamLink server started - :8088
    127.0.0.1 - - [14/Jan/2024 07:20:02] "GET /https://www.twitch.tv/dota2mc_ua?default-stream=480p HTTP/1.1" 200 -
    [plugins.twitch][debug] Getting live HLS streams for dota2mc_ua
    [plugins.twitch][debug] {'adblock': False, 'geoblock_reason': '', 'hide_ads': False, 'server_ads': True, 'show_ads': True}
    [utils.l10n][debug] Language code: en_GB
    [streamlink][debug] TWITCH plugin found sreams: ['160p', '360p', '480p', '720p60', '1080p60']

    This may be useful for those who use the "default-stream" parameter to understand which streams are available for selection


    Re-download the ipk-package a few posts above and install it with the '--force-reninstall' parameter

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

  • 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

Participate now!

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