Commit graph

13 commits

Author SHA1 Message Date
Jannik Mahr
cca818fabb
Improve display of "DTS:HD" and "DTS:HD MA" audio tracks (#1064)
<!-- By submitting this pull request, you acknowledge that you have read
the [contributing
guide](https://github.com/damontecres/Wholphin/blob/main/CONTRIBUTING.md,
including the AI/LLM policy, and [developer's
guide](https://github.com/damontecres/Wholphin/blob/main/DEVELOPMENT.md)
-->

## Description
The formatter for audio codecs did only match the profile of high
definition DTS streams against "DTS:HD" or "DTS:X". At least for DTS:HD
there are also cases where the profile contains "DTS-HD" with "-"
instead of ":".

Made the matcher more generic by allowing both "-"" or ":"" and also
checking if the profile contains "MA" for Master Audio tracks.

This will now correctly display the following high definition DTS types
in the UI:
- DTS:HD
- DTS:HD MA
- DTS:X

**Note:** This is my first public pull request ever, let me know if I
did it wrong :)

### Related issues
Relates to (but does not fix):
https://github.com/damontecres/Wholphin/issues/1057

### Testing
Tested on a Fire TV Cube Gen 3 with multiple files containing DTS HD
audio tracks.

---------

Co-authored-by: Damontecres <damontecres@gmail.com>
2026-03-10 23:44:44 -04:00
Fjuro
3bdd177230
Translated using Weblate (Czech)
Currently translated at 100.0% (472 of 472 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-02-24 17:37:27 +00:00
Fjuro
0a4f21cc11
Translated using Weblate (Czech)
Currently translated at 100.0% (416 of 416 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-02-24 17:37:27 +00:00
Fjuro
12499d1f38
Translated using Weblate (Czech)
Currently translated at 100.0% (415 of 415 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-02-20 02:51:03 +00:00
Fjuro
ce79afcd68
Translated using Weblate (Czech)
Currently translated at 100.0% (414 of 414 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-02-20 02:51:03 +00:00
Fjuro
fe9968227f
Translated using Weblate (Czech)
Currently translated at 100.0% (387 of 387 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-02-20 02:51:02 +00:00
Fjuro
2cfd130853
Translated using Weblate (Czech)
Currently translated at 100.0% (384 of 384 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-02-10 19:59:42 +00:00
Fjuro
0f33f14972
Translated using Weblate (Czech)
Currently translated at 100.0% (383 of 383 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-02-10 19:59:41 +00:00
Fjuro
e632c76ff2
Translated using Weblate (Czech)
Currently translated at 100.0% (362 of 362 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-01-30 16:34:17 +00:00
veisen
82744322e9
Translated using Weblate (Czech)
Currently translated at 100.0% (361 of 361 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-01-30 16:34:17 +00:00
veisen
1d5afa7809
Translated using Weblate (Czech)
Currently translated at 100.0% (361 of 361 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-01-30 16:34:17 +00:00
Fjuro
55b6861dba
Translated using Weblate (Czech)
Currently translated at 3.0% (11 of 360 strings)

Translation: Wholphin/Wholphin
Translate-URL: https://translate.codeberg.org/projects/wholphin/wholphin/cs/
2026-01-19 16:39:37 +00:00
Fjuro
355b441ae8
Added translation using Weblate (Czech) 2026-01-19 16:39:37 +00:00