Open eric859 opened 6 years ago
Tell me a bit more. Is it so frozen you need to kill the kodi process or just hangs when starting a stream? Does it freeze when you start a stream straight from an addon or m3u file or when starting it from TVGF?
It seems to freeze Kodi completely. The screen gets frozen and I can't even see get a Kodi is not responding message until I hit CTRL-Alt-Del and choose Task Manager. Then I see the Kodi is not responding message and I can kill kodi. It seems to happen occassionally as it is importing channels and epg if I have it set to reset on startup. It also happens occassionally when in the epg trying to select a station.
Only turn "reset on startup" on once to clear out messes in the database.
I expect it is the source of your streams hanging. Is there a pattern? Is it the same stream?
Turn on debug logging. If it happens again have a look in the kodi.log file. Search for script.tvguide.fullscreen. If you find anything with with error or warning and some python code let me know and send me the kodi.log in a pm at the kodi forum. There are usually a few warnings that you don't have to worry about in there.
It might be some kind of unicode problem when importing the channels. I have fixed a lot of those bugs but I expect there are more.
I will make sure the reset on startup is turned off. I absolutely see it when switching to a channel that is not working. Instead of giving me an error, Kodi hangs. I believe that's a big issue if you're supporting m3u streams as they tend to be unreliable. Is that something that I can resolve by setting a timeout somewhere? I will turn on debug logging and send you something when it happens again. Thank you!
It really depends on how nicely the server or addon closes the web socket when it can't make a connection. It is pretty much out of my control. The guide just waits for Kodi to timeout trying to play the stream. If it doesn't respond to a Stop (x button) command there is not much you can do.
I've been experiencing issues with freezing of the addon which completely freezes Kodi. I am running on Windows 7. Not sure if this is a common issue or not. If there are logs I can upload, please let me know which ones and I will do so.