mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-12-13 02:23:18 +00:00
Remove content with update library
Now remove irrelevant content as well
This commit is contained in:
parent
c63bfd1346
commit
586717c7a1
6 changed files with 121 additions and 18 deletions
|
|
@ -30,6 +30,7 @@ class MusicVideos(KodiDb):
|
|||
|
||||
self.emby_db = emby_db.EmbyDatabase(embydb.cursor)
|
||||
self.objects = Objects()
|
||||
self.item_ids = []
|
||||
|
||||
KodiDb.__init__(self, videodb.cursor)
|
||||
|
||||
|
|
@ -136,6 +137,7 @@ class MusicVideos(KodiDb):
|
|||
self.add_people(*values(obj, QU.add_people_mvideo_obj))
|
||||
self.add_streams(*values(obj, QU.add_streams_obj))
|
||||
self.artwork.add(obj['Artwork'], obj['MvideoId'], "musicvideo")
|
||||
self.item_ids.append(obj['Id'])
|
||||
|
||||
return not update
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue