@ -512,9 +512,9 @@ class Operations:
new_poster = None
new_background = None
if self . library . mass_poster_update :
self . library . poster_update ( item , new_poster , tmdb = tmdb_item . poster_url if tmdb_item else None )
self . library . poster_update ( item , new_poster , tmdb = tmdb_item . poster_url if tmdb_item else None , title = item . title )
if self . library . mass_background_update :
self . library . background_update ( item , new_background , tmdb = tmdb_item . backdrop_url if tmdb_item else None )
self . library . background_update ( item , new_background , tmdb = tmdb_item . backdrop_url if tmdb_item else None , title = item . title )
if self . library . is_show and (
( self . library . mass_poster_update and
@ -536,11 +536,12 @@ class Operations:
except Failed :
season_poster = None
season_background = None
season_title = f " S { season . seasonNumber } { season . title } "
tmdb_poster = tmdb_seasons [ season . seasonNumber ] . poster_url if season . seasonNumber in tmdb_seasons else None
if self . library . mass_poster_update :
self . library . poster_update ( season , season_poster , tmdb = tmdb_poster , title = season . title if season else None )
self . library . poster_update ( season , season_poster , tmdb = tmdb_poster , title = season _ title if season else None )
if self . library . mass_background_update :
self . library . background_update ( season , season_background , title = season . title if season else None )
self . library . background_update ( season , season_background , title = season _ title if season else None )
if ( self . library . mass_poster_update and self . library . mass_poster_update [ " episodes " ] ) or \
( self . library . mass_background_update and self . library . mass_background_update [ " episodes " ] ) :
@ -559,11 +560,12 @@ class Operations:
except Failed :
episode_poster = None
episode_background = None
episode_title = f " S { season . seasonNumber } E { episode . episodeNumber } { episode . title } "
tmdb_poster = tmdb_episodes [ episode . episodeNumber ] . still_url if episode . episodeNumber in tmdb_episodes else None
if self . library . mass_poster_update :
self . library . poster_update ( episode , episode_poster , tmdb = tmdb_poster , title = episode . title if episode else None )
self . library . poster_update ( episode , episode_poster , tmdb = tmdb_poster , title = episode _ title if episode else None )
if self . library . mass_background_update :
self . library . background_update ( episode , episode_background , title = episode . title if episode else None )
self . library . background_update ( episode , episode_background , title = episode _ title if episode else None )
episode_ops = [
self . library . mass_episode_audience_rating_update , self . library . mass_episode_critic_rating_update ,