mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-05-29 21:10:24 +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 {
|
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();
|
menu.hide();
|
||||||
val subtitleToDownload = selectedSubtitle;
|
val subtitleToDownload = selectedSubtitle;
|
||||||
if(selectedAudio != null || !requiresAudio) {
|
if(selectedAudio != null || !requiresAudio) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user