more debugs

pull/351/head
meisnate12 3 years ago
parent 1ea405bebb
commit cd0265d8f4

@ -769,6 +769,12 @@ class Plex:
return updated return updated
def update_item_from_assets(self, item, overlay=None): 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])
name = os.path.basename(os.path.dirname(item.locations[0]) if self.is_movie else item.locations[0]) name = os.path.basename(os.path.dirname(item.locations[0]) if self.is_movie else item.locations[0])
found_folder = False found_folder = False
uploaded = False uploaded = False

Loading…
Cancel
Save