From 622d35e291a8e5988e3d81a2cc922646eb2fb0e2 Mon Sep 17 00:00:00 2001 From: Inrixia Date: Tue, 24 Dec 2024 14:27:43 +1300 Subject: [PATCH] makeTags - add discNumber tag fixes #101 --- plugins/_lib/makeTags.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/_lib/makeTags.ts b/plugins/_lib/makeTags.ts index 72cdfb3..fb92b86 100644 --- a/plugins/_lib/makeTags.ts +++ b/plugins/_lib/makeTags.ts @@ -48,6 +48,7 @@ const resolveArtist = (trackItem: MediaItem, album?: Album) => { export type FlacTags = { title?: string; trackNumber?: string; + discNumber?: string; date?: string; copyright?: string; REPLAYGAIN_TRACK_GAIN?: string; @@ -68,6 +69,7 @@ export type FlacTags = { export const availableTags: (keyof FlacTags)[] = [ "title", "trackNumber", + "discNumber", "date", "copyright", "REPLAYGAIN_TRACK_GAIN", @@ -117,6 +119,8 @@ export const makeTags = async (extTrackItem: ExtendedMediaItem): Promise