add-ons / service.iptv.manager

Integrate TV and radio channels with EPG data from other add-ons in Kodi PVR.
https://github.com/add-ons/service.iptv.manager/wiki
GNU General Public License v3.0
98 stars 28 forks source link

postponing iptv simple restart #84

Open polojoe opened 3 years ago

polojoe commented 3 years ago

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

dagwieers commented 3 years ago

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

polojoe commented 3 years ago

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

michaelarnauts commented 3 years ago

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?

dagwieers commented 3 years ago

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

polojoe commented 3 years ago

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.

RKCRLR commented 3 years ago

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.