2012-12-17, 18:07
Hi there, love the skin but I'm running into an issue with a delay being caused at startup which is limiting the 'newly added' movies/shows to be showed until sometime afterwards.
I have a setup where my videos are being served up from a centralized database (mysql), and for whatever reason the first query generated by this skin ends up taking an inordinate amount of time, so I'm trying to find out if there's anything in the skin I can disable/remove to help eliminate this large delay on startup.
Enabling the debug logs I see this:
00:02:47 T:140506144818944 DEBUG: RunQuery took 53980 ms for 0 items query: SELECT * FROM tvshowview WHERE (tvshowview.idShow IN (select tvshowview.idShow from tvshowview where (watchedcount > 0 AND watchedcount < totalCount) OR (watchedcount = 0 AND tvshowview.idShow IN (select episodeview.idShow from episodeview WHERE episodeview.idShow = tvshowview.idShow AND episodeview.resumeTimeInSeconds > 0))))
Given that the database is read-only, I'm not entirely concerned about watched/resume points, so if anyone happens to know what I can tweak to remove this, that'd help me out a bunch!
[edit]
I should have mentioned that this is using the Frodo version of the skin, and this behaviour doesn't appear to happen with the Confluence skin.
Cheers,
Derek.
I have a setup where my videos are being served up from a centralized database (mysql), and for whatever reason the first query generated by this skin ends up taking an inordinate amount of time, so I'm trying to find out if there's anything in the skin I can disable/remove to help eliminate this large delay on startup.
Enabling the debug logs I see this:
00:02:47 T:140506144818944 DEBUG: RunQuery took 53980 ms for 0 items query: SELECT * FROM tvshowview WHERE (tvshowview.idShow IN (select tvshowview.idShow from tvshowview where (watchedcount > 0 AND watchedcount < totalCount) OR (watchedcount = 0 AND tvshowview.idShow IN (select episodeview.idShow from episodeview WHERE episodeview.idShow = tvshowview.idShow AND episodeview.resumeTimeInSeconds > 0))))
Given that the database is read-only, I'm not entirely concerned about watched/resume points, so if anyone happens to know what I can tweak to remove this, that'd help me out a bunch!
[edit]
I should have mentioned that this is using the Frodo version of the skin, and this behaviour doesn't appear to happen with the Confluence skin.
Cheers,
Derek.