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>