Support forced HAMA IDs when using tvdb uniqueID

This commit is contained in:
BrutuZ 2021-07-06 12:27:31 -03:00 committed by croneter
parent c4d14c02e2
commit cac32cc66a

View file

@ -48,7 +48,7 @@ REGEX_END_DIGITS = re.compile(r'''/(.+)/(\d+)$''')
REGEX_PLEX_DIRECT = re.compile(r'''\.plex\.direct:\d+$''') REGEX_PLEX_DIRECT = re.compile(r'''\.plex\.direct:\d+$''')
# Plex API # Plex API
REGEX_IMDB = re.compile(r'''/(tt\d+)''') REGEX_IMDB = re.compile(r'''/(tt\d+)''')
REGEX_TVDB = re.compile(r'''thetvdb:\/\/(.+?)\?''') REGEX_TVDB = re.compile(r'''(?:the)?tvdb(?::\/\/|[2-5]?-)(\d+?)\?''')
REGEX_TMDB = re.compile(r'''themoviedb:\/\/(.+?)\?''') REGEX_TMDB = re.compile(r'''themoviedb:\/\/(.+?)\?''')
# Plex music # Plex music
REGEX_MUSICPATH = re.compile(r'''^\^(.+)\$$''') REGEX_MUSICPATH = re.compile(r'''^\^(.+)\$$''')