2018-12-09, 22:44
KODI Leia nightly 08.12.2018
Central SQL database (MariaDB)
When movie sets are loaded into the skin it seems to take an inordinately long time. Other queries to the movie database seem to be reasonably fast. This is how it looks in the log:
or when navigating the sets item
I have already dropped the videodb from the SQL server and completely built it anew from scratch but the issue remains. I'm tentatively labeling this as a bug.
EDIT: Sorry, this should have been posted under ESTUARY. Please move it, admins.
Central SQL database (MariaDB)
When movie sets are loaded into the skin it seems to take an inordinately long time. Other queries to the movie database seem to be reasonably fast. This is how it looks in the log:
xml:
21:12:40.316 T:5840 DEBUG: CGUIMediaWindow::GetDirectory (library://video/movies/sets.xml/)
21:12:40.316 T:5840 DEBUG: ParentPath = [library://video/movies/sets.xml/]
21:12:42.478 T:8756 DEBUG: CVideoDatabase::RunQuery took 638 ms for 19 items query: SELECT genre.genre_id, genre.name, count(1), count(files.playCount) FROM genre JOIN genre_link ON genre.genre_id = genre_link.genre_id JOIN movie_view ON genre_link.media_id = movie_view.idMovie AND genre_link.media_type='movie' JOIN files ON files.idFile = movie_view.idFile GROUP BY genre.genre_id
21:12:44.824 T:8756 ERROR: XFILE::CDirectory::GetDirectory - Error getting
21:12:45.909 T:11996 ERROR: Previous line repeats 6 times.
21:12:45.909 T:11996 DEBUG: CVideoDatabase::RunQuery took 8877 ms for 1689 items query: select * from movie_view
21:13:04.577 T:8980 DEBUG: Thread JobWorker 8980 terminating (autodelete)
21:13:14.824 T:8756 DEBUG: Thread JobWorker 8756 terminating (autodelete)
21:13:16.449 T:11996 DEBUG: Thread JobWorker 11996 terminating (autodelete)
21:13:59.008 T:5840 DEBUG: CVideoDatabase::RunQuery took 78342 ms for 622 items query: select * from movie_view JOIN sets ON movie_view.idSet = sets.idSet ORDER BY sets.idSet
or when navigating the sets item
xml:21:39:37.331 T:2964 DEBUG: CVideoDatabase::RunQuery took 69836 ms for 622 items query: select * from movie_view JOIN sets ON movie_view.idSet = sets.idSet ORDER BY sets.idSet
21:39:37.481 T:2964 DEBUG: Saving fileitems [videodb://movies/sets/]
I have already dropped the videodb from the SQL server and completely built it anew from scratch but the issue remains. I'm tentatively labeling this as a bug.
EDIT: Sorry, this should have been posted under ESTUARY. Please move it, admins.