mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix season artwork
This commit is contained in:
parent
5d2c47f84a
commit
89ff748b9d
2 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
version = "171076010"
|
version = "171076011"
|
||||||
|
|
||||||
from movies import Movies
|
from movies import Movies
|
||||||
from musicvideos import MusicVideos
|
from musicvideos import MusicVideos
|
||||||
|
|
|
@ -141,12 +141,12 @@ class TVShows(KodiDb):
|
||||||
self.emby_db.add_reference(*values(obj, QUEM.add_reference_pool_obj))
|
self.emby_db.add_reference(*values(obj, QUEM.add_reference_pool_obj))
|
||||||
LOG.info("POOL %s [%s/%s]", obj['Title'], obj['Id'], obj['SeriesId'])
|
LOG.info("POOL %s [%s/%s]", obj['Title'], obj['Id'], obj['SeriesId'])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.emby_db.get_item_by_id(season['Id'])[0]
|
self.emby_db.get_item_by_id(season['Id'])[0]
|
||||||
except TypeError:
|
except TypeError:
|
||||||
|
|
||||||
self.season(season, obj['ShowId'])
|
self.season(season, obj['ShowId'])
|
||||||
season_episodes.append(season['Id'])
|
season_episodes.append(season['Id'])
|
||||||
else:
|
else:
|
||||||
season_id = self.get_season(*values(obj, QU.get_season_special_obj))
|
season_id = self.get_season(*values(obj, QU.get_season_special_obj))
|
||||||
self.artwork.add(obj['Artwork'], season_id, "season")
|
self.artwork.add(obj['Artwork'], season_id, "season")
|
||||||
|
|
Loading…
Reference in a new issue