slyguy.addons
slyguy.addons copied to clipboard
[IPTV Merge] Causes addons to freeze (arch64 Kodi 19.4 rpi3+)
I am having an issue with IPTV Merge as when I install it it causes my other addons to not work as I get the spinning wheel. I can back out of them to the home screen so it doesn't totally freeze. I can't uninstall IPTV Merge as this causes Kodi to freeze. I can ssh in and I then delete the iptv.merge directory and reboot and I am back to a working system. I like IPTV Merge as I have four sources that I use to merge. I was running IPTV Merge on 19.3 without issue but I can't back down since I will need python 3.9 and the associated libs to run kodi 19.3. I am currently running Python 3.10.2. Does anyone else have this issue on 19.4? I have run IPTV merge on my test 20.0 so I am not sure why I am seeing an issue on 19.4. Could it be the arch arm64 package?
its a python 3.10 issue https://forum.kodi.tv/showthread.php?tid=368069&pid=3096972
Thanks for the help. Python 3.10.4 broke other plugins so I was using 3.10.2. After seeing your links, it appears the issue has been resolved in 3.10.5 so cloned the 3.10.4 tree and compiled python so now the version says 3.10.4+. This version fixed the issues with the other plugins but when I install IPTV Merge it still breaks Kodi. I'm not sure if the issue is with Kodi 19.4 or IPTV Merge as I was running IPTV Merge on 20.0 without issue. BTW, can I use kodi_proxy from your repo to grab the m3u and epg data? I have Simple IPTV set to the addon_data folder with the playlist m3u and epg.xml from my backup along with data.db and settings.xml file. I just need a way to grab the data from my sources
IPTV merge uses sqlite and that's what causes the bug. I suspect you havn't compiled a branch that includes the 2nd fix.
Not sure your on other question. Kodi.proxy is mainly used when not using Kodi.
Thanks for the help. I just compiled about an hour or so ago. It looks like the 2nd fix was pushed to 3.10.
https://github.com/python/cpython/pull/92296
I did a git clone 3.10 https://github.com/python/cpython to give me 3.10.4+. Hopefully I pulled the proper branch as I believe 3.11 would give me an issue since Kodi 19.4 looks for python 3.10.
What I meant by kodi proxy is if I could set a cron job to do what IPTV merge does with that being it fetches all the epg data from the sources that I set through the IPTV Merge interface when running 19.3 since I made a backup of my .kodi directory. Like I could run tv_grab_iptv_merge from the command line and it would go to the userdata addon directory and pull the epg data from my sources.
It looks like from reading the code I could install kodi.proxy via the instructions and then just run tv_grab_iptv_merge from the command line and it will populate my epg data properly?
Not sure sorry. Give it a go if you like. I don't really offer support for it. It's just something some ppl use to use my IPTV stuff with tvheadend
On Sun, 8 May 2022, 15:49 stuckinthe, @.***> wrote:
It looks like from reading the code I could install kodi.proxy via the instructions and then just run tv_grab_iptv_merge from the command line and it will populate my epg data properly?
— Reply to this email directly, view it on GitHub https://github.com/matthuisman/slyguy.addons/issues/189#issuecomment-1120343979, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPQAKPGGADS67BKVBMGPRTVI42TNANCNFSM5VJVYBAA . You are receiving this because you modified the open/close state.Message ID: @.***>
kodi proxy actually works very well at least for the epg as it's IPTV Merge outside of kodi. It alters the m3u file so I just use my previous playlist.m3u thus I can use IPTV Merge without installing it in Kodi.
IPTV Merge was working in 20.0 and 19.3 so I'm thinking it's an issue somewhere with Kodi 19.4 since I was using the system for 20.0 (python version etc)
maybe you can get me a crash log etc showing the crashing?
It doesn't crash as it just freezes but I can back out. You want a regular log or a debug log? I'll do it in the AM.
debug log be great. I suspect IPTV Simple client is actually freezing as it tried to load in the new playlist / epg? Does it seem to get pass the actual merging?
All addons hang with the spinning circle when I try to go to them. For the log, I enabled IPTV Merge then went to IPTV Merge addon and then the Youtube addon and it just gives me the spinning circle. It gives an error about focus and GetDirectory failed in the log file.
I was using kodi.proxy but Simple IPTV isn't populating the epg correctly. It just started happening yesterday. The file epg.xml file looks good so I'm not sure what the issue is. Probably not an IPTV Merge issue.
https://zerobin.net/?810433f97e1c511c#Fm1859L+zq3oPyE5AZOEtocZxSSnVmwfSeKhW10kfYw=
Thanks for the help!
merge doesnt even get started in that log. looks like it freezes while iptv simple client is doing stuff.
It seems like Merge is holding focus. I have OpenVPN Manager. Once I have set a VPN to a specific addon and once I click on the addon it changes the VPN. Merge prevents this from happening. Once I uninstall Merge and reboot then everything goes back to normal.
Oh... Your using the open vpn manager on Kodi?? That's probably it. Have had issues with that. Can you disable that or start with a fresh Kodi just with merge and see if it happens
I did a clean install and I just installed IPTV merge and youtube addon only. IPTV Merge worked at first but after I installed the youtube addon I was unable to go to either of the adddons as I just got the spinning circle.
https://pastebin.com/tPJreQXh
Am I the only one seeing this? I figure since 19.4 has been released that other people would have faced the same issue.
and your sure you got that Python issue fixed?
I just upgrade my system and python 3.10.4-2 didn't fix it. I will try to compile python and see if that fixes it.
I cloned and compiled python from github. I still have the same problem. Idk, lol. I'm stumped. All works well with kodi_proxy
The arch arm repo has python 3.10.5. I installed this via an upgrade of the system but iptv merge still doesn't work.
not sure sorry. must be something else
Also saw this behaviour with Kodi 19.5, IPTVMerge 0.22.8, and Python 3.10.6 (on Ubuntu 22.04.1). Same behaviour as @stuckinthe described where launching any addon just hangs with spinning loader. Debug log doesn't show anything useful, eg loading the YouTube addon (I gave up waiting after 17s at 09:31:38):
2022-12-31 09:31:20.933 T:154038 DEBUG <general>: Activating window ID: 10025
2022-12-31 09:31:21.033 T:154038 DEBUG <general>: CGLContextEGL::SwapBuffers: sync check blocking
2022-12-31 09:31:21.050 T:154038 DEBUG <general>: CGLContextEGL::SwapBuffers: sync sleep: 17621
2022-12-31 09:31:21.275 T:154038 DEBUG <general>: ------ Window Deinit (Home.xml) ------
2022-12-31 09:31:21.275 T:154038 DEBUG <general>: FreeVisualisation() done
2022-12-31 09:31:21.278 T:154038 DEBUG <general>: ------ Window Init (MyVideoNav.xml) ------
2022-12-31 09:31:21.290 T:154038 ERROR <general>: Control 55 in window 10025 has been asked to focus, but it can't
2022-12-31 09:31:21.318 T:154038 DEBUG <general>: CGUIMediaWindow::GetDirectory (plugin://plugin.video.youtube/)
2022-12-31 09:31:21.319 T:154038 DEBUG <general>: ParentPath = [plugin://plugin.video.youtube/]
2022-12-31 09:31:21.319 T:154278 DEBUG <general>: Thread waiting start, auto delete: false
2022-12-31 09:31:21.384 T:154275 DEBUG <general>: CAddonDatabase::SetLastUsed[plugin.video.youtube] took 65 ms
2022-12-31 09:31:21.384 T:154278 DEBUG <general>: StartScript - calling plugin YouTube('plugin://plugin.video.youtube/','5','','resume:false')
2022-12-31 09:31:21.384 T:154279 DEBUG <general>: Thread JobWorker start, auto delete: true
2022-12-31 09:31:21.384 T:154280 DEBUG <general>: Thread LanguageInvoker start, auto delete: false
2022-12-31 09:31:21.384 T:154280 INFO <general>: initializing python engine.
2022-12-31 09:31:21.385 T:154280 DEBUG <general>: CPythonInvoker(13, /home/kodi/.kodi/addons/plugin.video.youtube/resources/lib/default.py): start processing
2022-12-31 09:31:21.420 T:154038 DEBUG <general>: ------ Window Init (DialogBusy.xml) ------
2022-12-31 09:31:21.572 T:154038 DEBUG <general>: CGLContextEGL::SwapBuffers: sync check blocking
2022-12-31 09:31:21.590 T:154038 DEBUG <general>: CGLContextEGL::SwapBuffers: sync sleep: 17928
2022-12-31 09:31:38.111 T:154038 DEBUG <general>: Keyboard: scancode: 0x16, sym: 0x0008, unicode: 0x0008, modifier: 0x0
2022-12-31 09:31:38.111 T:154038 DEBUG <general>: HandleKey: backspace (0xf008) pressed, action is Back
2022-12-31 09:31:38.130 T:154038 DEBUG <general>: ------ Window Deinit (DialogBusy.xml) ------
2022-12-31 09:31:38.130 T:154278 DEBUG <general>: WaitOnScriptResult- cancelling plugin YouTube (id=13)
2022-12-31 09:31:38.130 T:154278 ERROR <general>: GetDirectory - Error getting plugin://plugin.video.youtube/
2022-12-31 09:31:38.130 T:154038 DEBUG <general>: ------ Window Init (DialogBusy.xml) ------
2022-12-31 09:31:38.130 T:154278 DEBUG <general>: Thread waiting 140247690335808 terminating
2022-12-31 09:31:38.130 T:154038 DEBUG <general>: ------ Window Deinit (DialogBusy.xml) ------
2022-12-31 09:31:38.130 T:154038 ERROR <general>: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/) failed
2022-12-31 09:31:38.130 T:154038 DEBUG <general>: CGUIMediaWindow::GetDirectory ()
2022-12-31 09:31:38.130 T:154038 DEBUG <general>: ParentPath = [plugin://plugin.video.youtube/]
2022-12-31 09:31:38.135 T:154284 DEBUG <general>: Thread waiting start, auto delete: false
2022-12-31 09:31:38.136 T:154284 DEBUG <general>: Thread waiting 140247690335808 terminating
2022-12-31 09:31:38.145 T:154285 DEBUG <general>: Thread BackgroundLoader start, auto delete: false
2022-12-31 09:31:38.148 T:154285 DEBUG <general>: Thread BackgroundLoader 140245609563712 terminating
Can do some testing if you like, but I just disabled IPTV merge (and restarted because that hung Kodi) so I'm not bothered - just wanted to provide more info in case others see this. I've also got loads of addons installed and have upgraded through a few Kodi versions, so it's a long way from a clean install.
I have the same issue with kodi 19.5 (19.5.0) Git:20221224-f8fdeb6b1b on Ubuntu 22.10 with Python 3.10.7.
Having IPTVMerge 0.22.8 enabled causes kodi to hang with the message initializing python engine
when I try to use other addons.
Disabling IPTVMerge allows the addons to start working again.
I'm also happy not to use IPTVMerge, just noting that the problem seems to persist after Python 3.10.5+. Cheers!
After upgrading Kodi to v20.0.0 I haven't had this issue any more.
great. thanks for letting me know