This commit is contained in:
angelblue05 2016-11-04 12:12:27 -05:00
parent e9fb760fa3
commit 012b83f48b
2 changed files with 4 additions and 4 deletions

View file

@ -155,7 +155,7 @@ class Music(Items):
if self.add_updateArtist(item): if self.add_updateArtist(item):
# Add albums # Add albums
all_albums = self.emby.getAlbumsbyArtist(item['Id']) all_albums = self.emby.getAlbumsbyArtist(item['Id'])
self.added_album(all_albums['Items']) self.add_albums(all_albums['Items'])
def add_albums(self, items, total=None): def add_albums(self, items, total=None):
@ -167,7 +167,7 @@ class Music(Items):
if self.add_updateAlbum(item): if self.add_updateAlbum(item):
# Add songs # Add songs
all_songs = self.emby.getSongsbyAlbum(item['Id']) all_songs = self.emby.getSongsbyAlbum(item['Id'])
self.added_song(all_songs['Items']) self.add_songs(all_songs['Items'])
def add_songs(self, items, total=None): def add_songs(self, items, total=None):

View file

@ -202,7 +202,7 @@ class TVShows(Items):
if self.add_update(item, view): if self.add_update(item, view):
# Add episodes # Add episodes
all_episodes = self.emby.getEpisodesbyShow(item['Id']) all_episodes = self.emby.getEpisodesbyShow(item['Id'])
self.added_episode(all_episodes['Items']) self.add_episodes(all_episodes['Items'])
def add_seasons(self, items, total=None, view=None): def add_seasons(self, items, total=None, view=None):
@ -214,7 +214,7 @@ class TVShows(Items):
if self.add_updateSeason(item): if self.add_updateSeason(item):
# Add episodes # Add episodes
all_episodes = self.emby.getEpisodesbySeason(item['Id']) all_episodes = self.emby.getEpisodesbySeason(item['Id'])
self.added_episode(all_episodes['Items']) self.add_episodes(all_episodes['Items'])
def add_episodes(self, items, total=None, view=None): def add_episodes(self, items, total=None, view=None):