From 62d76098bb61a8557cfe0152346dd26a7034ded7 Mon Sep 17 00:00:00 2001 From: NFL_jiancx <1678594309@qq.com> Date: Thu, 3 Apr 2025 23:51:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(search):=20=E4=BF=AE=E5=A4=8D=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=90=9C=E7=B4=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 search_words替换为 var7.get(),以修复自定义搜索无法找到歌曲的问题 - 更新软件版本号至 4.1.9 --- NFLmusic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NFLmusic.py b/NFLmusic.py index eed4a76..feb928d 100644 --- a/NFLmusic.py +++ b/NFLmusic.py @@ -395,7 +395,7 @@ def playsound(*event): if var7.get() not in ["", lang.get(la, "ui.download.entry.song_name")]: music_dir_filtered = [] for file in music_dir: - if search_words in os.path.splitext(file)[0]: + if var7.get() in os.path.splitext(file)[0]: music_dir_filtered.append(file) music_dir = music_dir_filtered music_dir_without_endswith = [os.path.splitext(file)[0] for file in music_dir if @@ -1238,7 +1238,7 @@ def search_local_song(): time.sleep(1) -version = "4.1.8" +version = "4.1.9" poem = "" appdata = os.getenv("APPDATA") make_resource()