Fix subtitle language code

This commit is contained in:
Jan Hamal Dvořák 2025-03-09 22:31:34 +01:00
parent 82cb252eb5
commit 8be5a56ac5

View file

@ -164,4 +164,4 @@ class VideoPlayer(GObject.Object):
return str(track_index)
found, lang = caps.get_string("language-code")
return f"{track_index} ({lang})" if found else str(track_index)
return lang if found else "???"