Allow tmdb as an alias for tmdbid provider id (#16433)

Allow tmdb as an alias for tmdbid provider id
This commit is contained in:
theguymadmax
2026-05-07 14:04:28 -04:00
committed by GitHub
parent bc074b5283
commit d636b82e83

View File

@@ -70,6 +70,16 @@ namespace Emby.Server.Implementations.Library
return match ? imdbId.ToString() : null;
}
// Allow tmdb as an alias for tmdbid
if (attribute.Equals("tmdbid", StringComparison.OrdinalIgnoreCase))
{
var tmdbValue = str.GetAttributeValue("tmdb");
if (tmdbValue is not null)
{
return tmdbValue;
}
}
return null;
}