foamzou / melody

我的音乐精灵
Apache License 2.0
2.76k stars 221 forks source link

网易云的音乐上传失败 #73

Closed guxuanjun closed 9 months ago

guxuanjun commented 1 year ago

2023-04-15 17:13:32 ℹ getMetaWithUrl from https://music.163.com/#/song?id=1828574198 2023-04-15 17:13:32 /app/backend/src/service/media_fetcher/../../../bin/media-get [ 2023-04-15 17:13:32 '-u', 2023-04-15 17:13:32 '"https://music.163.com/#/song?id=1828574198"', 2023-04-15 17:13:32 '-m', 2023-04-15 17:13:32 '--infoFormat=json' 2023-04-15 17:13:32 ] 2023-04-15 17:13:33 ℹ ------- 2023-04-15 17:13:33 ℹ 0 2023-04-15 17:13:33 ℹ ------- 2023-04-15 17:13:33 ℹ { 2023-04-15 17:13:33 songName: '红马 (女版)', 2023-04-15 17:13:33 artist: '一颗狼星_许篮心', 2023-04-15 17:13:33 album: '红马 (女版)', 2023-04-15 17:13:33 duration: 188, 2023-04-15 17:13:33 coverUrl: 'http://p2.music.126.net/cYMzOC93ZfLJETTG_eG_rw==/109951165854772243.jpg?param=130y130', 2023-04-15 17:13:33 publicTime: 0, 2023-04-15 17:13:33 isTrial: false, 2023-04-15 17:13:33 resourceType: 'audio', 2023-04-15 17:13:33 audios: [ 2023-04-15 17:13:33 { 2023-04-15 17:13:33 url: 'https://music.163.com/song/media/outer/url?id=1828574198.mp3', 2023-04-15 17:13:33 bit_rate: 0 2023-04-15 17:13:33 } 2023-04-15 17:13:33 ], 2023-04-15 17:13:33 fromMusicPlatform: true, 2023-04-15 17:13:33 resourceForbidden: false, 2023-04-15 17:13:33 source: 'netease' 2023-04-15 17:13:33 } 2023-04-15 17:13:34 ℹ searchLists [ 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1828574198, 2023-04-15 17:13:34 songName: '红马 (女版)', 2023-04-15 17:13:34 album: '红马 (女版)', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '一颗狼星_许篮心' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1834323161, 2023-04-15 17:13:34 songName: '红马 (女版伴奏)', 2023-04-15 17:13:34 album: '红马 (女版)', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '一颗狼星_许篮心' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1822944972, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '红马', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '闫杰晨' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 2019279516, 2023-04-15 17:13:34 songName: '精卫', 2023-04-15 17:13:34 album: '精卫(戏腔)', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '一颗狼星_许篮心' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 2029149160, 2023-04-15 17:13:34 songName: '月落的声音 (傈僳语版)', 2023-04-15 17:13:34 album: '月落的声音 (傈僳语版)', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '一颗狼星_许篮心' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1838707378, 2023-04-15 17:13:34 songName: '红马(女版)(翻自 一颗狼星_许篮心)', 2023-04-15 17:13:34 album: '祖瑜兄的翻唱合集', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '祖瑜兄' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 2001892018, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '红马', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '音若子兮' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 2020615639, 2023-04-15 17:13:34 songName: '白云喝了人间酒', 2023-04-15 17:13:34 album: '白云喝了人间酒', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '一颗狼星_许篮心' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1977849891, 2023-04-15 17:13:34 songName: '月落的声音', 2023-04-15 17:13:34 album: '月落的声音', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '一颗狼星_许篮心' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1837588795, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '小钰的cover', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 'B.lsyu.X' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1965439628, 2023-04-15 17:13:34 songName: '泉水', 2023-04-15 17:13:34 album: '泉水', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '一颗狼星_许篮心' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1986159169, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '红马', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '子莘' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1889822441, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '红马【甜御选手重出江湖】', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '玄露' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1837268077, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '零零碎碎小片段', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '念安' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1983259697, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '爱已过期,续费无效', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '曦颜面具' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 2014629342, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '灯光聚集', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '小亦un' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1927471991, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '翻唱(九)', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '小屁宅' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1879154584, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '古风小段', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 'zero' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1839756472, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '笑看', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '墨小白' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 2003035659, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '姑娘别等了', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '漓月y' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 2003031361, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '卖花的人', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '月徒紫豪' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 }, 2023-04-15 17:13:34 { 2023-04-15 17:13:34 songId: 1859367418, 2023-04-15 17:13:34 songName: '红马', 2023-04-15 17:13:34 album: '红马', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '一颗狼星-许蓝心' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 } 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 ℹ matched the best 2023-04-15 17:13:34 ℹ songFromWyCloud: { 2023-04-15 17:13:34 songId: 1828574198, 2023-04-15 17:13:34 songName: '红马 (女版)', 2023-04-15 17:13:34 album: '红马 (女版)', 2023-04-15 17:13:34 artists: [ 2023-04-15 17:13:34 '一颗狼星_许篮心' 2023-04-15 17:13:34 ] 2023-04-15 17:13:34 } 2023-04-15 17:13:34 ℹ fetchWithUrl params: {"0":"https://music.163.com/#/song?id=1828574198","1":{"songName":"红马 (女版)","addMediaTag":false}} 2023-04-15 17:13:34 ℹ start parse and download from https://music.163.com/#/song?id=1828574198 2023-04-15 17:13:34 ℹ /app/backend/src/service/media_fetcher/../../../bin/media-get -u "https://music.163.com/#/song?id=1828574198" --out /tmp/melody-tmp-songs/0b72494f7136e67b2b8d1530f94cb5f2/红马(女版).mp3 -t audio 2023-04-15 17:13:34 /app/backend/src/service/media_fetcher/../../../bin/media-get [ 2023-04-15 17:13:34 '-u', 2023-04-15 17:13:34 '"https://music.163.com/#/song?id=1828574198"', 2023-04-15 17:13:34 '--out', 2023-04-15 17:13:34 '/tmp/melody-tmp-songs/0b72494f7136e67b2b8d1530f94cb5f2/红马(女版).mp3', 2023-04-15 17:13:34 '-t', 2023-04-15 17:13:34 'audio', 2023-04-15 17:13:34 '' 2023-04-15 17:13:34 ] 2023-04-15 17:13:37 ℹ ------- 2023-04-15 17:13:37 ℹ 2 2023-04-15 17:13:37 ℹ panic: target is not a binary 2023-04-15 17:13:37 2023-04-15 17:13:37 goroutine 1 [running]: 2023-04-15 17:13:37 main.main() 2023-04-15 17:13:37 ./main.go:24 +0xab 2023-04-15 17:13:37 2023-04-15 17:13:37 ℹ -------

