Display sampleRate and profile in audio file modal

This commit is contained in:
Quentin King 2026-01-03 02:25:35 -06:00
parent 122fc34a75
commit c19f0aaa79
2 changed files with 20 additions and 6 deletions

View file

@ -42,6 +42,12 @@
</p>
<p>{{ audioFile.embeddedCoverArt || '' }}</p>
</div>
<div v-if="audioFile.language" class="flex mb-1">
<p class="w-32 text-black-50">
{{ $strings.LabelLanguage }}
</p>
<p>{{ audioFile.language }}</p>
</div>
</div>
<div class="w-full sm:w-1/2">
<div class="flex mb-1">
@ -62,16 +68,22 @@
</p>
<p>{{ $bytesPretty(audioFile.bitRate || 0, 0) }}</p>
</div>
<div class="flex mb-1">
<p class="w-32 text-black-50">
{{ $strings.LabelSampleRate }}
</p>
<p>{{ audioFile.sampleRate ? `${audioFile.sampleRate} Hz` : '' }}</p>
</div>
<div v-if="audioFile.profile" class="flex mb-1">
<p class="w-32 text-black-50">
{{ $strings.LabelProfile }}
</p>
<p>{{ audioFile.profile }}</p>
</div>
<div class="flex mb-1">
<p class="w-32 text-black-50">{{ $strings.LabelTimeBase }}</p>
<p>{{ audioFile.timeBase }}</p>
</div>
<div v-if="audioFile.language" class="flex mb-1">
<p class="w-32 text-black-50">
{{ $strings.LabelLanguage }}
</p>
<p>{{ audioFile.language || '' }}</p>
</div>
</div>
</div>

View file

@ -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",