caijinyc / here Goto Github PK
View Code? Open in Web Editor NEW🎵 Here Music 一个使用 Electron + React 开发的音乐客户端
License: MIT License
🎵 Here Music 一个使用 Electron + React 开发的音乐客户端
License: MIT License
在歌曲播放时,若点击清空播放列表,歌曲会停止播放。此时专辑图片与歌曲进度是停止的,视觉上的确是停止播放的意思。但播放按钮的状态就不对了,此时歌曲暂停播放,播放按钮应该是等待播放才对,变成等待暂停了。还有此时清空了播放列表,再点击播放按钮就没有效果了(歌曲不会继续播放)。
electron 默认不允许访问本地资源
怎么参与一起开发
比如arch?
在下载子模块的时候,出现了报错:
error: Server does not allow request for unadvertised object 374a140b3ea260c5a1ff481e8056b976f40362fc
Fetched in submodule path 'NeteaseCloudMusicApi', but it did not contain 374a140b3ea260c5a1ff481e8056b976f40362fc. Direct fetching of that commit failed.
设计很漂亮
考虑添加prettier和husky在提交代码之前执行。
我可以帮忙提交PR。
以下是配置规则,如有意见的话可以修改。
.prettierrc
{
"useTabs": false, // 使用空格缩进
"printWidth": 120, // 最大120列时折行
"semi": false, // 结尾不添加分号
"singleQuote": true, // 使用单引号
"trailingComma": "all", // 尽可能在所有结尾处添加逗号
"bracketSpacing": true, // 括号之间有空格
"jsxBracketSameLine": false, // jsx括号在一行
"arrowParens": "avoid" // 箭头函数只有一个参数时不需要括号 e => e.target.value
}
Uncaught TypeError: window.require is not a function
at Module../src/data/index.js (index.js:3)
at webpack_require (bootstrap:782)
at fn (bootstrap:150)
at Module../src/store/actionCreator.js (actionCreator.js:1)
at webpack_require (bootstrap:782)
at fn (bootstrap:150)
at Module../src/App.js (style.scss:8)
at webpack_require (bootstrap:782)
at fn (bootstrap:150)
at Module../src/index.js (index.js:5)
at webpack_require (bootstrap:782)
at fn (bootstrap:150)
at Object.0 (reducer.js:159)
at webpack_require (bootstrap:782)
at checkDeferredModules (bootstrap:45)
at Array.webpackJsonpCallback [as push] (bootstrap:32)
at main.chunk.js:1
打开代码各种乱码都有,统一下你的编码问题吧
推荐页面,点击进去之后,是否可以添加一个返回按钮呢。还得点击右上角的“推荐”按钮,才能返回过去。
还有推荐列表页面,如果正在播放的音乐,是否可以高亮显示呢。
在知乎上看到了你的项目,非常的棒,下载下来第一时间点了搜索,然后输入韩红...
然后 click
,屏幕上就啥也没了。
上一曲,下一曲,喜欢歌曲快捷键与Ubutu/Windows系统默认全局快捷键冲突(Win+left/right调整窗口布局,Win+L锁屏),建议Cmd更改为Ctrl。另外,按下Win+F进入搜索界面后,搜索框中会输入f。
最后给作者点赞,界面十分符合我的审美。
只能关闭窗口不是很方便,没法看到当前歌曲的状态等信息,考虑添加菜单栏图标或者桌面最小化吗?
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.