Skip to content

Commit

Permalink
Merge pull request #1863 from glensc/unmwatched-local
Browse files Browse the repository at this point in the history
Refactor: Use guid.local check for local guids
  • Loading branch information
glensc authored Mar 16, 2024
2 parents dd1bfa2 + 30a0183 commit 02aa425
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 02aa425

Please sign in to comment.