Skip to content

Commit

Permalink
Reload files before inspect files
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Aug 19, 2024
1 parent c585b88 commit d92112c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plextraktsync/commands/inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def inspect_media(plex_id: PlexId):
)

print("Parts:")
pm.item.reload(checkFiles=True)
for index, part in enumerate(pm.parts, start=1):
size = naturalsize(part.size, binary=True)
file_link = f"[link=file://{quote_plus(part.file)}]{escape(part.file)}[/link]"
Expand Down

0 comments on commit d92112c

Please sign in to comment.