diff --git a/resources/lib/itemtypes.py b/resources/lib/itemtypes.py index faf7438a..6a9f7904 100644 --- a/resources/lib/itemtypes.py +++ b/resources/lib/itemtypes.py @@ -1882,6 +1882,8 @@ class Music(Items): def added(self, items, pdialog): + total = len(items) + count = 0 for artist in items: title = artist['Name'] @@ -1896,6 +1898,8 @@ class Music(Items): def added_album(self, items, pdialog): + total = len(items) + count = 0 for album in items: title = album['Name'] @@ -1910,6 +1914,8 @@ class Music(Items): def added_song(self, items, pdialog): + total = len(items) + count = 0 for song in items: title = song['Name'] diff --git a/resources/lib/read_embyserver.py b/resources/lib/read_embyserver.py index 921b7fb2..f05e9e76 100644 --- a/resources/lib/read_embyserver.py +++ b/resources/lib/read_embyserver.py @@ -81,7 +81,7 @@ class Read_EmbyServer(): "CommunityRating,OfficialRating,CumulativeRunTimeTicks," "Metascore,AirTime,DateCreated,MediaStreams,People,Overview," "CriticRating,CriticRatingSummary,Etag,ProductionLocations," - "OfficialRating,Tags,ProviderIds,RemoteTrailers" + "Tags,ProviderIds,RemoteTrailers" ) } result = self.doUtils.downloadUrl(url, parameters=params) @@ -182,7 +182,7 @@ class Read_EmbyServer(): "CommunityRating,OfficialRating,CumulativeRunTimeTicks," "Metascore,AirTime,DateCreated,MediaStreams,People,Overview," "CriticRating,CriticRatingSummary,Etag,ShortOverview,ProductionLocations," - "OfficialRating,Tags,ProviderIds,ParentId,RemoteTrailers" + "Tags,ProviderIds,ParentId,RemoteTrailers" ) result = doUtils.downloadUrl(url, parameters=params) items['Items'].extend(result['Items'])