-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refresh..... #82
Comments
Hi @Cisse-Moes , I have similar issues. |
@frankdpGH If an add-on fails to return data, it is excluded, but it should not cause an incomplete or empty EPG. If this is the case, it is a bug. I have not seen this myself (and we have seen our fair share of failing add-ons during development). One improvement is to fall back to cached information when an add-on fails, but that has other implications (more memory use, or more disk activity). Disk activity wears out SD cards. In any case, this is a corner case and a failing add-on always shows a notification during update. It is probably more effective to ensure add-ons work reliably. |
Thanks @dagwieers for the quick response. The main cause of errors is that my Android TV Box goes in standby and Kodi remains running. This causes wrong behavior. I have blocked the error by comparing filesize before renaming in iptvsimple.py. I believe that writing an empty epg as mentioned above should not happen. I'm also pushing more frequent updates (every 10 Mins instead of 1 hour) to have up to date epg links, maybe this is pushing the error too. |
Some Log material as example of partial disappearing of channels. |
I haven't looked at the log, but I assume that when there is no network connection (yet) after returning from standby, you'll probably get this behaviour. |
Maybe there is a way for IPTV Manager to check if there is network connectivity. But yes, if all add-ons fail for this reason, you may end up with nothing. If there is nothing, maybe IPTV should not be writiing to disk. And at least the channel listing could be cached in memory for when an add-on fails to work. |
Hi :) |
@daufinsyd Since you can easily reproduce this, it could help if you looked at the code to find the actual cause, or a quick fix for this. Python code is quite easy to read/modify and the logic is not that hard. |
Hi @dagwieers
|
I took a look at your logfile, but it's not really clear what causes this issue. IPTV Manager is supposed to open a port on 127.0.0.1, and asks the Addon to send data to that port, but somehow, the add-on gets a Are you using a special setup for a VPN or something that changes the network settings? |
Hi, Same issue for me on Kodi 18 (raspberry 4). Need to refresh channels manually, it often solve the pb. But sometimes a kodi restart is needed. |
Hi @popiggy, do you also have the We also have the same issue for users of Catch-up TV & More (Catch-up-TV-and-More/plugin.video.catchuptvandmore#507 (comment)) |
Hi @sy6sy2 ERROR: [service.iptv.manager] [resources.lib.modules.addon] Something went wrong while calling plugin.video.catchuptvandmore: [Errno -5] No address associated with hostname ERROR: AddOnLog: PVR IPTV Simple Client: Unable to load channels from file '/storage/.kodi/userdata/addon_data/service.iptv.manager/playlist.m3u8': file is corrupted |
@michaelarnauts, another user of CUTV&M also have this |
Me again. If you look at the log given here #82 (comment) you can see that:
So, the hypothesis is that just after Kodi starts on Android, Kodi doesn't have an internet connection during the first seconds. So, the video plugins are not able to send channels/epg to IPTVManager and they get a timeout. Maybe two solutions to try:
(Thank you @Psychoses for the help) |
Maybe increase this one ? (like a temp fix for hurry people)
|
I noted different timing on
The total time of the full process is between
|
Hi @Psychoses : thanks for this hint. Indeed with "timeout = None" all error messages are gone and the xml files are complete. 10 secs is too low, maybe a settings.xml possibility? Indeed the update routine will take will take a few seconds more, but it is not annoying and there are no more errors in the log. |
@frankdpGH No prob. Thx you for your log @ #82 (comment), This help us a lot to locate the problem. I don't know what is the best soluce here, i'm not the main dev and not a expert. I think, for end user like us, we can just use |
Hello kodi lovers!
I have libreelec running on a mini ashrock. Works fine . Only if I close it and I start again the same day, then the iptv manager does its thing and I get all channels listed as well as the timeline. But when I start the next day everything stays blank. And do I have to refresh manually in the app.
I suspect that if this boot, the channels will not be refreshed, but as far as I can see I cannot set this anywhere. Or is there another solution?
greetings Cisse
The text was updated successfully, but these errors were encountered: