From e5b4e81d978a8bcd29258cb7b3d7f63468bea5cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 12 Mar 2024 23:17:55 +0200 Subject: [PATCH] Accept provider none For example: tv.plex.agents.none://22908 --- plextraktsync/plex/PlexGuidProvider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plextraktsync/plex/PlexGuidProvider.py b/plextraktsync/plex/PlexGuidProvider.py index 5215a98376..9e3f3045b3 100644 --- a/plextraktsync/plex/PlexGuidProvider.py +++ b/plextraktsync/plex/PlexGuidProvider.py @@ -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}")