mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix update music
This commit is contained in:
parent
18c493909d
commit
50c71c70d4
2 changed files with 8 additions and 2 deletions
|
@ -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']
|
||||
|
|
|
@ -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'])
|
||||
|
|
Loading…
Reference in a new issue