chore: tmdb client cleanup
This commit is contained in:
@@ -6,4 +6,5 @@ enum MediaType: string
|
||||
{
|
||||
case Movie = 'movies';
|
||||
case TvShow = 'tvshows';
|
||||
case TvEpisode = 'tvepisode';
|
||||
}
|
||||
|
||||
@@ -6,6 +6,6 @@ class ImdbMatcher
|
||||
{
|
||||
public static function isMatch(string $imdbId): bool
|
||||
{
|
||||
return preg_match('/^tt\d{7}$/', $imdbId);
|
||||
return preg_match('/^tt\d{7,20}$/', $imdbId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user