Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update pyncmd api #1284

Closed

Conversation

chris7395328
Copy link
Contributor

@chris7395328 chris7395328 commented Oct 29, 2023

csm.sayqz.com这个api支持超清母带级别,因此在前面加入参数“jymaster”
另外 全部[level]参数:standard=>标准, exhigh=>极高, lossless=>无损, hires=>Hi-Res, jyeffect=>高清环绕声, sky=>沉浸环绕声, jymaster=>超清母带
感觉环绕声没啥必要就是了

例:https://csm.sayqz.com/api/?type=apiSongUrlV1&id=2074798037&level=jymaster

api支持超清母带级别,因此在前面加入参数
@1715173329
Copy link
Member

NAK.

@chris7395328
Copy link
Contributor Author

chris7395328 commented Oct 30, 2023

NAK.

发现直接把hires更改成jymaster就可以了,如果歌曲没有母带音质api会自动顺延下无损至高音质,测试过没问题了,可以获取到170M以上的flac文件

DEBUG: (request) Start requesting https://csm.sayqz.com/api/?type=apiSongUrlV1&id=29019227&level=jymaster
DEBUG: (request) Start requesting http://m7.music.126.net/20231030124545/ade4b5791290fee7b86f9cd14b789697/ymusic/obj/w5zDlMODwrDDiGjCn8Ky/29534001561/e0c4/72d7/fcd6/3970494bb17b6a8150f4d9f8f07216e9.flac
DEBUG: (provider/match) The matched song is:
size: 174454544
br: 999000
url: "http://m7.music.126.net/20231030124545/ade4b5791290fee7b86f9cd14b789697/ymusic/obj/w5zDlMODwrDDiGjCn8Ky/29534001561/e0c4/72d7/fcd6/3970494bb17b6a8150f4d9f8f07216e9.flac"
md5: "3970494bb17b6a8150f4d9f8f07216e9"
DEBUG: (provider/match) The audio matched!
source: "pyncmd"
info: {
"name": "Sugar",
"id": 29019227,
"alias": [],
"duration": 235514,
"album": {
"name": "V",
"id": 2980029
},
"artists": [
{
"name": "Maroon 5",
"id": 96266
}
],
"keyword": "Sugar - Maroon 5"
}

@1715173329
Copy link
Member

发现直接把hires更改成jymaster就可以了,如果歌曲没有母带音质api会自动顺延下无损至高音质

那可以,只要不 fallback 到环绕音即可。

@chris7395328
Copy link
Contributor Author

发现直接把hires更改成jymaster就可以了,如果歌曲没有母带音质api会自动顺延下无损至高音质

那可以,只要不 fallback 到环绕音即可。

后来去查了下,原来网易云原生最高的音质其实也就hires,母带和环绕都是ai分离和升频的,感觉纯粹只是增加了体积,多了些非原生的音染,感觉确实没啥必要(其实是流量会爆炸哈哈哈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants