service.iptv.manager icon indicating copy to clipboard operation
service.iptv.manager copied to clipboard

postponing iptv simple restart

Open polojoe opened this issue 3 years ago • 6 comments

Could you please add option to prevent iptv simple to restart if there's ongoing playback of a recording (vdr/tvh)?

polojoe avatar Apr 04 '21 19:04 polojoe

AFAIK IPTV Manager already does this. https://github.com/add-ons/service.iptv.manager/blob/master/resources/lib/modules/iptvsimple.py#L73

dagwieers avatar Apr 04 '21 19:04 dagwieers

It works for livetv but not for playback recordings. So playback gets aborted.

polojoe avatar Apr 04 '21 19:04 polojoe

Hmm, I think we can also exclude restarting of simple IPTV when playing any video file, but it's odd that a restart of IPTV simple stops a playback of a recording, since recordings aren't managed through IPTV simple.

You mentioned tvh, so you are playing a recording from Tvheadend?

michaelarnauts avatar Apr 04 '21 20:04 michaelarnauts

That is strange. We have never seen this and we sync IPTV Manager every 2 hours. Running Kodi v18 on LibreELEC on RPi.

dagwieers avatar Apr 04 '21 23:04 dagwieers

Yes, playback of recording gets aborted. I tried tvheadend and vdr, no difference. It took me some time to find the cause. I'm running Kodi v19 with libreelec on rpi 4.

polojoe avatar Apr 05 '21 03:04 polojoe

I posted issue #89 but this problem sounds similar. Playback of recordings or Pluto.TV gets aborted when the guide gets refreshed on my Shield TV.
It would be preferable to keep playback from aborting when guide gets refreshed since Pluto.TV needs to have the guide refreshed often.

RKCRLR avatar May 07 '21 01:05 RKCRLR