|
|
@ -167,9 +167,9 @@ class Overlays:
|
|
|
|
except Failed as e:
|
|
|
|
except Failed as e:
|
|
|
|
logger.error(e)
|
|
|
|
logger.error(e)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
poster = next((p for p in item.posters() if p.provider == "local"), None)
|
|
|
|
temp_poster = next((p for p in item.posters() if p.provider == "local"), None)
|
|
|
|
if poster:
|
|
|
|
if temp_poster:
|
|
|
|
new_backup = f"{self.library.url}{poster.key}&X-Plex-Token={self.library.token}"
|
|
|
|
new_backup = f"{self.library.url}{temp_poster.key}&X-Plex-Token={self.library.token}"
|
|
|
|
if not new_backup:
|
|
|
|
if not new_backup:
|
|
|
|
logger.error("Overlay Error: Reset Failed")
|
|
|
|
logger.error("Overlay Error: Reset Failed")
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|