Форум проекта Alex@ELEC

Информация и Общие Темы => IPTV => PVR TVLINK Client => Тема начата: Alex от 23 Января 2022, 15:10:20

Название: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: Alex от 23 Января 2022, 15:10:20
PVR TVLINK Client - 2.1.2.6 для системы AlexELEC-PC 11.0.6 (Kodi-20)

(https://i.ibb.co/nnkq7d1/pvr-2126.png)


Таймаут соединения TVLINK - сколько клиент может ждать не поступления данных от сервера TVLINK. Это таймаут не только соединения, но и чтения потока.
Если это значение больше чем "Stream/Segment timeout (sec)" в настройках TVLINK - поток будет переключаться на следующий (по приоритету) средствами сервера TVLINK.
Если значение здесь, меньше чем "Stream/Segment timeout (sec)" - поток будет переоткрыт, а не переключен на следующий.

Буферизация потоков - дополнительное кеширование перед открытием потока средствами самого PVR-клиента. Просмотр становиться стабильнее, но замедляется переключение каналов.

Переключение потоков - автоматическое переключение потоков при срабатывании триггера, настройки которого ниже:

Чтобы было понятнее... Если взять настройки как на скриншоте:
Клиент всегда запрашивает в цикле по 4096 байт. Если в ответ он получил меньше 128 байт - счетчик увеличился на единицу. Если в течении 30 секунд счетчик стал больше 10-ти, клиент даст команду серверу TVLINK переключить поток.
Чтобы выяснить какие именно настройки Вам установить, нужно сделать следующее:
1) включаете журнал отладки в Коди (Система - Журнал - Включить журнал отладки), плюс журнал отладки компонентов. В компонентах выбираете "Подробное журналирование PVR".
2) в терминале даете команду
Код
tail -f /storage/.kodi/temp/kodi.log | grep pvr.tvlink
и включаете канал.
3) смотрите вывод. Если на вход клиента поступает меньше данных чем указано в "Минимальное количество байт", Вы увидите следующее:
Цитировать
2022-01-23 13:56:34.677 T:1214    DEBUG <general>: AddOnLog: pvr.tvlink: pvr.tvlink - ReadLiveStream - [Україна 24 HD] set min bytes: [128] received bytes: [80]
2022-01-23 13:56:34.677 T:1214    DEBUG <general>: AddOnLog: pvr.tvlink: pvr.tvlink - ReadLiveStream - [Україна 24 HD] set max time: [30] stream time: [10] iter count: [3]
В первой строке говориться, что получено (received bytes) - 80 байт вместо запрошенных 4096.
Во второй, что за 10 сек пока поток играл (stream time), счетчик (iter count) увеличился до 3-х.
На основе этих данных и того как работает поток (Вы же видите картинку) - подбирайте настройки. Часть лога что я привел, относится к потоку с Youtube. И хотя здесь постоянные просадки, тем не менее картинка идет без заиканий. Это я к тому, что включать эти настройки не нужно без особой надобности.

