mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-16 14:25:09 +00:00
content notification
This commit is contained in:
parent
969629ec37
commit
c63bfd1346
9 changed files with 79 additions and 21 deletions
|
@ -129,6 +129,8 @@ class Movies(KodiDb):
|
|||
|
||||
self.item_ids.append(obj['Id'])
|
||||
|
||||
return not update
|
||||
|
||||
def movie_add(self, obj):
|
||||
|
||||
''' Add object to kodi.
|
||||
|
|
|
@ -294,6 +294,8 @@ class Music(KodiDb):
|
|||
if obj['SongAlbumId'] is None:
|
||||
self.artwork.add(obj['Artwork'], obj['AlbumId'], "album")
|
||||
|
||||
return not update
|
||||
|
||||
def song_add(self, obj):
|
||||
|
||||
''' Add object to kodi.
|
||||
|
|
|
@ -137,6 +137,8 @@ class MusicVideos(KodiDb):
|
|||
self.add_streams(*values(obj, QU.add_streams_obj))
|
||||
self.artwork.add(obj['Artwork'], obj['MvideoId'], "musicvideo")
|
||||
|
||||
return not update
|
||||
|
||||
def musicvideo_add(self, obj):
|
||||
|
||||
''' Add object to kodi.
|
||||
|
|
|
@ -346,6 +346,8 @@ class TVShows(KodiDb):
|
|||
self.update_file(*values(temp_obj, QU.update_file_obj))
|
||||
self.add_playstate(*values(temp_obj, QU.add_bookmark_obj))
|
||||
|
||||
return not update
|
||||
|
||||
def episode_add(self, obj):
|
||||
|
||||
''' Add object to kodi.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue