Diskussion zu Wrapper in Open ATV 7.x (Streamlink, YT-DL und YT-DLP)
- azman
- Member
- Beiträge: 70
- Registriert: 10 Jan 2021 21:09
- Receiver 1: SF 8008
- Hat gedankt: 42 Mal
- Hat Dank erhalten: 17 Mal
- Geschlecht:
When using the streamlinkwrapper and switching to a channel whose transmission is not 24 hours a day and currently not broadcast, an appropriate message appears.
And everything would be fine if the entire E2 was not crashing at this point. It does not respond to commands from the remote control, the only way out is to give init4 and init 3 commands via telnet.
This also happens when using ytdlpwrapper.
Will there be a solution to this problem?
Regards
And everything would be fine if the entire E2 was not crashing at this point. It does not respond to commands from the remote control, the only way out is to give init4 and init 3 commands via telnet.
This also happens when using ytdlpwrapper.
Will there be a solution to this problem?
Regards
- Papi2000
- Super Moderator
- Beiträge: 25825
- Registriert: 20 Apr 2013 20:09
- Receiver 1: Viele GigaBlues
- Receiver 2: DM und ZGemma
- Receiver 3: bissl VU
- Hat gedankt: 4483 Mal
- Hat Dank erhalten: 8287 Mal
Thank you. It's not all clear with the logs.
Why do you use AutoBouquetsMaker?
I've never seen a sense in Europe to use it.
But your main error comes after the test, to display a message box.
Did you test the switching to such a channel with the Metrix-atv?
Then i fear, it's a network error - VU and Giga also had comparable such
Those "FatalSignal"-errors mostly are by the driver unhandled network events, that had to be solved by the vendor.
Why do you use AutoBouquetsMaker?
I've never seen a sense in Europe to use it.
But your main error comes after the test, to display a message box.
Did you test the switching to such a channel with the Metrix-atv?
Then i fear, it's a network error - VU and Giga also had comparable such
Code: Alles auswählen
...
19:07:19.4760 /usr/bin/enigma2(_Z17handleFatalSignaliP9siginfo_tPv) [0x754B8]
...
Those "FatalSignal"-errors mostly are by the driver unhandled network events, that had to be solved by the vendor.
- azman
- Member
- Beiträge: 70
- Registriert: 10 Jan 2021 21:09
- Receiver 1: SF 8008
- Hat gedankt: 42 Mal
- Hat Dank erhalten: 17 Mal
- Geschlecht:
AutoBouquetsMaker - removed thanks for the suggestion.
I checked the Matrix skin and it's the same.
But I found a partial solution.
I select a channel and get a message that the channel is not currently live.
I give OK - the message disappears
In the channel selection window, I select one that is definitely live and click OK - nothing happens, I have a channel selection window all the time and whatever I choose and click OK, it does not work and I know that these items are online.
But when instead of OK I use the right arrow, it chews me over the entire page in the channel selection list and surprisingly, the channel is automatically turned on, which is as if it is highlighted for selection / confirmation on this page.
It's not comfortable, but at least E2 doesn't freeze
I hope the team will find time to solve this problem.
I checked the Matrix skin and it's the same.
But I found a partial solution.
I select a channel and get a message that the channel is not currently live.
I give OK - the message disappears
In the channel selection window, I select one that is definitely live and click OK - nothing happens, I have a channel selection window all the time and whatever I choose and click OK, it does not work and I know that these items are online.
But when instead of OK I use the right arrow, it chews me over the entire page in the channel selection list and surprisingly, the channel is automatically turned on, which is as if it is highlighted for selection / confirmation on this page.
It's not comfortable, but at least E2 doesn't freeze
I hope the team will find time to solve this problem.
-
- VIP
- Beiträge: 1532
- Registriert: 20 Dez 2016 10:06
- Hat gedankt: 399 Mal
- Hat Dank erhalten: 824 Mal
You may try this ChannelSelection.py.
It belongs to /usr/lib/enigma2/python/Screens/. Make a backup of your ChannelSelection.py.
This change is to be discussed with the main devs.
If you can please check time shift with a normal and a iptv channel and switching to the offline channel.
I test with
EDIT
The following packages are installed via command line
Box is a sf8008 with OpenATV 7.1.
It belongs to /usr/lib/enigma2/python/Screens/. Make a backup of your ChannelSelection.py.
This change is to be discussed with the main devs.
If you can please check time shift with a normal and a iptv channel and switching to the offline channel.
I test with
Code: Alles auswählen
#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088/https%3a//www.youtube.com/watch?v=99fcbgyC1uE:[streamlinksrv] First SDA Church Of Teaneck
#SERVICE 4097:0:1:0:0:0:0:0:0:0:streamlink%3a//https%3a//www.youtube.com/watch?v=99fcbgyC1uE:[streamlink] First SDA Church Of Teaneck
#SERVICE 4097:0:1:0:0:0:0:0:0:0:YT-DL%3a//https%3a//www.youtube.com/watch?v=99fcbgyC1uE:[youtube-dl] First SDA Church Of Teaneck
#SERVICE 4097:0:1:0:0:0:0:0:0:0:YT-DLP%3a//https%3a//www.youtube.com/watch?v=99fcbgyC1uE:[yt-dlp] First SDA Church Of Teaneck
EDIT
The following packages are installed via command line
Code: Alles auswählen
streamlinksrv
enigma2-plugin-extensions-streamlinkwrapper
enigma2-plugin-extensions-ytdlpwrapper
python3-yt-dlp
enigma2-plugin-extensions-ytdlwrapper
python3-youtube-dl
Box is a sf8008 with OpenATV 7.1.
- azman
- Member
- Beiträge: 70
- Registriert: 10 Jan 2021 21:09
- Receiver 1: SF 8008
- Hat gedankt: 42 Mal
- Hat Dank erhalten: 17 Mal
- Geschlecht:
Hi @4l3x2k
I tested this indicated ChannelSelection.py file.
I checked the above links and it now works as it should.
It indicates one of the channels, a message appears, I give OK disappears, then the down arrow to bring up the window with the channel list, I select another one that is online and the switch is made.
I go back to the next channel, for example, I get a message, give it ok, call up the channel list, switch to another one and everything is fine.
Thank you
I tested this indicated ChannelSelection.py file.
I checked the above links and it now works as it should.
It indicates one of the channels, a message appears, I give OK disappears, then the down arrow to bring up the window with the channel list, I select another one that is online and the switch is made.
I go back to the next channel, for example, I get a message, give it ok, call up the channel list, switch to another one and everything is fine.
Thank you
- azman
- Member
- Beiträge: 70
- Registriert: 10 Jan 2021 21:09
- Receiver 1: SF 8008
- Hat gedankt: 42 Mal
- Hat Dank erhalten: 17 Mal
- Geschlecht:
Hello
I have another question for you.
When I use streamlink server (streamlinksrv) I have no problem recording the stream.
On the other hand, when I use streamlinkwrapper, the stream is not recorded even though it indicates in the channel list and in the skin that recording has started.
The following files are saved in the "movie" directory.
tested link
[HTML]streamlink://https://tvpstream.vod.tvp.pl/?channel_id=47093982
http://127.0.0.1:8088/https://tvpstream ... d=47093982[/HTML]
The question is as follows:
1. Do we have the option to record a stream when using wrappers?
2. If there is no such possibility, will such functionality for wrappers appear in the near future?
I have another question for you.
When I use streamlink server (streamlinksrv) I have no problem recording the stream.
On the other hand, when I use streamlinkwrapper, the stream is not recorded even though it indicates in the channel list and in the skin that recording has started.
The following files are saved in the "movie" directory.
tested link
[HTML]streamlink://https://tvpstream.vod.tvp.pl/?channel_id=47093982
http://127.0.0.1:8088/https://tvpstream ... d=47093982[/HTML]
The question is as follows:
1. Do we have the option to record a stream when using wrappers?
2. If there is no such possibility, will such functionality for wrappers appear in the near future?
-
- VIP
- Beiträge: 1532
- Registriert: 20 Dez 2016 10:06
- Hat gedankt: 399 Mal
- Hat Dank erhalten: 824 Mal
I can confirm that issue.
The debug log contains
Look like the servicemp3record does not respect the alternative url like servicemp3 does.
I think it should work like with any other internet stream but the alternative url needs to be added to servicemp3record.
The debug log contains
Code: Alles auswählen
22:56:26.6147 [eMP3ServiceRecord] prepare filename /media/hdd/movie/20220812 2256 - [streamlink] PUTINS KRIEG - WELT Nachrichtensender - instant record.stream
22:56:26.6148 [eMP3ServiceRecord] doPrepare uri=streamlink://https://www.youtube.com/watch?v=75yfRRUM_Bs
22:56:26.6496 [eMP3ServiceRecord] doRecord error cannot set pipeline to state_playing
22:56:26.6686 [eServiceMP3Record] gstBusCall Gstreamer error: No URI handler implemented for "streamlink". (12) from uridec
Look like the servicemp3record does not respect the alternative url like servicemp3 does.
I think it should work like with any other internet stream but the alternative url needs to be added to servicemp3record.
-
- VIP
- Beiträge: 1532
- Registriert: 20 Dez 2016 10:06
- Hat gedankt: 399 Mal
- Hat Dank erhalten: 824 Mal
The alternative url has been added to servicemp3record.
[eServiceMP3Record] add alternativeurl handling like eServiceMP3 . openatv/enigma2@31ea372 . GitHub
Should be available tomorrow evening.
[eServiceMP3Record] add alternativeurl handling like eServiceMP3 . openatv/enigma2@31ea372 . GitHub
Should be available tomorrow evening.
-
- VIP
- Beiträge: 1532
- Registriert: 20 Dez 2016 10:06
- Hat gedankt: 399 Mal
- Hat Dank erhalten: 824 Mal
4l3x2k hat geschrieben:You may try this ChannelSelection.py.
It belongs to /usr/lib/enigma2/python/Screens/. Make a backup of your ChannelSelection.py.
This change is to be discussed with the main devs.
If you can please check time shift with a normal and a iptv channel and switching to the offline channel.
I test withCode: Alles auswählen
#SERVICE 4097:0:1:0:0:0:0:0:0:0:http%3a//127.0.0.1%3a8088/https%3a//www.youtube.com/watch?v=99fcbgyC1uE:[streamlinksrv] First SDA Church Of Teaneck
#SERVICE 4097:0:1:0:0:0:0:0:0:0:streamlink%3a//https%3a//www.youtube.com/watch?v=99fcbgyC1uE:[streamlink] First SDA Church Of Teaneck
#SERVICE 4097:0:1:0:0:0:0:0:0:0:YT-DL%3a//https%3a//www.youtube.com/watch?v=99fcbgyC1uE:[youtube-dl] First SDA Church Of Teaneck
#SERVICE 4097:0:1:0:0:0:0:0:0:0:YT-DLP%3a//https%3a//www.youtube.com/watch?v=99fcbgyC1uE:[yt-dlp] First SDA Church Of Teaneck
EDIT
The following packages are installed via command lineCode: Alles auswählen
streamlinksrv
enigma2-plugin-extensions-streamlinkwrapper
enigma2-plugin-extensions-ytdlpwrapper
python3-yt-dlp
enigma2-plugin-extensions-ytdlwrapper
python3-youtube-dl
Box is a sf8008 with OpenATV 7.1.
THIS will not be available with next update.
It has been tested with success, but we are not able to explain why that is.
So this error may still remain with any new image or updates.
-
- VIP
- Beiträge: 1532
- Registriert: 20 Dez 2016 10:06
- Hat gedankt: 399 Mal
- Hat Dank erhalten: 824 Mal
That is right.
We do not know why this message box is messing up the session.
The last posted channelselection may work but we do not really know why and it does not work for everyone.
You need to update the channelselection file manually at the moment.
This is not what we want as you miss any updates to channelselection or need to fiddle it after every update.
We do not know why this message box is messing up the session.
The last posted channelselection may work but we do not really know why and it does not work for everyone.
You need to update the channelselection file manually at the moment.
This is not what we want as you miss any updates to channelselection or need to fiddle it after every update.
-
- Beginners
- Beiträge: 16
- Registriert: 29 Jul 2013 20:47
- Hat gedankt: 10 Mal
- Hat Dank erhalten: 8 Mal
Currently there is a problem with youtube. However problem has been identified for example discussion here. Youtube Error "Unable to extract uploader id" in every video . Issue #6247 . yt-dlp/yt-dlp . GitHub
I notice that yt-dlp can be use as a binary, and those usually getting patched version before main repo.
However we have package python3-yt-dlp that is using python.
Before checking anything I did the update from feed. There is a version 2023.01.06-git21419+37e325b-r0 (in 7.1 image), so after verifying in github is 25.01, no specific reason so I assume is pinned manually to that release as strealink use to be.
So python version directly from main repo, where fix is already included, is a solution for now till feed package will get an update.
And an extra question: is python faster than binary in this use case or doesn't that matter? (In usage experience to clarify )
I notice that yt-dlp can be use as a binary, and those usually getting patched version before main repo.
However we have package python3-yt-dlp that is using python.
Before checking anything I did the update from feed. There is a version 2023.01.06-git21419+37e325b-r0 (in 7.1 image), so after verifying in github is 25.01, no specific reason so I assume is pinned manually to that release as strealink use to be.
So python version directly from main repo, where fix is already included, is a solution for now till feed package will get an update.
And an extra question: is python faster than binary in this use case or doesn't that matter? (In usage experience to clarify )
-
- Beginners
- Beiträge: 16
- Registriert: 29 Jul 2013 20:47
- Hat gedankt: 10 Mal
- Hat Dank erhalten: 8 Mal
Yes I can tell you. I you don't want to wait for feed update then preform following actions.
From github repository download https://github.com/yt-dlp/yt-dlp/archive/refs/heads/master.zip
Inside archive is a directory "yt_dlp" which need to be extracted and copied to box, other files are irrelevent.
On the box path to directory
/usr/lib/pythonX.XX/site-packages/yt_dlp
Where XX is python version depends on your image, 3.10 for 7.1
To be safe rename current directory on box e.g. yt_dlp.old (to avoid overwrite and mixing file)
Copy selected direcotry from archive to box path and restart box.
YT-DLP: wrapper works again
From github repository download https://github.com/yt-dlp/yt-dlp/archive/refs/heads/master.zip
Inside archive is a directory "yt_dlp" which need to be extracted and copied to box, other files are irrelevent.
On the box path to directory
/usr/lib/pythonX.XX/site-packages/yt_dlp
Where XX is python version depends on your image, 3.10 for 7.1
To be safe rename current directory on box e.g. yt_dlp.old (to avoid overwrite and mixing file)
Copy selected direcotry from archive to box path and restart box.
YT-DLP: wrapper works again