Важно знать!
Плеер в Коди не всегда может пережить смену потока. Если Вы увидели всплывающее сообщение, что поток переключен, но при этом картинка остановилась - можете быть уверены, что у следующего потока другие аудио-параметры (кодек). Аудио движок Коди (AudioEngine (https://kodi.wiki/view/AudioEngine)) хоть и должен переинициализировать данные, но на практике с этим не справляется. Остается только переключить канал или выключить/включить.


TVLINK simple control - 2.1.0

(https://i.ibb.co/ZzJ6vhw/tvl-ctrl.png)
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: shippy от 17 Января 2023, 22:29:46
Hi Alex !

Is TVLink Client available for LibreElec and CoreElec, besides for AlexElec?
I ask because AE/CE only support Amlogic SoCs.
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: shippy от 18 Января 2023, 02:22:27
Well not much improvement over 11.0.19 (Nexus RC2) !

1. Still same addons crashes, maybe a bit more, likely because many addons have not been updated for Nexus from Matrix. Especially Pluto addon (Lunatixz) with IPTV Manager (mhuisman) creates a nasty crash that is not recoverable. System hangs on the splash scren.


With reboot,  I get the Arctic Zephyr2-Reloaded 2.0.0 Skin menu with correct settings, but after a few seconds I get back the screen splash which hangs for ever !

2. Nevertheless, these are Kodi or Addons problems, not AE issues.

3. Note that I solved the Youtube widget crash loops in both AE 11.0.19 and AE 11.1.0 by turning off reuselanguageinvoker item (changed from true to false) in addon.xml in plugin.video.youtube, upon Kodi Forum advice by jurialmunkey, original creator of the AZ2R skin, now working nicely for Nexus stable. These crashes actually have nothing to do with the TMBb-Helper as I was lead on to believe earlier:
https://github.com/jurialmunkey/plugin.video.themoviedb.helper/issues/948 (https://github.com/jurialmunkey/plugin.video.themoviedb.helper/issues/948)


4. Also note that Surveillance Camera addon from kodinerds repo has been updated for Nexus, and works with rtsp ! (worked with Birger Jesch, developer, over last week.)
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: Alex от 18 Января 2023, 06:09:20
I ask because AE/CE only support Amlogic SoCs.
Hi,
TVLINK PVR Client only works on systems AE / CE (ae-fork).
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: shippy от 18 Января 2023, 21:13:59
See this:
https://github.com/matthuisman/slyguy.addons/issues/347

Do you think there is a PVR conflict or some other issue ?
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: Alex от 19 Января 2023, 07:00:38
Do you think there is a PVR conflict or some other issue ?
Hi,
Yes. PVR Simple and PVR TVLINK cannot work together. One of them needs to be removed.
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: shippy от 19 Января 2023, 13:28:04
Alex,

Ok...I thought Nexus should have allowed simultaneous operations.

So I can still disable TVLink client and extract playlist.m3u and epg.xml from IPTV Merge and another such addon. Then re-enable TVLink client and disable PVR Simple IPTV client.

1. Is there a way to run TVlink client such that it streams different playlists under different skin shortcuts (custom menus, e.g. Arctic Zephr Reloaded)?

That is:

A. AZ2R20 skin shortcuts 1> Live TV > TVlink #1 ( playlist 1+ epg 1)

B. AZ2R20 skin shortcuts 2> Live TV > TVlink #2 ( playlist 2+ epg 2)

2. If #1 above is not possible, can I arrange playlists in separate and overlapping groups in TVlink client ?

That is:

Playlist 1: Group 1, 2,3, 4, 7,8,9, 13, 19 etc
Playlist 2: Group 3, 7, 15, 18, 19 etc

Cheers 😹,
Shippy.
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: Alex от 19 Января 2023, 16:02:52
1. Is there a way to run TVlink client such that it streams different playlists under different skin shortcuts (custom menus, e.g. Arctic Zephr Reloaded)?
I'm sorry, I didn't understand anything.
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: shippy от 19 Января 2023, 16:43:06
In #1 above I asked: can we use two instances of TVlink client, each with different playlist?

If yes this feature can be used to build custom menus in skins, such that in one custom menu on skin you have streaming from first playlist, and then in another menu you can stream from 2nd playlist.

How about #2 above ?
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: shippy от 19 Января 2023, 18:02:08
Alex,

Another set of questions re: IPTV Archives and EPG:

1. Does IPTV Archives here mean video on demand like movies and shows that have been recorded, but are not live streams?

2. I notice that TVLink only gives me live TV from Youtube.
If I want to stream recorded content like movies and shows from Youtube and other sites,  will I need to play with Timeshift setings in TVLink Client? Haven't checked this feature...

3. In initial TVLink Client version guide you said that EPG support in free version can only be done via TVHeadend setup.
Is this still true (again haven't checked since I have not used EPG yet !)

Cheers 😊
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: Alex от 20 Января 2023, 07:35:06
In #1 above I asked: can we use two instances of TVlink client, each with different playlist?
Don't know. I have never tried.
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: Alex от 20 Января 2023, 07:48:08
1. Does IPTV Archives here mean video on demand like movies and shows that have been recorded, but are not live streams?
Only live stream archives.

Цитировать
2. I notice that TVLink only gives me live TV from Youtube.
If I want to stream recorded content like movies and shows from Youtube and other sites,  will I need to play with Timeshift setings in TVLink Client? Haven't checked this feature...
Timeshift setings in TVLink Client has nothing to do with it. TVLINK (streamlink) can play recorded content from YouTube, but not all (Protected videos are not supported).
https://streamlink.github.io/plugins.html#youtube (https://streamlink.github.io/plugins.html#youtube)

Цитировать
3. In initial TVLink Client version guide you said that EPG support in free version can only be done via TVHeadend setup.
Is this still true (again haven't checked since I have not used EPG yet !)
Starting from version 3.0.5 there are no restrictions on EPG in the free version.
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: shippy от 20 Января 2023, 13:37:12
Re:
------
2. I notice that TVLink only gives me live TV from Youtube.
If I want to stream recorded content like movies and shows from Youtube and other sites,  will I need to play with Timeshift setings in TVLink Client? Haven't checked this feature...
Timeshift setings in TVLink Client has nothing to do with it. TVLINK (streamlink) can play recorded content from YouTube, but not all (Protected videos are not supported).
https://streamlink.github.io/plugins.html#youtube (https://streamlink.github.io/plugins.html#youtube)
-------

Ok thanks ☺️.

So is there a reason why non protected videos from YouTube don't play?
Any settings issue?
(These YouTube movie streams play fine in browser!)
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: Alex от 20 Января 2023, 16:07:12
So is there a reason why non protected videos from YouTube don't play?
Show me an example of such a video and I will check.
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: shippy от 21 Января 2023, 05:03:39
So is there a reason why non protected videos from YouTube don't play?
Show me an example of such a video and I will check.


By the way, when including both live streams and movies in a playlist, do I need to specify archive type in TVLink Server settings: Append, Shift, Flussonic (HLS)?


If yes, would a playlist with Youtube movies/shows be Flussonic (HLS) ?
Название: Re: PVR TVLINK Client - 2.1.2.6 & TVLINK simple control - 2.1.0
Отправлено: Alex от 21 Января 2023, 10:30:24
By the way, when including both live streams and movies in a playlist, do I need to specify archive type in TVLink Server settings: Append, Shift, Flussonic (HLS)?
Only if your IPTV-provider supports an archive.

Цитировать
If yes, would a playlist with Youtube movies/shows be Flussonic (HLS) ?
Youtube do not support archive.