mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 18:56:15 +00:00
Revert "Fix: remove override of previously set libraryId and name"
This reverts commit d1fab6cf39
.
This commit is contained in:
parent
748683024d
commit
628debe984
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@ class MusicVideos(KodiDb):
|
||||||
obj['Year'] = int(str(obj['Year'])[:4])
|
obj['Year'] = int(str(obj['Year'])[:4])
|
||||||
|
|
||||||
obj['Path'] = API.get_file_path(obj['Path'])
|
obj['Path'] = API.get_file_path(obj['Path'])
|
||||||
|
obj['LibraryId'] = self.library['Id']
|
||||||
|
obj['LibraryName'] = self.library['Name']
|
||||||
obj['Genres'] = obj['Genres'] or []
|
obj['Genres'] = obj['Genres'] or []
|
||||||
obj['ArtistItems'] = obj['ArtistItems'] or []
|
obj['ArtistItems'] = obj['ArtistItems'] or []
|
||||||
obj['Studios'] = [API.validate_studio(studio) for studio in (obj['Studios'] or [])]
|
obj['Studios'] = [API.validate_studio(studio) for studio in (obj['Studios'] or [])]
|
||||||
|
|
Loading…
Reference in a new issue