feat: Add explicit status for Navidrome and OpenSubsonic (#1220)

* add navidrome explicit status

* add ExplicitStatus enum and support opensubsonic

* add explicit status to cards
This commit is contained in:
Lyall
2025-10-26 13:48:45 +00:00
committed by GitHub
parent 68f242d208
commit 4dd52b0cef
16 changed files with 131 additions and 10 deletions
@@ -245,6 +245,7 @@ const normalizeSong = (
discNumber: (item.ParentIndexNumber && item.ParentIndexNumber) || 1,
discSubtitle: null,
duration: item.RunTimeTicks / 10000,
explicitStatus: null,
gain:
item.NormalizationGain !== undefined
? {
@@ -317,6 +318,7 @@ const normalizeAlbum = (
comment: null,
createdAt: item.DateCreated,
duration: item.RunTimeTicks / 10000,
explicitStatus: null,
genres: item.GenreItems?.map((entry) => ({
id: entry.Id,
imageUrl: null,