content notification

This commit is contained in:
angelblue05 2018-10-04 00:41:31 -05:00
parent 969629ec37
commit c63bfd1346
9 changed files with 79 additions and 21 deletions

View file

@ -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.

View file

@ -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.

View file

@ -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.

View file

@ -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.