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>
<p>{{ audioFile.embeddedCoverArt || '' }}</p> <p>{{ audioFile.embeddedCoverArt || '' }}</p>
</div> </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>
<div class="w-full sm:w-1/2"> <div class="w-full sm:w-1/2">
<div class="flex mb-1"> <div class="flex mb-1">
@ -62,16 +68,22 @@
</p> </p>
<p>{{ $bytesPretty(audioFile.bitRate || 0, 0) }}</p> <p>{{ $bytesPretty(audioFile.bitRate || 0, 0) }}</p>
</div> </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"> <div class="flex mb-1">
<p class="w-32 text-black-50">{{ $strings.LabelTimeBase }}</p> <p class="w-32 text-black-50">{{ $strings.LabelTimeBase }}</p>
<p>{{ audioFile.timeBase }}</p> <p>{{ audioFile.timeBase }}</p>
</div> </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>
</div> </div>

View file

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