This commit is contained in:
deniscerri 2025-06-22 20:24:10 +02:00
parent 794bb9a320
commit ff78bcc72e
No known key found for this signature in database
GPG key ID: 95C43D517D830350

View file

@ -246,9 +246,6 @@ class YTDLPUtil(private val context: Context, private val commandTemplateDao: Co
}
val availableSubtitles = mutableListOf<String>()
if (jsonObject.has("automatic_captions")) {
availableSubtitles.addAll(jsonObject.getJSONObject("automatic_captions").keys().asSequence().toList())
}
if (jsonObject.has("subtitles")) {
availableSubtitles.addAll(jsonObject.getJSONObject("subtitles").keys().asSequence().toList())
}