The link works on enigma2 see my screenshot.
To dot the "i" ...
The OpenATV development team has integrated this wrapper ("recipient of video links") of various video services - https://streamlink.github.io/ ... They call it LiveTV
The serviceref entry you provided as an example for live-channel from youtube will only work on 4097 reftype, because in the "integration" of the streamlink wrapper, the OpenATV development team adapted exactly the built-in gstreamer "player" ... For this to work with any other reftype (5001 or 5002), need to rewrite their code to support "pipeline" and it is unlikely that the OpenATV team will do this
The logic of working with this type of record is exactly the same as I described. Based on the analysis of the link, the streamlink wrapper "pulls out" the link to the video from it and gives it to the player ... All this can be seen in the log, which I wrote to you about earlier. Moreover, compare the link to the video from the log with the one I gave you earlier
07:43:20.1083 [gRC] Warning: Main thread is busy, displaying spinner!
07:43:20.7116 [ChannelSelection] zap / streamlink result url https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1687603399/ei/Z3SWZNb_LMGCyAX82pPwBQ/ip/YOUR_IP/id/gxG3pdKvlIs.4/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/rr2---sn-3tp8nu5g-3c2s.googlevideo.com/playlist_duration/30/manifest_duration/30/spc/qEK7Bx_XVNeKA_G-gJEwrQ_tutzUN6Fy1DxZQIWjPw/vprv/1/playlist_type/DVR/initcwndbps/605000/mh/UO/mm/44/mn/sn-3tp8nu5g-3c2s/ms/lva/mv/m/mvi/2/pl/21/dover/11/pacing/0/keepalive/yes/fexp/24007246,51000023/mt/1687581405/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,spc,vprv,playlist_type/sig/AOq0QJ8wRgIhAN1wpq2JY_zrJugxnfuue2ZBusS7TT1hEx6KnTyfhTRJAiEAgfK0dFFGINe-RUtaFHRLgiRyZj2RjRgIuW5Q0N6CTjk%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRQIgcM0KcfpM8R8EVFEmZfIFFXx9BVIzVIPvko4FjGnAz34CIQCfEc5ebfoZkoZP9I0sN_iXvtmEuhYv9NUekCx0WPRVuw%3D%3D/playlist/index.m3u8
07:43:20.7120 [Navigation] playing ref 4097:0:1:0:0:0:0:0:0:0:streamlink%3a//https%3a//www.youtube.com/watch?v=gxG3pdKvlIs:FRANCE 24 FR
07:43:20.7162 [eServiceFactoryMP3] **** dvb_audiosink created ***
07:43:20.7178 [eServiceFactoryMP3] **** dvb_videosink created ***
07:43:20.7190 [eServiceFactoryMP3] **** dvb_subsink created ***
07:43:20.7191 [eServiceFactoryMP3] ****new play service total services played is 1****
07:43:20.7193 [eServiceMP3] playbin uri=https://manifest.googlevideo.com/api/manifest/hls_playlist/expire/1687603399/ei/Z3SWZNb_LMGCyAX82pPwBQ/ip/YOUR_IP/id/gxG3pdKvlIs.4/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/rr2---sn-3tp8nu5g-3c2s.googlevideo.com/playlist_duration/30/manifest_duration/30/spc/qEK7Bx_XVNeKA_G-gJEwrQ_tutzUN6Fy1DxZQIWjPw/vprv/1/playlist_type/DVR/initcwndbps/605000/mh/UO/mm/44/mn/sn-3tp8nu5g-3c2s/ms/lva/mv/m/mvi/2/pl/21/dover/11/pacing/0/keepalive/yes/fexp/24007246,51000023/mt/1687581405/sparams/expire,ei,ip,id,itag,source,requiressl,ratebypass,live,sgoap,sgovp,playlist_duration,manifest_duration,spc,vprv,playlist_type/sig/AOq0QJ8wRgIhAN1wpq2JY_zrJugxnfuue2ZBusS7TT1hEx6KnTyfhTRJAiEAgfK0dFFGINe-RUtaFHRLgiRyZj2RjRgIuW5Q0N6CTjk%3D/lsparams/hls_chunk_host,initcwndbps,mh,mm,mn,ms,mv,mvi,pl/lsig/AG3C_xAwRQIgcM0KcfpM8R8EVFEmZfIFFXx9BVIzVIPvko4FjGnAz34CIQCfEc5ebfoZkoZP9I0sN_iXvtmEuhYv9NUekCx0WPRVuw%3D%3D/playlist/index.m3u8
07:43:20.7230 [eServiceMP3] *** starting pipeline ****
This solution for this kind of serviceref records is only on OpenATV and nowhere else. Judging by the fact that the source texts https://streamlink.github.io/plugins.html… are used, then, in theory, all supported video services of this wrapper should be available, and not just youtube ...
Below is a log of work with one of the services supported by the streamlink project
Itv_lsm_lv
08:15:43.3932 [ChannelSelection] zap / streamlink result url https://ltvlive2167.cloudycdn.services/ltvlive/_definst_/ltvlive_ltv07_ltv7_g_eb0_43187_default_1327_hls.smil/chunklist_b5128000_t64MTA4MHA=.m3u8?eitmE9V6w06u1MGpcm1062_tJM2Km7a8pVxfMaAI9h6oHmbIG8jN-BcIXh4u7S3tHRN0kvZkk7ThLlTHLxWWGuHX9uR9-glmpujy6NDyk2QiKJLlE0xfzHccYd1UTVQIYeR-hN6omBVmlQoqdRdNXkOt9O13W3J0pj5mUiXgqQRkMz9QFyoQsZeF5rB78NEgBqf2xU4MwIOrcJhZZGN1JA
08:15:43.3938 [Navigation] playing ref 4097:0:1:0:0:0:0:0:0:0:streamlink%3a//https%3a//ltv.lsm.lv/lv/tiesraide/ltv7:LTV 7
08:15:43.3942 [eServiceMP3] stop streamlink://https://www.youtube.com/watch?v=gxG3pdKvlIs
08:15:43.3944 [eServiceMP3] stop state:PLAYING pending:VOID_PENDING ret:SUCCESS
08:15:43.4623 [eServiceMP3] **** TO NULL state:NULL pending:VOID_PENDING ret:SUCCESS ****
08:15:43.4650 [eServiceMP3] **** PIPELINE DESTRUCTED ****
08:15:43.4697 [eServiceFactoryMP3] ****new play service total services played is 2****
08:15:43.4700 [eServiceMP3] playbin uri=https://ltvlive2167.cloudycdn.services/ltvlive/_definst_/ltvlive_ltv07_ltv7_g_eb0_43187_default_1327_hls.smil/chunklist_b5128000_t64MTA4MHA=.m3u8?eitmE9V6w06u1MGpcm1062_tJM2Km7a8pVxfMaAI9h6oHmbIG8jN-BcIXh4u7S3tHRN0kvZkk7ThLlTHLxWWGuHX9uR9-glmpujy6NDyk2QiKJLlE0xfzHccYd1UTVQIYeR-hN6omBVmlQoqdRdNXkOt9O13W3J0pj5mUiXgqQRkMz9QFyoQsZeF5rB78NEgBqf2xU4MwIOrcJhZZGN1JA
08:15:43.4706 [eServiceMP3] *** starting pipeline ****
Twitch
08:46:18.8809 [ChannelSelection] zap / streamlink result url https://video-weaver.vie02.hls.ttvnw.net/v1/playlist/Ct4EywYkDmX_nJQGn_sxyd7N5C2Bzu-70gnSB-UNOzO-b1urs2NN4fJp2pqIvIGVGauA6LvqWUgGiHIerKHI6Y913GIbfYKHfNNfyZ7RaAMQMtzWBk7sHWJuqx1PpmS0X4DMRv1aG5FE6rMWX4azwDYDytR2e93WlkdA-piPqfNbogyYdU5rjvaOETkkLMWSwcGzXBEnRP8PF-Sowvw7WoP6deewbfvOiqP0JqgyrrE43Y8Gonbvj9atM-sNYI_PhrHgd_0czSSSFFDViP4HrKJ4ZRAjtx6eCGG7wUS8352YB0vkdgs3xFd97m6JH4EYDkY2dIUOASQ4kZjlegdPc_6VKv__e7hmSwRgTTjruuV3jTP4-muDo5OHR46FCQTWwLVK-3tvMOp6By1tz7gNVKg5LRXFlTfn-1MLY5M1nbDvOcnR-cTN1w2uz2KZA-XluhNLza_BELcHNHuONqzSJY6fhC7MlIpcA-5omK0q_H6ViH0AEJ6F3C4G9leVnDR1HI7SV0bywTysVfkTDPF5s0vWQbYT91kXqU5FhwrVM_hlFbm8ET53ix2a-yEKwYQlFazknzZfV0RkrjkqxWLJYrzUmjE_kPsORaZjAX7Tty6-tr3QJDmGfKBaxaDae9TI1xjUJpnZOrr8_nPHqklKwKe2o_nEzyG_DVcktOcidjwb3ExSCuE_Pqqgv_szO9uCScFyEoCZ9MI0UsDCz_vUVbM8xsLE3uDz5FPcVwyqdc4o46Joyf0c3SesVofRRujcC33MrEt_KyK_lZAAcqXWZXEqayHfBHPZNYPp2tiQhtyEGgwPdlWVY9Y4reZH-kQgASoJZXUtd2VzdC0yMPEG.m3u8
08:46:18.8814 [Navigation] playing ref 4097:0:1:0:0:0:0:0:0:0:streamlink%3a//https%3a//www.twitch.tv/gothicsnowangel:Twitch Test
08:46:18.8818 [eServiceMP3] stop streamlink://https://www.youtube.com/watch?v=gxG3pdKvlIs
08:46:18.8819 [eServiceMP3] stop state:PLAYING pending:VOID_PENDING ret:SUCCESS
08:46:18.9495 [eServiceMP3] **** TO NULL state:NULL pending:VOID_PENDING ret:SUCCESS ****
08:46:18.9519 [eServiceMP3] **** PIPELINE DESTRUCTED ****
08:46:18.9569 [eServiceFactoryMP3] ****new play service total services played is 2****
08:46:18.9572 [eServiceMP3] playbin uri=https://video-weaver.vie02.hls.ttvnw.net/v1/playlist/Ct4EywYkDmX_nJQGn_sxyd7N5C2Bzu-70gnSB-UNOzO-b1urs2NN4fJp2pqIvIGVGauA6LvqWUgGiHIerKHI6Y913GIbfYKHfNNfyZ7RaAMQMtzWBk7sHWJuqx1PpmS0X4DMRv1aG5FE6rMWX4azwDYDytR2e93WlkdA-piPqfNbogyYdU5rjvaOETkkLMWSwcGzXBEnRP8PF-Sowvw7WoP6deewbfvOiqP0JqgyrrE43Y8Gonbvj9atM-sNYI_PhrHgd_0czSSSFFDViP4HrKJ4ZRAjtx6eCGG7wUS8352YB0vkdgs3xFd97m6JH4EYDkY2dIUOASQ4kZjlegdPc_6VKv__e7hmSwRgTTjruuV3jTP4-muDo5OHR46FCQTWwLVK-3tvMOp6By1tz7gNVKg5LRXFlTfn-1MLY5M1nbDvOcnR-cTN1w2uz2KZA-XluhNLza_BELcHNHuONqzSJY6fhC7MlIpcA-5omK0q_H6ViH0AEJ6F3C4G9leVnDR1HI7SV0bywTysVfkTDPF5s0vWQbYT91kXqU5FhwrVM_hlFbm8ET53ix2a-yEKwYQlFazknzZfV0RkrjkqxWLJYrzUmjE_kPsORaZjAX7Tty6-tr3QJDmGfKBaxaDae9TI1xjUJpnZOrr8_nPHqklKwKe2o_nEzyG_DVcktOcidjwb3ExSCuE_Pqqgv_szO9uCScFyEoCZ9MI0UsDCz_vUVbM8xsLE3uDz5FPcVwyqdc4o46Joyf0c3SesVofRRujcC33MrEt_KyK_lZAAcqXWZXEqayHfBHPZNYPp2tiQhtyEGgwPdlWVY9Y4reZH-kQgASoJZXUtd2VzdC0yMPEG.m3u8
08:46:18.9578 [eServiceMP3] *** starting pipeline ****
What can I say about this ... The idea is interesting. But all this strongly depends on how the developers of the streamlink project provide quality support and quickly make changes to the code of their "addon-plugins" in case of changes on the sites of the supported video services....
After testing it for 10 minutes, I have already found options in which this "streamlink" - tightly freezes , for example, if the player does not receive a stream for a given streamlink-record =)
Let's summarize
Your post about "How to add youtube tv channels with streamlink protocol,...." was initially fundamentally wrong ... The question should be - "is it possible to add processing (parsing) streamlink protocol records in m3u-paylist for the newest OpenATV images..." --> Feel the difference in terms and definitions ... When asking a question, it should be understood that I, or any other person, may not follow the developments of OpenATV and not even use this image ... Therefore, the question should contain at least a "hint" of what it is and where and how is it used