From c19f0aaa7985ce93d0bf7515f48b8883d86ebea7 Mon Sep 17 00:00:00 2001 From: Quentin King Date: Sat, 3 Jan 2026 02:25:35 -0600 Subject: [PATCH] Display sampleRate and profile in audio file modal --- .../components/modals/AudioFileDataModal.vue | 24 ++++++++++++++----- client/strings/en-us.json | 2 ++ 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/client/components/modals/AudioFileDataModal.vue b/client/components/modals/AudioFileDataModal.vue index 2b41c7214..d886c9c8c 100644 --- a/client/components/modals/AudioFileDataModal.vue +++ b/client/components/modals/AudioFileDataModal.vue @@ -42,6 +42,12 @@

{{ audioFile.embeddedCoverArt || '' }}

+
+

+ {{ $strings.LabelLanguage }} +

+

{{ audioFile.language }}

+
@@ -62,16 +68,22 @@

{{ $bytesPretty(audioFile.bitRate || 0, 0) }}

+
+

+ {{ $strings.LabelSampleRate }} +

+

{{ audioFile.sampleRate ? `${audioFile.sampleRate} Hz` : '' }}

+
+
+

+ {{ $strings.LabelProfile }} +

+

{{ audioFile.profile }}

+

{{ $strings.LabelTimeBase }}

{{ audioFile.timeBase }}

-
-

- {{ $strings.LabelLanguage }} -

-

{{ audioFile.language || '' }}

-
diff --git a/client/strings/en-us.json b/client/strings/en-us.json index fb2bcb281..d1bee0e50 100644 --- a/client/strings/en-us.json +++ b/client/strings/en-us.json @@ -528,6 +528,7 @@ "LabelPrefixesToIgnore": "Prefixes to Ignore (case insensitive)", "LabelPreventIndexing": "Prevent your feed from being indexed by iTunes and Google podcast directories", "LabelPrimaryEbook": "Primary ebook", + "LabelProfile": "Profile", "LabelProgress": "Progress", "LabelProvider": "Provider", "LabelProviderAuthorizationValue": "Authorization Header Value", @@ -562,6 +563,7 @@ "LabelRemoveMetadataFile": "Remove metadata files in library item folders", "LabelRemoveMetadataFileHelp": "Remove all metadata.json and metadata.abs files in your {0} folders.", "LabelRowsPerPage": "Rows per page", + "LabelSampleRate": "Sample Rate", "LabelSearchTerm": "Search Term", "LabelSearchTitle": "Search Title", "LabelSearchTitleOrASIN": "Search Title or ASIN",