fix(plex-sync): match correct tmdb format for movies

This commit is contained in:
sct
2020-12-22 22:37:18 +09:00
parent ffe9e19c3b
commit 4205e32ae7

View File

@@ -100,7 +100,7 @@ class JobPlexSync {
let tmdbMovie: TmdbMovieDetails | undefined;
const imdbMatch = plexitem.guid.match(imdbRegex);
const tmdbMatch = plexitem.guid.match(tmdbRegex);
const tmdbMatch = plexitem.guid.match(tmdbShowRegex);
if (imdbMatch) {
tmdbMovie = await this.tmdb.getMovieByImdbId({