From d636b82e83f20d4a0387673a4f11916a5ee13837 Mon Sep 17 00:00:00 2001 From: theguymadmax Date: Thu, 7 May 2026 14:04:28 -0400 Subject: Allow tmdb as an alias for tmdbid provider id (#16433) Allow tmdb as an alias for tmdbid provider id --- Emby.Server.Implementations/Library/PathExtensions.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Emby.Server.Implementations/Library/PathExtensions.cs') diff --git a/Emby.Server.Implementations/Library/PathExtensions.cs b/Emby.Server.Implementations/Library/PathExtensions.cs index fc63251ad0..cfa3e7c31d 100644 --- a/Emby.Server.Implementations/Library/PathExtensions.cs +++ b/Emby.Server.Implementations/Library/PathExtensions.cs @@ -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; } -- cgit v1.2.3