openatv / enigma2

openatv-gui
GNU General Public License v2.0
200 stars 315 forks source link

SubServices: Allow streamlink protocol #3253

Closed jeepcook closed 8 months ago

jeepcook commented 8 months ago

Hello,

Streamlinkwrapper (enigma2-plugin-extensions-streamlinkwrapper), allow to use directly streamlink protocol instead of using internal webserver. It works great as service but doesn't work as subservice.

Example with France TV Info: 4097:0:1:8C90:CE56:D596:DDDD0000:0:0:0:streamlink%3a//https%3a//www.youtube.com/watch?v=Z-Nwo-ypKtM:FRANCEINFO IPTV YT --> is working as a service but not as subservice:

FRANCEINFO

5002:0:1:8C90:CE56:D596:DDDD0000:0:0:0:http%3a//localhost%3a8088/https%3a//www.france.tv/franceinfo/direct.html:FRANCEINFO IPTV FTV 4097:0:1:8C90:CE56:D596:DDDD0000:0:0:0:streamlink%3a//https%3a//www.youtube.com/watch?v=Z-Nwo-ypKtM:FRANCEINFO IPTV YT --> black screen on the second subservice

I think that only http(s) protocol is allowed.

The advantage of streamlinkwrapper is it is very faster than internal webserver (htp://localhost:8088)

OpenATV 7.3 / 7.4 SF8008

Thanks

jbleyel commented 8 months ago

Please try this: InfoBarGenerics.py.zip

jeepcook commented 8 months ago

Hello,

Tried but I have a crash, see the log. The subservices is : 5002:0:1:8C90:CE56:D596:DDDD0000:0:0:0:streamlink%3a//https%3a//www.youtube.com/watch?v=Z-Nwo-ypKtM:FRANCEINFO IPTV YT 20240224-111853-enigma2-crash.log

jbleyel commented 8 months ago

Please try again. InfoBarGenerics.py.zip

jeepcook commented 8 months ago

I confirm now it's working. Thanks

jeepcook commented 8 months ago

Thanks for this commit.

jeepcook commented 8 months ago

Hi @jbleyel

About this commit, blue button function has been changed, now simple press display "choose an extension" 5002_0_1_BB6F_F1E_D596_DDDD0000_0_0_0_20240225085548

instead of this one now enabled by long press blue button . 5002_0_1_BB6F_F1E_D596_DDDD0000_0_0_0_20240225090538

jbleyel commented 8 months ago

That’s nearly impossible. You may have changed the blue button settings.

jeepcook commented 8 months ago

No changes for these buttons: config.misc.ButtonSetup.f1=Module/Screens.Information/ServiceInformation config.misc.ButtonSetup.red=Module/Screens.PluginBrowser/PluginBrowser 4097_0_1_4E83_9FE_4DBB_DDDD0000_0_0_0_20240225093556 4097_0_1_4E83_9FE_4DBB_DDDD0000_0_0_0_20240225093539

jbleyel commented 8 months ago
config.workaround.blueswitch = ConfigSelection(default=0, choices=[
    (0, _("QuickMenu/Extensions")),
    (1, _("Extensions/QuickMenu"))
])
jbleyel commented 8 months ago
    <item level="0" text="BLUE switch: BLUE/BLUE long" description="Switch BLUE short (QuickMenu) with BLUE long (Extension Menu).">config.workaround.blueswitch</item>
jeepcook commented 8 months ago

Have I to do something with these lines?

jbleyel commented 8 months ago

Have I to do something with these lines?

No .. this is the setting to define the blue button action.

jeepcook commented 7 months ago

Hello @jbleyel ,

Is see this ticket is closed. Has this update been commited to 7.4 branch? With the blue button fix?

Thanks

jbleyel commented 7 months ago

What you mean? There is no blue button fix because there is no issue with that. Or do I miss something?

jeepcook commented 7 months ago

This update was to implement streamlink:// in subservices. And with your InfoBarGenerics.py patch we can now select a subservice using streamlink. But during the test I tell you that this has an effect on the blue button which lost its native action.

See previous messages.

jbleyel commented 7 months ago

This commit cannot have any effect on the blue button-> https://github.com/openatv/enigma2/commit/9bd598c0d8de837c893b448aaec61d478b2422c0

There must be something else.

jbleyel commented 7 months ago

Please check this setting:

config.workaround.blueswitch

jeepcook commented 7 months ago

I don't have config.workaround.blueswitch in my /etc/enigma2/settings file. Note if I don't use the InfoBarGenerics.py patch the blue button is ok.

jbleyel commented 7 months ago

I cannot reproduce this on my box. I have the new InfoBarGenerics.py and no config.workaround.blueswitch in my settings.

Blue short -> QuickMenu Blue Long -> Extensions Menu

jbleyel commented 7 months ago

Do you have 7.4 + Devel feed or only 7.4?

jeepcook commented 7 months ago

Only 7.4.

But I think that Blue short has to point to this screen, or not? image

jeepcook commented 7 months ago

But I have this one image

GhostofGeeeee commented 7 months ago

Note if I don't use the InfoBarGenerics.py patch the blue button is ok.

You can compare these files! with patch without patch

I don't have config.workaround.blueswitch in my /etc/enigma2/settings file.

then: short -> QuickMenu long -> ExtensionMenu

else: short -> ExtensionMenu long -> QuickMenu

jbleyel commented 7 months ago

Please wait a few days. There is a big update for 7.4 coming soon.

jbleyel commented 7 months ago

Or you use this: InfoBarGenerics.py.zip

jeepcook commented 7 months ago

Or you use this: InfoBarGenerics.py.zip

ok and will this version be commited ?

jbleyel commented 7 months ago

No. That’s a special version only for you because you have not the devel feed.

jeepcook commented 7 months ago

So I have to patch InfoBarGenerics.py until 7.5 is out?

jbleyel commented 7 months ago

So I have to patch InfoBarGenerics.py until 7.5 is out?

No 7.4 release.

jeepcook commented 7 months ago

So I have to patch InfoBarGenerics.py until 7.5 is out?

No 7.4 release.

Oh yes I forgot 7.4 is in beta version. Thanks

jeepcook commented 7 months ago

Please wait a few days. There is a big update for 7.4 coming soon.

Update for streamlink is now commited on 7.4 Beta version. Thanks. But it wasn't a big 7.4 update.

jbleyel commented 7 months ago

The big update is not finished. That’s why we have splited.