Skip to content

Commit

Permalink
Use guid.local check for local guids
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Mar 14, 2024
1 parent dd1bfa2 commit 30a0183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/commands/unmatched.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def unmatched(no_progress_bar: bool, local: bool):
failed = []
if local:
for pm in walker.get_plex_movies():
if pm.guids[0].provider == "local":
if all(guid.local for guid in pm.guids):
failed.append(pm)
else:
for pm in walker.get_plex_movies():
Expand Down

0 comments on commit 30a0183

Please sign in to comment.