mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-05-28 12:30:14 +02:00
Fixed quality selection when clicking download with HLS selected by default.
This commit is contained in:
parent
e0bf9d2a7c
commit
220f50d3bb
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user