调整好一点的画质

This commit is contained in:
liuwei
2026-01-26 15:28:54 +08:00
parent bf64fb5782
commit f46a3f6b03
2 changed files with 2 additions and 2 deletions

View File

@@ -380,7 +380,7 @@ class GuessSongPlugin(MessagePluginInterface):
random_song = random.choice(songs)
song_id = str(random_song.get("id", ""))
base = self.music_api.split("?")[0].rstrip("/")
detail_url = f"{base}/Song_V1?url={song_id}&level=standard&type=json"
detail_url = f"{base}/Song_V1?url={song_id}&level=exhigh&type=json"
detail_resp = requests.get(detail_url, timeout=15)
if detail_resp.status_code != 200:
self.LOG.error(f"详情请求失败,状态码: {detail_resp.status_code}")

View File

@@ -164,7 +164,7 @@ class MusicPlugin(MessagePluginInterface):
detail_url = self.song_api_url.format(url=song_id, level="standard", type="json")
else:
base = self.music_api_url.split("?")[0].rstrip("/")
detail_url = f"{base}/Song_V1?url={song_id}&level=standard&type=json"
detail_url = f"{base}/Song_V1?url={song_id}&level=exhigh&type=json"
detail_resp = requests.get(detail_url, timeout=15)
if detail_resp.status_code != 200:
self.LOG.error(f"详情请求失败,状态码: {detail_resp.status_code}")