Define the music cursor

Make sure we use the proper cursor for music when using the incremental
sync. Fix for artist table not found database error.
This commit is contained in:
angelblue05 2016-01-04 21:58:45 -06:00
commit 2c7a0c0b65
2 changed files with 12 additions and 11 deletions

View file

@ -357,7 +357,7 @@ class LibrarySync(threading.Thread):
if folderid in groupedFolders:
# Media folders are grouped into userview
for grouped_view in grouped_views:
# This is only reserved for the detection or grouped views
# This is only reserved for the detection of grouped views
if (grouped_view['Type'] == "UserView" and
grouped_view.get('CollectionType') == mediatype and
grouped_view['Id'] not in grouped_view['Path']):