music: default to codecs in format

Only show codecs in the "format" field, if we are able to extract them.

This is primarily for consistency, as there is no way for us to
determine the container format outside of an extension (which could not
be sane).
This commit is contained in:
OxygenCobalt
2022-06-13 09:41:52 -06:00
parent cb8c3306eb
commit e914da4bd1
8 changed files with 76 additions and 37 deletions
+2 -2
View File
@@ -9,8 +9,8 @@
<string name="fmt_number" translatable="false">%d</string>
<!-- Codec Namespace | Format names -->
<string name="cdc_ogg_vorbis">Ogg Vorbis</string>
<string name="cdc_ogg_opus">Ogg Opus</string>
<string name="cdc_vorbis">Vorbis</string>
<string name="cdc_opus">Opus</string>
<string name="cdc_wav">Microsoft WAVE</string>
<!-- Note: These are stopgap measures until we make the path code rely on components! -->
+2
View File
@@ -185,6 +185,8 @@
<string name="cdc_mp4">MPEG-4 Audio</string>
<string name="cdc_ogg">Ogg Audio</string>
<string name="cdc_mka">Matroska Audio</string>
<string name="cdc_aac">Advanced Audio Coding (AAC)</string>
<string name="cdc_flac">Free Lossless Audio Codec (FLAC)</string>
<!-- Color Label namespace | Accent names -->
<string name="clr_red">Red</string>