Skip to content

Commit

Permalink
Fix: remove override of previously set libraryId and name
Browse files Browse the repository at this point in the history
Which caused new videos not to be added to library on automatic update
  • Loading branch information
GregoireDruant committed Jun 13, 2023
1 parent eb68918 commit 9bfbe7e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions jellyfin_kodi/objects/musicvideos.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ def musicvideo(self, item, e_item):
obj['Year'] = int(str(obj['Year'])[:4])

obj['Path'] = API.get_file_path(obj['Path'])
obj['LibraryId'] = self.library['Id']
obj['LibraryName'] = self.library['Name']
obj['Genres'] = obj['Genres'] or []
obj['ArtistItems'] = obj['ArtistItems'] or []
obj['Studios'] = [API.validate_studio(studio) for studio in (obj['Studios'] or [])]
Expand Down

0 comments on commit 9bfbe7e

Please sign in to comment.