Skip to content

Commit

Permalink
Accept provider none
Browse files Browse the repository at this point in the history
For example: tv.plex.agents.none://22908
  • Loading branch information
glensc committed Mar 12, 2024
1 parent e94b555 commit e5b4e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plextraktsync/plex/PlexGuidProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create(cls, guid: PlexGuid):
return PlexGuidProviderTMDB(guid)
if guid.provider == "tvdb":
return PlexGuidProviderTVDB(guid)
if guid.provider == "local":
if guid.provider in ["local", "none"]:
return PlexGuidProviderLocal(guid)

raise RuntimeError(f"Unsupported provider: {guid.provider}")

0 comments on commit e5b4e81

Please sign in to comment.