diff --git a/modules/plex.py b/modules/plex.py index 09449598..290d9b16 100644 --- a/modules/plex.py +++ b/modules/plex.py @@ -771,11 +771,11 @@ class Plex: def update_item_from_assets(self, item, overlay=None): logger.debug(item.locations) logger.debug(item.locations[0]) - self.reload(item) - logger.debug(item.locations) - logger.debug(item.locations[0]) + logger.debug(os.path.dirname(item.locations[0])) + logger.debug(os.path.basename(os.path.dirname(item.locations[0]))) name = os.path.basename(os.path.dirname(item.locations[0]) if self.is_movie else item.locations[0]) + logger.debug(name) found_folder = False uploaded = False for ad in self.asset_directory: