mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-21 20:13:05 +00:00
[23] Reload episodes during reset
This commit is contained in:
parent
7da522f2f8
commit
aa5fc670c4
3 changed files with 7 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.0.1-develop22
|
||||
2.0.1-develop23
|
||||
|
|
|
@ -778,6 +778,11 @@ class Operations:
|
|||
logger.error(f"TMDb Error: An Episode of Season {season.seasonNumber} was Not Found")
|
||||
|
||||
for episode in self.library.query(season.episodes):
|
||||
try:
|
||||
episode = self.library.reload(episode)
|
||||
except Failed:
|
||||
logger.error(f"S{season.seasonNumber}E{episode.episodeNumber} {episode.title} Failed to Reload from Plex")
|
||||
continue
|
||||
try:
|
||||
episode_poster, episode_background, _, _ = self.library.find_item_assets(episode, item_asset_directory=item_dir, folder_name=name)
|
||||
except Failed:
|
||||
|
|
|
@ -8,7 +8,7 @@ PlexAPI==4.15.13
|
|||
psutil==5.9.8
|
||||
python-dotenv==1.0.1
|
||||
python-dateutil==2.9.0.post0
|
||||
requests==2.31.0
|
||||
requests==2.32.1
|
||||
retrying==1.3.4
|
||||
ruamel.yaml==0.18.6
|
||||
schedule==1.2.1
|
||||
|
|
Loading…
Reference in a new issue