foamzou commented 1 year ago

我看你尝试上传网易云的歌曲,我猜你是点到了卡片的上传。你应该点搜索结果列表项的上传。 总之错误原因是 melody 无法获取到网易云源的这首歌的音频文件,可能原因是该歌曲需要 vip 或者网易云没有版权。你试试其他源 而且,如果网易云能免费播放这首歌,你也不需要解锁了。用 melody 下载网易云歌曲不是预期的行为

guxuanjun commented 1 year ago

我确实点了卡片的上传,因为搜索结果里没有我需要的选项,卡片的结果是我使用网易云的链接搜索到的结果。卡片的上传对其它使用链接搜索到的结果是有效的,例如B站之类。 这首歌在网易云不需要VIP,也可以在网页版和app里播放,网易云应该是有版权的。 用melody下载网易云的歌是因为以前的收藏列表里灰了一大片,为了避免这种情况再次发生,所以现在习惯随时备份播放列表。

谢谢回复! screenshot

foamzou commented 1 year ago

@guxuanjun 明白。我有时间看看这首歌咋回事。(拖多久不好说,除了开源项目外,太多 TODO list 了)

foamzou commented 9 months ago

已经在 media-get 最新版本 fix https://github.com/foamzou/media-get/releases/tag/v0.2.11

Melody 将在 Q1 更新,届时将加入组件更新功能,下版本后将不再需要更新镜像来更新 media-get 组件

duplicate https://github.com/foamzou/melody/issues/94