修复已知问题,优化用户体验
This commit is contained in:
12
NFLmusic.py
12
NFLmusic.py
@ -39,7 +39,7 @@ def opening_animation():
|
||||
root0.place(x=0, y=0)
|
||||
label_image = Label(root0, image=imagetk8)
|
||||
label_image.place(relx=0.5, rely=0.5, anchor="center")
|
||||
time.sleep(3)
|
||||
time.sleep(2)
|
||||
root0.destroy()
|
||||
root.attributes("-topmost", False)
|
||||
root.overrideredirect(False)
|
||||
@ -142,9 +142,9 @@ def download_music(song_name, choose):
|
||||
progressbar.place(x=10, y=300)
|
||||
br = br_dict[var.get()]
|
||||
if choice == "KUWO":
|
||||
resp = requests.get(f"{url}/?msg={song_name}&n={choose}&br={br}&max=60&pagesize=60")
|
||||
resp = requests.get(f"{url}/?msg={song_name}&n={choose}&br={br}&limit=60")
|
||||
else:
|
||||
resp = requests.get(f"{url}/?name={song_name}&n={choose}&br={br}&max=60&pagesize=60")
|
||||
resp = requests.get(f"{url}/?name={song_name}&n={choose}&br={br}&limit=60")
|
||||
resp.close()
|
||||
if url == "https://api.xingzhige.com/API/Kugou_GN_new":
|
||||
resp_lrc = requests.get(f"https://oiapi.net/API/Kggc/?msg={song_name}&n={choose}&limit=60")
|
||||
@ -262,9 +262,9 @@ def get_data_without_blocking(song_name):
|
||||
button0["state"] = "disabled"
|
||||
songlist.delete(*songlist.get_children())
|
||||
if choice == "KUWO":
|
||||
url1 = f"{url}/?msg={song_name}&max=60&pagesize=60"
|
||||
url1 = f"{url}/?msg={song_name}&limit=60"
|
||||
else:
|
||||
url1 = f"{url}/?name={song_name}&max=60&pagesize=60"
|
||||
url1 = f"{url}/?name={song_name}&limit=60"
|
||||
resp = requests.get(url1)
|
||||
jsondata = resp.json()["data"]
|
||||
resp.close()
|
||||
@ -1154,7 +1154,7 @@ def download_version():
|
||||
copy(version_json[get_treeview_index(version_list, version_download_choice)]["password"])
|
||||
|
||||
|
||||
version = "4.0.8"
|
||||
version = "4.0.9"
|
||||
poem = ""
|
||||
appdata = os.getenv("APPDATA")
|
||||
make_resource()
|
||||
|
Reference in New Issue
Block a user