ui: disable queue adding if no playback

If theres no playback going on, disable the play next/add to queue
options, as they will have no effect. This mostly for QoL purposes.
This commit is contained in:
OxygenCobalt
2022-01-19 06:52:05 -07:00
parent e5901fa9e2
commit 47fca7819f
3 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -76,8 +76,8 @@ sh("git clone https://github.com/oxygencobalt/ExoPlayer.git " + exoplayer_path)
os.chdir(exoplayer_path)
sh("git checkout auxio")
print(INFO + "info:" + NC + " installing flac extension...")
flac_ext_jni_path = os.path.join("extensions", "flac", "src", "main", "jni")
print(INFO + "info:" + NC + " installing FLAC extension...")
os.chdir(flac_ext_jni_path)
sh('curl "https://ftp.osuosl.org/pub/xiph/releases/flac/flac-' + FLAC_VERSION + '.tar.xz" | tar xJ && mv "flac-' + FLAC_VERSION + '" flac')
sh(ndk_path + "/ndk-build APP_ABI=all -j4")