From 4205e32ae71bc18c07209f1c82e6af1cb5f01335 Mon Sep 17 00:00:00 2001 From: sct Date: Tue, 22 Dec 2020 22:37:18 +0900 Subject: [PATCH] fix(plex-sync): match correct tmdb format for movies --- server/job/plexsync/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/job/plexsync/index.ts b/server/job/plexsync/index.ts index 50ce766cb..3f600c383 100644 --- a/server/job/plexsync/index.ts +++ b/server/job/plexsync/index.ts @@ -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({