diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index aba8e875..617aef5c 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -360,7 +360,7 @@ class LibrarySync(threading.Thread): # 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']): + grouped_view['Id'] not in grouped_view.get('Path', "")): # Take the name of the userview foldername = grouped_view['Name'] break