From 4f688e7d3516ae8d7ae843f81d7dea090ff8b50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Wed, 8 Jan 2025 17:59:12 +0200 Subject: [PATCH] Add https://l.plex.tv/ url match --- plextraktsync/plex/PlexIdFactory.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plextraktsync/plex/PlexIdFactory.py b/plextraktsync/plex/PlexIdFactory.py index 782de3088f..e78753a179 100644 --- a/plextraktsync/plex/PlexIdFactory.py +++ b/plextraktsync/plex/PlexIdFactory.py @@ -12,6 +12,8 @@ def create(cls, key: str | int): return PlexId(int(key)) elif key.startswith("https://trakt.tv/"): return cls.from_trakt_url(key) + elif key.startswith("https://l.plex.tv/"): + return cls.from_plex_redirect_url(key) elif key.startswith("https://watch.plex.tv/"): return cls.from_plex_watch_url(key) elif key.startswith("https:") or key.startswith("http:"):