mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 12:51:04 +00:00
NeteaseMusic修复一个小bug
This commit is contained in:
parent
2351940f14
commit
a7d46a88c6
@ -282,10 +282,10 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "neteasemusic",
|
"name": "neteasemusic",
|
||||||
"version": "3.9",
|
"version": "4.0",
|
||||||
"section": "daily",
|
"section": "daily",
|
||||||
"maintainer": "TNTcraftHIM",
|
"maintainer": "TNTcraftHIM",
|
||||||
"size": "28.9 kb",
|
"size": "29.0 kb",
|
||||||
"supported": true,
|
"supported": true,
|
||||||
"des-short": "网易云搜歌/随机热歌/点歌",
|
"des-short": "网易云搜歌/随机热歌/点歌",
|
||||||
"des": "可以在线搜索并且快速点歌(可回复信息点歌),也支持随机热歌功能,支持解锁VIP/灰色歌曲。命令:nem。"
|
"des": "可以在线搜索并且快速点歌(可回复信息点歌),也支持随机热歌功能,支持解锁VIP/灰色歌曲。命令:nem。"
|
||||||
|
@ -104,6 +104,8 @@ async def nem(context):
|
|||||||
req = json.loads(req.content)
|
req = json.loads(req.content)
|
||||||
if req['code'] == 200:
|
if req['code'] == 200:
|
||||||
result = req['result']
|
result = req['result']
|
||||||
|
if req['result']['songCount'] == 0:
|
||||||
|
result = False
|
||||||
else:
|
else:
|
||||||
result = False
|
result = False
|
||||||
if result:
|
if result:
|
||||||
|
Loading…
Reference in New Issue
Block a user