From dbe52c165832c9fef86a409394f6d50165ab3d1f Mon Sep 17 00:00:00 2001 From: cidoku Date: Thu, 12 Jun 2025 22:58:13 -0400 Subject: [PATCH] revert changes to playmusic --- gameview.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gameview.py b/gameview.py index 4364a46..2922700 100644 --- a/gameview.py +++ b/gameview.py @@ -3571,11 +3571,11 @@ class GUI(QtGui.QWidget): if not mus.endswith(".mp3") and "===MUSIC START===.mp3" in self.musiclist: #vidya workaround mus += ".mp3" musl = mus.lower() - musp = urllib.unquote(urlparse(musl).path)[1:] + #musp = urllib.unquote(urlparse(musl).path)[1:] self.stopMusic() - if exists(AOpath + 'sounds/music/' + musp): + if exists(AOpath + 'sounds/music/' + musl): self.music = audio.loadhandle(False, AOpath + 'sounds/music/' + musl, 0, 0, BASS_SAMPLE_LOOP) audio.sethandleattr(self.music, BASS_ATTRIB_VOL, self.musicslider.value() / 100.0) audio.playhandle(self.music, True)