Shell脚本配合NeteaseCloudMusicAPI实现播放网易云音乐每日推荐歌曲,并支持插播一段天气预报或者自定义语音提示;由于是纯Shell实现理论上支持运行Shell的Linux系统都能使用。
使用教程:https://www.hscbook.com/article/raspberrypi-cloudmusic/
Home Page: https://www.hscbook.com/article/raspberrypi-cloudmusic/
License: Apache License 2.0
Shell脚本配合NeteaseCloudMusicAPI实现播放网易云音乐每日推荐歌曲,并支持插播一段天气预报或者自定义语音提示;由于是纯Shell实现理论上支持运行Shell的Linux系统都能使用。
使用教程:https://www.hscbook.com/article/raspberrypi-cloudmusic/
运行 sudo ./NeteaseCloudMusic 获取到musicid之后出现错误
错误在下面这行:
urldata=$(curl -s --cookie "$(cat $chedir/NeteaseCloudCookies)" http://$APIService/music/url?id=${dataid[$inx]} | jq '.')
返回:Cannot GET /music/url
MusicID: 28481189,1349292048,1313118277,561307164,1346104327,464863017,1341964346,1313354324,520482501,1340543218,410801523,1331819951,439121233,448317566,36270426,515453363,552145020,461519911,554241732,1372796676
parse error: Invalid numeric literal at line 1, column 10
Player: Player low sound quality. ID_28481189
parse error: Invalid numeric literal at line 1, column 10
Player: Player low sound quality. ID_1349292048
parse error: Invalid numeric literal at line 1, column 10
Player: Player low sound quality. ID_1313118277
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.