Skip to content

Commit

Permalink
Add https://l.plex.tv/ url match
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 8, 2025
1 parent d75392a commit 73ff8b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plextraktsync/plex/PlexIdFactory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:"):
Expand Down

0 comments on commit 73ff8b0

Please sign in to comment.