Posts: 349
Joined: Apr 2013
Reputation:
38
I'm currently working on the layout for the PVR section of my skin and I'm running into an issue with load time. The first time I launch ActivateWindow(TVChannels) it takes about 10-15 seconds to load. I can click on the back button or reload the skin and the page loads fine immediately but after about 30 seconds, I get the same 10-15 second load time.
I've looked into the log and can't see any reason for the 10-15 second load time.
It doesn't happen for the movie/tv library windows but does for all of the PVR windows and actions like ActivateWindow(Videos,sources://video/,return).
I started with the Confluence skin in Kodi V19.4.
What is the best way to troubleshoot this issue? Is there an add-on that could be impacting this?
Thanks for any help.
Posts: 5,245
Joined: Jul 2012
Reputation:
339
Don't know, but it seems like if the pvr manager is not running that can hold up the whole app. Try running just the demo pvr addon first.
scott s.
.
Posts: 349
Joined: Apr 2013
Reputation:
38
Thanks Scott. I tried but that didn't fix my issue.
I ended up uninstalling Kodi and starting from scratch and that has fixed the issue.
I'll post something here if I find out what was causing the issue as I get things back to the way they were.
Posts: 783
Joined: Aug 2011
Reputation:
85
2022-07-10, 13:15
(This post was last modified: 2022-07-10, 13:16 by realcopacetic.)
Interesting, Iv'e noticed a similar issue recently but with the videos and music windows where I get that delay on first load, even with all the code and animations stripped out. I may try a clean install and see if that fixes it
Posts: 349
Joined: Apr 2013
Reputation:
38
So, when I do a fresh install on my Windows PC, install just the PVR and point it to an m3u and epg.xml, it loads everything as it should. I can go back and forth between menus and go back to channels or files and there is no delay.
As soon as I exit Kodi and launch it again, I see the issue where it takes a good 15 seconds to load anything in the Live TV Section. I can load TV >> Channels, hit the back button and go back into it for the next 30 seconds but right around the 30 second mark is when I start to see an issue. I go into Channels (or Guide or Videos >> Files) and it takes 15 seconds to load.
I am using the Estuary skin (but see it in other skins as well), with nothing more than the IPTV Simple client installed.
Posts: 1,887
Joined: Jan 2015
Reputation:
126
ksooo
Team-Kodi Developer
Posts: 1,887
How many channels are in your m3u?
Posts: 349
Joined: Apr 2013
Reputation:
38
530 channels but I've tried it with just 7 channels and it still has the same issue.
If I'm also having the same issue with opening Videos >> Files is that an indication for something else causing the issue?
Posts: 349
Joined: Apr 2013
Reputation:
38
First, just want to say thank you to everyone that tried to help. It turns out that this was an issue with my setup.
I recently physically removed a network drive from my network but still had it mapped in Windows. Once I disconnected the network drive, everything works as expected.
Sorry for wasting peoples time, but ultimately it helped me resolve the issue. Thanks again!
Posts: 349
Joined: Apr 2013
Reputation:
38
I'm having another issue with MyPVRChannels.xml
I changed the scroll bar from vertical to horizontal with the layout I have. I'm looking to put the focus <ondown> to a button on the page but I can't seem to get it to work. The button will get focus <onleft>, <onright>, <onup> but for some reason, <ondown> doesn't seem to work.
Has anyone else run into this issue? And is there a way to fix it?
Posts: 783
Joined: Aug 2011
Reputation:
85
Are you sharing IDs across different scrollbars? That can cause issues if your visibility conditions are conflicting with one another or if you're on Nexus (due to a change in rendering transparent items that I believe is in the process of being rolled back).
Posts: 783
Joined: Aug 2011
Reputation:
85
hmmm, the only thing I can think that sometimes works for me and I don't really know why is using SetFocus(61000) instead of just the ID.
<onup>SetFocus(61000)</onup>
Posts: 349
Joined: Apr 2013
Reputation:
38
Thanks for the suggestion and I'll keep that in mind going forward if I get stuck. Ultimately it didn't fix my issue but I figured it out.
In an effort to make things similar to the layout I have on my TV/Movie Library layouts, I put the <control type="grouplist"> around the control. As soon as I removed it, I was able to assign <onup>, <ondown>, etc. It messed up the positioning for a bunch of the other items on that view but fixed the <onup>, <ondown> issue I was having which is much more important.
Thanks again for your help.
Posts: 783
Joined: Aug 2011
Reputation:
85
Ahh I see. Does it work with the grouplist in place if you give the grouplist control an ID as well?