stark81 / my_yesplaymusic Goto Github PK
View Code? Open in Web Editor NEW高颜值的第三方网易云播放器,支持本地音乐播放、离线歌单、桌面歌词、Touch Bar歌词、Mac状态栏歌词显示。支持 Windows / macOS / Linux :electron:
Home Page: https://my-yesplaymusic-five.vercel.app
License: MIT License
高颜值的第三方网易云播放器,支持本地音乐播放、离线歌单、桌面歌词、Touch Bar歌词、Mac状态栏歌词显示。支持 Windows / macOS / Linux :electron:
Home Page: https://my-yesplaymusic-five.vercel.app
License: MIT License
May I install it by source? I hope steps could be found in README, but there isn't any...
现在 my_yesplaymusic
仍然使用 nodejs 16
,但是 nodejs 16
已经 EOL,是否有计划升级到新版本 ?
系统为arch linux,之前用的原版yesplaymusic 0.4.7,从aur下载的my-yesplaymusic-bin-0.4.13-2,软件刚下载下来还能正常使用,过了一会不知为何就切不了歌了。并且播放键均失效(无论是双击播放还是右键播放)
打开控制台,按另一个issue的办法使用resetPlayer之后,双击播放歌曲,下方播放栏也不显示歌曲,控制台提示GET 404 Error
此时左右键切换歌曲或者双击播放其他歌曲,控制台则会提示TypeError,具体如下图
换回原先的yesplaymusic 0.4.7则又一切正常。(但my-yesplaymusic的桌面歌词和评论区真的很喜欢)
RT
设备: MacBook Pro 2021, M1 Max
操作系统: macOS Sonoma 14.0 Beta 7
相似情况: #1
复现步骤:
点击确定后,程序未退出,但没有窗口显示,macOS 顶部状态栏的控件可以正常点击,点击 Toggle Developer Tools 无响应
如题
官方版本的YesPlayMusic在打开歌词界面时会自动刷新一次歌词位置,
而这个版本的YesPlayMusic只有在切换到下一句的时候才会刷新位置,进入歌词界面的时候还是上次关闭时的位置,如果一首曲子没有打开过歌词界面的话就是歌曲开头
是否考虑改成官方版的模式?
是覆盖旧版本的吗?还是第一次安装的呢?
打开“开发者工具”,输入"resetPlayer()"后刷新一下页面试试
Originally posted by @stark81 in #25 (comment)
覆盖旧版本,开发者工具哪里打开啊
本次构建及提交均由个人负责,与项目作者无关
起因:很喜欢stark81大大修改的YesPlayMusic,但是发现没有docker部署,所以自己百度折腾了下,构建了镜像并push到了官方库(docker.io)
另外,自己也是新手小白,才接触这些,所以请多多关照
docker pull dnyo666/my_yesplaymusic:v0.4.13
docker run -d --name YesPlayMusic -p 3001:3001 docker.io/dnyo666/my_yesplaymusic:v0.4.13
版本:v0.4.16-3-for-LINUX
操作系统:Kubuntu 24.04 with Linux 6.8.0-22-generic
问题:
目前桌面歌词的置顶效果已恢复正常,但依然存在透明背景失效的问题。只有在启动应用程序时传入--disable-gpu启动参数,桌面歌词的透明效果才会恢复正常。
这似乎是electron的一个bug, 我在electron仓库的issue区中找到大量关于此问题的反馈,例如 Transparency does not work on Linux (black background instead)、[v10.0.0] Failure of transparent in Linux等。
我已经将该软件包移植到了ArchLinux的AUR:my-yesplaymusic-bin,在移植过程中,发现几个问题。
$ ./yesplaymusic
[background.js] initializing
[NetEase API] initiating NCM API
[background.js] creating express app
(node:53375) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `yesplaymusic --trace-deprecation ...` to show where the warning was created)
server running @ http://localhost:10754
[53375:1201/101344.071681:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: 无此接口“org.freedesktop.portal.FileChooser”
[53375:1201/101344.071714:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property
[background.js] app ready event
[background.js] creating app window
[background.js] checkForUpdates
APPIMAGE env is not defined, current application is not an AppImage
[globalShortcut.js] registerGlobalShortcut
checkForUpdatesAndNotify called, downloadPromise is null
(node:53375) UnhandledPromiseRejectionWarning: Error: Failed to load image from path '/home/zxp-endeavouros/.cache/paru/clone/my-yesplaymusic-bin/src/opt/YesPlayMusic/resources/app.asar/tray-icon.png'
at /home/zxp-endeavouros/.cache/paru/clone/my-yesplaymusic-bin/src/opt/YesPlayMusic/resources/app.asar/background.js:2:2522319
at processTicksAndRejections (node:internal/process/task_queues:95:5)
(node:53375) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:53375) UnhandledPromiseRejectionWarning: Error: Could not connect
at Socket.o (/home/zxp-endeavouros/.cache/paru/clone/my-yesplaymusic-bin/src/opt/YesPlayMusic/resources/app.asar/background.js:2:2118020)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
(node:53375) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[background.js] window ready-to-show event
[OK] /song/detail?ids=1478005597
[OK] /album/new?area=all&limit=10
[OK] /toplist/artist
[OK] /lyric?id=1478005597
[OK] /toplist
[OK] /personalized?limit=10
[background.js] window close event
^C[background.js] window close event
这个我将asar解包之后,复制了一个32x32的图标到其根目录,已经解决了。
目录123
是我的临时解包目录
$ electron25 123
[background.js] initializing
[NetEase API] initiating NCM API
[background.js] creating express app
(node:54169) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use `electron --trace-deprecation ...` to show where the warning was created)
server running @ http://localhost:10754
[54169:1201/101635.604062:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: 无此接口“org.freedesktop.portal.FileChooser”
[54169:1201/101635.604080:ERROR:select_file_dialog_linux_portal.cc(274)] Failed to read portal version property
[background.js] app ready event
[background.js] creating app window
[background.js] checkForUpdates
APPIMAGE env is not defined, current application is not an AppImage
[globalShortcut.js] registerGlobalShortcut
checkForUpdatesAndNotify called, downloadPromise is null
(node:54169) UnhandledPromiseRejectionWarning: TypeError: Assignment to constant variable.
at /home/zxp-endeavouros/.cache/paru/clone/my-yesplaymusic-bin/src/opt/YesPlayMusic/resources/123/background.js:2:2522318
at processTicksAndRejections (node:internal/process/task_queues:95:5)
(node:54169) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:54169) UnhandledPromiseRejectionWarning: Error: Could not connect
at Socket.o (/home/zxp-endeavouros/.cache/paru/clone/my-yesplaymusic-bin/src/opt/YesPlayMusic/resources/123/background.js:2:2118020)
at Object.onceWrapper (node:events:628:26)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
(node:54169) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
[background.js] window ready-to-show event
[OK] /song/detail?ids=1478005597
[OK] /album/new?area=all&limit=10
[OK] /toplist
[OK] /lyric?id=1478005597
[OK] /toplist/artist
[OK] /personalized?limit=10
由于我的截图快捷键和个别软件冲突,暂时无法截图。
~/.config/yesplaymusic
,这个不知道能不能调整一下呢?可能会和原来安装的yesplaymusic有所冲突。如题所示,当我关掉网之后,歌词、封面什么的都不能显示了。大佬应该是通过网易云匹配获取的,所以有些封面也和我歌曲的内嵌封面不一致。
不过问题不大,因为我只是来试一下滴,重点是想要向大佬请教,或者说帮忙,我也做了一个本地音乐播放器,是纯本地的,不联网。它是读取内嵌歌词或者是本地lrc文件,但是我想升级一下,如果本地获取不到就像你一样从网易云获取,但是我不咋会弄。能不能加个QQ聊聊:3059557534
我的播放器在b站的介绍地址:https://www.bilibili.com/video/BV1or4y1X7hc/
客户端、win11 22H2、控制台无错误
本地歌曲119首,一开始扫描出109首,发现部分歌未扫描成功是因为格式原因,将格式转换后,进入程序,发现本地歌曲未更新,于是点击设置中“清空本地歌曲信息”,并重新设置“本地歌曲扫描路径”后,发现只扫描出10首。在采取多个措施后仍然是10首,并且10首歌是固定的。
resetApp()
重置A JavaScript error occurred in the main process
你好,打开软件提示这个错误,怎么解决?
如题,原项目可以下载rpm package
my-yesplaymusic-0.4.16-x86_64.deb的sha256sums应该为3531e9e7b4c369f23932808663efcc79e34b0179e6e571e7262dd79933357c25
已经是第三次aur安装脚本中sha256sums出错了,每次出错的文件还都不一样emmm
我使用的桌面歌词:https://github.com/waylyrics/waylyrics
0.4.16前使用正常,其它播放器也正常。
而且aur上的校验码又错了,sh文件的校验码应该是50b10386d13e5bec806aeb78f819c4edd0208a4d184332e53866c802731217fe
my-yesplaymusic.sh的sha256sums应该是50b10386d13e5bec806aeb78f819c4edd0208a4d184332e53866c802731217fe
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.