First attempt at fixing music

Pull the list of songs in batch of 200 items to prevent timeouts.
This commit is contained in:
angelblue05 2015-08-04 01:07:39 -05:00
parent 94055c952c
commit 59aaa4d42b
3 changed files with 21 additions and 2 deletions

View file

@ -448,7 +448,7 @@ class LibrarySync(threading.Thread):
allKodiSongIds = list()
allEmbySongIds = list()
allEmbySongs = ReadEmbyDB().getMusicSongs()
allEmbySongs = ReadEmbyDB().getMusicSongsTotal()
allKodiSongs = ReadKodiDB().getKodiMusicSongs(connection, cursor)
for kodisong in allKodiSongs: