Fix update music

This commit is contained in:
angelblue05 2015-12-29 17:46:42 -06:00
parent 18c493909d
commit 50c71c70d4
2 changed files with 8 additions and 2 deletions

View file

@ -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']

View file

@ -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'])