Compare commits
10 Commits
v4.3.0
...
84ece943ee
Author | SHA1 | Date | |
---|---|---|---|
84ece943ee | |||
5a6e7651ed | |||
aa5c31c257 | |||
7e30ddb51a | |||
a7b76fb2fe | |||
a237e3d73d | |||
33fc1144f4 | |||
2b931f7012 | |||
1849a77190 | |||
c76ea6af80 |
34
NFLmusic.py
34
NFLmusic.py
@ -91,7 +91,6 @@ def detect_change():
|
|||||||
jsondata["theme"] != tmla.get(la)[var1.get()] or
|
jsondata["theme"] != tmla.get(la)[var1.get()] or
|
||||||
jsondata["path"] != var2.get()
|
jsondata["path"] != var2.get()
|
||||||
):
|
):
|
||||||
|
|
||||||
changed = True
|
changed = True
|
||||||
|
|
||||||
|
|
||||||
@ -187,6 +186,18 @@ def download_music(song_name, choose):
|
|||||||
music_name = resp.json()["data"]["song_name"]
|
music_name = resp.json()["data"]["song_name"]
|
||||||
singer = resp.json()["data"]["song_singer"]
|
singer = resp.json()["data"]["song_singer"]
|
||||||
music_url = resp.json()["data"]["music_url"]
|
music_url = resp.json()["data"]["music_url"]
|
||||||
|
elif choice == "KUGOU":
|
||||||
|
song_name = song_name.replace(" ", "")
|
||||||
|
resp = requests.get(f"{url}?msg={song_name}&n={choose}&num=60&type=json&br={br}&key=Dragon5B887C2DC41AD03C93F06BAF4B7888C3")
|
||||||
|
resp.close()
|
||||||
|
try:
|
||||||
|
lrc = resp.json()["lyrics"]
|
||||||
|
except Exception as e:
|
||||||
|
print(f"download_kg_lrc: {e}")
|
||||||
|
lrc = ""
|
||||||
|
music_name = resp.json()["title"]
|
||||||
|
singer = resp.json()["singer"]
|
||||||
|
music_url = resp.json()["music_url"]
|
||||||
else:
|
else:
|
||||||
lrc = ""
|
lrc = ""
|
||||||
lrc = lrc.replace("\\n", "\n")
|
lrc = lrc.replace("\\n", "\n")
|
||||||
@ -299,6 +310,8 @@ def get_data_without_blocking(song_name):
|
|||||||
url1 = f"{url}?gm={song_name}&num=60&type=json&key=Dragon5B887C2DC41AD03C93F06BAF4B7888C3"
|
url1 = f"{url}?gm={song_name}&num=60&type=json&key=Dragon5B887C2DC41AD03C93F06BAF4B7888C3"
|
||||||
elif choice == "QQ":
|
elif choice == "QQ":
|
||||||
url1 = f"{url}?msg={song_name}&num=60&type=json&key=Dragon5B887C2DC41AD03C93F06BAF4B7888C3"
|
url1 = f"{url}?msg={song_name}&num=60&type=json&key=Dragon5B887C2DC41AD03C93F06BAF4B7888C3"
|
||||||
|
elif choice == "KUGOU":
|
||||||
|
url1 = f"{url}?msg={song_name.replace(' ', '')}&num=60&type=json&key=Dragon5B887C2DC41AD03C93F06BAF4B7888C3"
|
||||||
resp = requests.get(url1)
|
resp = requests.get(url1)
|
||||||
jsondata = resp.json()["data"]
|
jsondata = resp.json()["data"]
|
||||||
resp.close()
|
resp.close()
|
||||||
@ -316,6 +329,10 @@ def get_data_without_blocking(song_name):
|
|||||||
full_name = jsondata[index]["song_title"]
|
full_name = jsondata[index]["song_title"]
|
||||||
artist = jsondata[index]["song_singer"]
|
artist = jsondata[index]["song_singer"]
|
||||||
album = ""
|
album = ""
|
||||||
|
elif choice == "KUGOU":
|
||||||
|
full_name = jsondata[index]["title"]
|
||||||
|
artist = jsondata[index]["singer"]
|
||||||
|
album = ""
|
||||||
songlist.insert("", "end", values=(full_name, artist, album))
|
songlist.insert("", "end", values=(full_name, artist, album))
|
||||||
except requests.exceptions.JSONDecodeError:
|
except requests.exceptions.JSONDecodeError:
|
||||||
resp_text = resp.text
|
resp_text = resp.text
|
||||||
@ -386,7 +403,7 @@ def delete():
|
|||||||
tkinter.messagebox.showwarning(title=lang.get(la, "mbox.title.delete_fail"),
|
tkinter.messagebox.showwarning(title=lang.get(la, "mbox.title.delete_fail"),
|
||||||
message=lang.get(la, "mbox.text.delete_fail_no_target", ))
|
message=lang.get(la, "mbox.text.delete_fail_no_target", ))
|
||||||
except PermissionError:
|
except PermissionError:
|
||||||
# try:
|
try:
|
||||||
stopmusic()
|
stopmusic()
|
||||||
os.remove(abs_path)
|
os.remove(abs_path)
|
||||||
try:
|
try:
|
||||||
@ -396,10 +413,10 @@ def delete():
|
|||||||
music_dir_without_endswith.remove(listbox1.get(0, END)[listbox1.curselection()[0]])
|
music_dir_without_endswith.remove(listbox1.get(0, END)[listbox1.curselection()[0]])
|
||||||
del music_dir[listbox1.curselection()[0]]
|
del music_dir[listbox1.curselection()[0]]
|
||||||
listbox1.delete(listbox1.curselection()[0])
|
listbox1.delete(listbox1.curselection()[0])
|
||||||
# except Exception as e:
|
except Exception as e:
|
||||||
# print(e, type(e))
|
print(e, type(e))
|
||||||
# tkinter.messagebox.showerror(title=lang.get(la, "mbox.title.delete_fail"),
|
tkinter.messagebox.showerror(title=lang.get(la, "mbox.title.delete_fail"),
|
||||||
# message=lang.get(la, "mbox.text.delete_fail_no_permission", ))
|
message=lang.get(la, "mbox.text.delete_fail_no_permission", ))
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
tkinter.messagebox.showerror(title=lang.get(la, "mbox.title.delete_fail"),
|
tkinter.messagebox.showerror(title=lang.get(la, "mbox.title.delete_fail"),
|
||||||
message=lang.get(la, "mbox.text.delete_fail_not_found", ))
|
message=lang.get(la, "mbox.text.delete_fail_not_found", ))
|
||||||
@ -1279,7 +1296,7 @@ def search_local_song():
|
|||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
|
|
||||||
|
|
||||||
version = "4.3.0"
|
version = "4.3.2"
|
||||||
poem = ""
|
poem = ""
|
||||||
appdata = os.getenv("APPDATA")
|
appdata = os.getenv("APPDATA")
|
||||||
make_resource()
|
make_resource()
|
||||||
@ -1641,8 +1658,9 @@ themeLabel.place(x=10, y=25)
|
|||||||
# 基本设置
|
# 基本设置
|
||||||
repo_dict = {
|
repo_dict = {
|
||||||
"酷我音乐": "KUWO",
|
"酷我音乐": "KUWO",
|
||||||
"网易云音乐": "WANGYIYUN",
|
|
||||||
"QQ音乐": "QQ",
|
"QQ音乐": "QQ",
|
||||||
|
"网易云音乐": "WANGYIYUN",
|
||||||
|
"酷狗音乐": "KUGOU",
|
||||||
}
|
}
|
||||||
repo_dict_reverse = {}
|
repo_dict_reverse = {}
|
||||||
for repo in repo_dict:
|
for repo in repo_dict:
|
||||||
|
@ -5,10 +5,8 @@ usercache = {
|
|||||||
"br": {
|
"br": {
|
||||||
"QQ": "HQ高音质",
|
"QQ": "HQ高音质",
|
||||||
"KUWO": "高品音质",
|
"KUWO": "高品音质",
|
||||||
"KUGOU": "HQ高品音质",
|
|
||||||
"WANGYIYUN": "极高音质",
|
"WANGYIYUN": "极高音质",
|
||||||
"DOUYIN": "HQ高音质",
|
"KUGOU": "高品音质"
|
||||||
"XIAOFEN": "高品音质"
|
|
||||||
},
|
},
|
||||||
"choice": "KUWO",
|
"choice": "KUWO",
|
||||||
"auto_update": True,
|
"auto_update": True,
|
||||||
@ -20,7 +18,8 @@ api_data = {
|
|||||||
"QQ": ["https://sdkapi.hhlqilongzhu.cn/api/QQmusic/",
|
"QQ": ["https://sdkapi.hhlqilongzhu.cn/api/QQmusic/",
|
||||||
{
|
{
|
||||||
"SQ无损": 1,
|
"SQ无损": 1,
|
||||||
"HQ高音质": 2
|
"HQ高音质": 2,
|
||||||
|
"标准音质": 10
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"KUWO": ["https://sdkapi.hhlqilongzhu.cn/api/dgMusic_kuwo/",
|
"KUWO": ["https://sdkapi.hhlqilongzhu.cn/api/dgMusic_kuwo/",
|
||||||
@ -40,6 +39,11 @@ api_data = {
|
|||||||
"超清母带": 7
|
"超清母带": 7
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"KUGOU": ["https://sdkapi.hhlqilongzhu.cn/api/dgMusic_kugou/",
|
||||||
|
{
|
||||||
|
"高品音质": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
4.3.0
|
4.3.2
|
||||||
http://pan.nanfengling.cn/f/4Qc2/update.exe
|
http://pan.nanfengling.cn/f/4Qc2/update.exe
|
||||||
http://pan.nanfengling.cn/f/3mDtN/NFLmusicv4.3.0.exe
|
http://pan.nanfengling.cn/f/gj0UE/NFLmusicv4.3.2.exe
|
@ -1,10 +1,6 @@
|
|||||||
v4.3.0 - 2025.8.30
|
v4.3.2 - 2025.9.6
|
||||||
修复了QQ音乐,酷我音乐源无法使用的问题
|
新增酷狗音乐下载源
|
||||||
移除汽水音乐,小粉音乐,酷狗音乐源
|
修复部分已知问题
|
||||||
修复了音乐删除时异常弹窗的问题
|
|
||||||
修复了路径设置异常保存的问题
|
|
||||||
修复了部分音质无法正常播放的问题
|
|
||||||
(其实就是换成系统关联播放器而已 (ˉ▽ˉ;)...)
|
|
||||||
|
|
||||||
本产品是南凤科技旗下的音乐下载器
|
本产品是南凤科技旗下的音乐下载器
|
||||||
旨在提升用户体验,
|
旨在提升用户体验,
|
||||||
|
Reference in New Issue
Block a user