Fixed quality selection when clicking download with HLS selected by default.

This commit is contained in:
Koen J 2024-08-30 13:25:47 +02:00
parent e0bf9d2a7c
commit 220f50d3bb

View file

@ -612,6 +612,18 @@ class UISlideOverlays {
}
menu.onOK.subscribe {
val sv = selectedVideo
if (sv is IHLSManifestSource) {
showHlsPicker(video, sv, sv.url, container)
return@subscribe
}
val sa = selectedAudio
if (sa is IHLSManifestAudioSource) {
showHlsPicker(video, sa, sa.url, container)
return@subscribe
}
menu.hide();
val subtitleToDownload = selectedSubtitle;
if(selectedAudio != null || !requiresAudio) {