2024-04-30, 10:07
1) IPTV Merge does not show status updates when merging in background as designed
If your watching content, you dont want to see a "running merge" or whatever notification
2) You wont see "importing guide from clients" due to #3
3)
Newer versions of IPTV Simple Client have no nice way for me to tell it to refresh its data.
When you do a force merge - it actually disables the IPTV Simple addon and then re-enables it.
Also, when forcing - I show the status. This explains #1
IPTV Simple only shows "Importing guide" when starting up. This explains #2.
However, disable and renable has its own issues and sometimes cause the guide to become stuck etc.
So, the current method is
1) When "setup IPTV Simple" is done - it sets IPTV SImple to refresh its data every 5mins. m3uRefreshIntervalMins = 5
2) when IPTV Merge runs in the background - it creates the new files and then just lets IPTV simple do the refresh itself
The biggest issue with this is the issue your facing.
If the EPG data is all ran out when you do a fresh boot - then the following happens
1) IPTV Simple loads the old epg xml which is all out of date
2) IPTV merge runs and creats fresh data
3) IPTV Simple waits 5mins before refreshing the new data
So, I think if you waited 5mins after a boot - you should see it work.
The code is here: https://ibb.co/1Tpc3tp
The best working way was IPTV SImple version before 20.8.0
That had a way to tell IPTV Simple to reload straight after our merge
However, I forgot I was working on a new solution that should work "the best"
I did need https://github.com/kodi-pvr/pvr.iptvsimple/issues/822 fixed which as been done now.
I had just forgot about it since then
I'll see if I can get it working - that should solve your issues
If you really want to see progress #1 always - maybe I can add a setting to always show it.
I just think if its works correctly - then no need
Actually, I did implement it but it caused issues so reverted:
https://forum.kodi.tv/showthread.php?tid...pid3180711
If your watching content, you dont want to see a "running merge" or whatever notification
2) You wont see "importing guide from clients" due to #3
3)
Newer versions of IPTV Simple Client have no nice way for me to tell it to refresh its data.
When you do a force merge - it actually disables the IPTV Simple addon and then re-enables it.
Also, when forcing - I show the status. This explains #1
IPTV Simple only shows "Importing guide" when starting up. This explains #2.
However, disable and renable has its own issues and sometimes cause the guide to become stuck etc.
So, the current method is
1) When "setup IPTV Simple" is done - it sets IPTV SImple to refresh its data every 5mins. m3uRefreshIntervalMins = 5
2) when IPTV Merge runs in the background - it creates the new files and then just lets IPTV simple do the refresh itself
The biggest issue with this is the issue your facing.
If the EPG data is all ran out when you do a fresh boot - then the following happens
1) IPTV Simple loads the old epg xml which is all out of date
2) IPTV merge runs and creats fresh data
3) IPTV Simple waits 5mins before refreshing the new data
So, I think if you waited 5mins after a boot - you should see it work.
The code is here: https://ibb.co/1Tpc3tp
The best working way was IPTV SImple version before 20.8.0
That had a way to tell IPTV Simple to reload straight after our merge
However, I forgot I was working on a new solution that should work "the best"
I did need https://github.com/kodi-pvr/pvr.iptvsimple/issues/822 fixed which as been done now.
I had just forgot about it since then
I'll see if I can get it working - that should solve your issues
If you really want to see progress #1 always - maybe I can add a setting to always show it.
I just think if its works correctly - then no need
Actually, I did implement it but it caused issues so reverted:
https://forum.kodi.tv/showthread.php?tid...pid3180711