Closed nattadasu closed 2 months ago
It seems like ExoPlayer maps id
, in
and ind
to ms-ind
.
https://github.com/androidx/media/blob/d833d59124d795afc146322fe488b2c0d4b9af6a/libraries/common/src/main/java/androidx/media3/common/util/Util.java#L3837
Describe the bug Well this one is really odd. Indonesian subtitle have this weird
ms-ind
(ISO: Malay Indonesian?) tagged by Findroid, making it unable to set preferred subtitle language from app end. The weirder one is Malay was tagged properly by the app instead (msa
ormay
).When comparing to Jellyfin official client, it does not suggest if the server accidentally reported as such, I think?
To Reproduce Steps to reproduce the behavior:
.id.*
or.ind.*
). For better comparison, also include Malay.Expected behavior Findroid should detected correct ISO 639-2/3 code of Indonesian to
ind
. If preferred subtitle language set, it should automatically pick Indonesian.Screenshots![Screenshot_2024-04-22-23-10-22-339_dev jdtech jellyfin](https://github.com/jarnedemeulemeester/findroid/assets/49780229/a42a1808-c0e1-4b56-a2ac-f642accf7f82)
Jellyfin client
Device info (please complete the following information):
Additional context The observation does not test for Indonesian audio track as I used more to native dubbing with preferred subtitle.
MediaInfo of related issue