我刚刚开始发现有趣的Gracenote Rhythm API - https://developer.gracenote.com/rhythm-api
它说它包括元数据、音乐识别和Internet Radio API,但我没有发现任何可能使用例如Web Audio API流式传输它,响应中没有MP3或OGG url:
{
"RESPONSE": [{
"STATUS": "OK",
"RADIO": [{
"ID": "1ce6bca226a53326e7bf343dcd168001"
}],
"ALBUM": [{
"ORD": "1",
"GN_ID": "19878820-CE6C56D99EC0AAE76E9CAE6BE78DF1C9",
"TRACK_COUNT": "11",
"ARTIST": [{
"VALUE": "The Strokes"
}],
"TITLE": [{
"VALUE": "Is This It?"
}],
"TRACK": [{
"TRACK_NUM": "7",
"GN_ID": "19878827-EBD633D92DFF541BE3DAAF1256F89E93",
"TITLE": [{
"VALUE": "Last Night"
}]
}]
}, {
"ORD": "2",
"GN_ID": "254058859-822479DA624C6A3C36345E571D395017",
"TRACK_COUNT": "11",
"ARTIST": [{
"VALUE": "The Black Keys"
}],
"TITLE": [{
"VALUE": "El Camino"
}],
"TRACK": [{
"TRACK_NUM": "1",
"GN_ID": "254058860-5E702E9D83A960AB46E5A6EEDB21D9DD",
"TITLE": [{
"VALUE": "Lonely Boy"
}]
}]
},
...
也许我错过了一些东西......有没有办法播放这个所谓的“互联网广播”?
PS我搜索了一些与互联网广播相关的node.js模块,我发现的所有东西都是像https://github.com/fwg/node-radio-stream这样与Icecast和Shoutcast一起使用的模块。
谢谢!