diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index 35eb26b3..102c7b2b 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -357,8 +357,10 @@ 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 if (grouped_view['Type'] == "UserView" and - grouped_view.get('CollectionType') == mediatype): + grouped_view.get('CollectionType') == mediatype and + grouped_view['Id'] not in grouped_view['Path']): # Take the name of the userview foldername = grouped_view['Name'] break