aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis M <23212094+Gadnief@users.noreply.github.com>2026-06-12 12:53:45 +0200
committerDennis M <23212094+Gadnief@users.noreply.github.com>2026-06-12 12:53:45 +0200
commit7e3f758beec799d195e9c73e55e337e96c00e302 (patch)
tree81afbee9d7b82d80fa9afa54207b2534df16354d
parentdd42a121c43721c8984ba0026d6fbed4a526d01f (diff)
Fix AudioDb album description not displayed when only base strDescription field is populated
TheAudioDB returns the English album description in the base strDescription field (no language suffix). The plugin previously only read strDescriptionEN, which is absent from the API response, so the Overview/Description field stayed empty for English (and any other language for which no localized strDescription<LANG> exists). Mirror the fallback already applied to AudioDbArtistProvider in #16606 and add the missing strDescription property to the Album DTO. Fixes #17080
-rw-r--r--MediaBrowser.Providers/Plugins/AudioDb/AudioDbAlbumProvider.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Providers/Plugins/AudioDb/AudioDbAlbumProvider.cs b/MediaBrowser.Providers/Plugins/AudioDb/AudioDbAlbumProvider.cs
index 49ece22a98..0acd44afbe 100644
--- a/MediaBrowser.Providers/Plugins/AudioDb/AudioDbAlbumProvider.cs
+++ b/MediaBrowser.Providers/Plugins/AudioDb/AudioDbAlbumProvider.cs
@@ -142,7 +142,9 @@ namespace MediaBrowser.Providers.Plugins.AudioDb
if (string.IsNullOrWhiteSpace(overview))
{
- overview = result.strDescriptionEN;
+ overview = string.IsNullOrWhiteSpace(result.strDescriptionEN)
+ ? result.strDescription
+ : result.strDescriptionEN;
}
item.Overview = (overview ?? string.Empty).StripHtml();
@@ -240,6 +242,8 @@ namespace MediaBrowser.Providers.Plugins.AudioDb
public string strAlbumCDart { get; set; }
+ public string strDescription { get; set; }
+
public string strDescriptionEN { get; set; }
public string strDescriptionDE { get; set; }