Skip to content

Commit

Permalink
Merge pull request #276 from glensc/skip-none-debug
Browse files Browse the repository at this point in the history
Log as debug for none/local provider items
  • Loading branch information
glensc authored Apr 19, 2021
2 parents 59ed312 + 9eefa2c commit 06ee4af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plex_trakt_sync/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def resolve(self, pm: PlexLibraryItem, tm=None):
return None

if provider in ["local", "none", "agents.none"]:
logger.debug(f"Skipping {pm}: Provider {provider} has no external Id")

return None

if provider not in ["imdb", "tmdb", "tvdb"]:
Expand Down

0 comments on commit 06ee4af

Please sign in to comment.