Giter Club home page Giter Club logo

my_yesplaymusic's People

Contributors

8790 avatar aldlss avatar bakerbunker avatar beadre avatar chen310 avatar fengkx avatar galvingao avatar gettoset avatar grassblock1 avatar hawtim avatar hibanaw avatar karbobc avatar llovvoll avatar map1en avatar mayandev avatar memorydream avatar mrwillcom avatar nep-timeline avatar njzydark avatar pan93412 avatar qier222 avatar rainbowflesh avatar revincx avatar shih-liang avatar stark81 avatar vidocqh avatar wwwenjie avatar xiaogaozi avatar ynng avatar younglina avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

my_yesplaymusic's Issues

优先本地容易崩溃

Windows客户端
好像开启优先本地之后手动切换下一首到有本地资源的歌会导致软件崩溃,我把优先本地关了就没崩溃过了
image

Compile Steps Please?

尽量每个 issue 只提一个 bug 或新功能

May I install it by source? I hope steps could be found in README, but there isn't any...

提新 issue 前请确认 👉

反馈 bug 需要的信息

  • 用的是网页版还是客户端
  • 浏览器名称或电脑操作系统
  • 控制台 Console 页面的截图(按 F12 可打开控制台)

文件损坏,直接打不开了,mac13版本

尽量每个 issue 只提一个 bug 或新功能

提新 issue 前请确认 👉

反馈 bug 需要的信息

  • 用的是网页版还是客户端
  • 浏览器名称或电脑操作系统
  • 控制台 Console 页面的截图(按 F12 可打开控制台)

升级相关依赖版本

现在 my_yesplaymusic 仍然使用 nodejs 16,但是 nodejs 16 已经 EOL,是否有计划升级到新版本 ?

无法播放音乐

尽量每个 issue 只提一个 bug 或新功能

提新 issue 前请确认 👉

反馈 bug 需要的信息

  • 用的是网页版还是客户端
  • 浏览器名称或电脑操作系统
  • 控制台 Console 页面的截图(按 F12 可打开控制台)

系统为arch linux,之前用的原版yesplaymusic 0.4.7,从aur下载的my-yesplaymusic-bin-0.4.13-2,软件刚下载下来还能正常使用,过了一会不知为何就切不了歌了。并且播放键均失效(无论是双击播放还是右键播放)
打开控制台,按另一个issue的办法使用resetPlayer之后,双击播放歌曲,下方播放栏也不显示歌曲,控制台提示GET 404 Error
2024-01-30_01-28

此时左右键切换歌曲或者双击播放其他歌曲,控制台则会提示TypeError,具体如下图
2024-01-30_01-30

换回原先的yesplaymusic 0.4.7则又一切正常。(但my-yesplaymusic的桌面歌词和评论区真的很喜欢)

此外,在另一个issue中提到的状态栏存在两个图标的问题仍然存在,黑色图标有用,白色没用
2024-01-30_01-38

云盘功能无法正常使用

版本:包括v0.4.16在内的所有版本(应该,太老的没试)
操作系统:ArchLinux
问题:进入网盘播放歌曲没有反应,同时导致所有的歌单都无法正常载入歌曲,控制台疯狂报错,只有删除掉配置文件才能够重新使用。
截图:
image

无法正常启动程序

设备: MacBook Pro 2021, M1 Max
操作系统: macOS Sonoma 14.0 Beta 7

相似情况: #1

复现步骤:

  1. 从 Releases 下载 arm64 / universal 版本安装包
  2. 拖拽进 Applications
  3. 使用 xattr -r -d com.apple.quarantine /Applications/YesPlayMusic.app 移除隔离属性
  4. 从启动台或访达启动程序
  5. 程序报错,弹窗
image

点击确定后,程序未退出,但没有窗口显示,macOS 顶部状态栏的控件可以正常点击,点击 Toggle Developer Tools 无响应
image

右下角进入歌词界面时不会自动刷新歌词位置?

官方版本的YesPlayMusic在打开歌词界面时会自动刷新一次歌词位置,
而这个版本的YesPlayMusic只有在切换到下一句的时候才会刷新位置,进入歌词界面的时候还是上次关闭时的位置,如果一首曲子没有打开过歌词界面的话就是歌曲开头
是否考虑改成官方版的模式?

Hi-Res音质下歌曲缓存显示不正确

尽量每个 issue 只提一个 bug 或新功能

提新 issue 前请确认 👉

反馈 bug 需要的信息

  • 用的是网页版还是客户端
  • 浏览器名称或电脑操作系统
  • 控制台 Console 页面的截图(按 F12 可打开控制台)
    图片

绑定last.fm点击第三方应用授权确认后无反应

尽量每个 issue 只提一个 bug 或新功能

提新 issue 前请确认 👉

反馈 bug 需要的信息

  • 用的是网页版还是客户端
  • 浏览器名称或电脑操作系统
  • 控制台 Console 页面的截图(按 F12 可打开控制台)
    image
    刚刚从原版切换到这个版本,原版可以成功绑定

MacOS Sonoma 14.1 开启客户端之后状态栏出现空白无用图标

开启客户端之后,在状态栏会出现两个看不见的图标(如图)
按上去可以看到有占位, 但是没有任何反应
Screenshot 2023-12-26 at 13 39 43
系统是macOS Sonoma14.1, 电脑是MacBookPro2022, M2
从Release下载的打不开,所以是用Node16.16自己打包的,没有做任何修改

【提交帮助】Docker镜像部署

我已打包docker镜像

申明

本次构建及提交均由个人负责,与项目作者无关
起因:很喜欢stark81大大修改的YesPlayMusic,但是发现没有docker部署,所以自己百度折腾了下,构建了镜像并push到了官方库(docker.io)
另外,自己也是新手小白,才接触这些,所以请多多关照

Docker部署

docker仓库地址:https://hub.docker.com/repository/docker/dnyo666/my_yesplaymusic

  1. 拉取镜像
    docker pull dnyo666/my_yesplaymusic:v0.4.13
  2. 创建容器并运行
    docker run -d --name YesPlayMusic -p 3001:3001 docker.io/dnyo666/my_yesplaymusic:v0.4.13
    3.访问对应ip:3001
    (算了,没学过docker,要不你们拉了镜像后自己部署?)

宝塔面板(docker)部署

  1. 搜索镜像:my_yesplaymusic
    2.创建容器
    3.使用反代
    4.应该不用教吧?

Linux端依旧存在桌面歌词背景变黑的问题

版本: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等。

[Bugs] 几个问题

我已经将该软件包移植到了ArchLinux的AUR:my-yesplaymusic-bin,在移植过程中,发现几个问题。

反馈 bug 需要的信息

  • 类型:客户端
  • 操作系统:EndeavourOS 6.1.64-1-lts
  • 0.4.13

Bug

缺少tray-icon.png

$ ./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

任务栏不显示程序图标

如图
image

系统栏点击图标右键空白,无任何菜单

由于我的截图快捷键和个别软件冲突,暂时无法截图。

建议

  • 能不能将软件包名重新取个名字呢?以便于和暂时停止更新的 https://github.com/qier222/YesPlayMusic 有所区别?
  • 安装好程序之后看了下,配置保存目录依然是 ~/.config/yesplaymusic,这个不知道能不能调整一下呢?可能会和原来安装的yesplaymusic有所冲突。

好像不像是完全本地播放

如题所示,当我关掉网之后,歌词、封面什么的都不能显示了。大佬应该是通过网易云匹配获取的,所以有些封面也和我歌曲的内嵌封面不一致。
不过问题不大,因为我只是来试一下滴,重点是想要向大佬请教,或者说帮忙,我也做了一个本地音乐播放器,是纯本地的,不联网。它是读取内嵌歌词或者是本地lrc文件,但是我想升级一下,如果本地获取不到就像你一样从网易云获取,但是我不咋会弄。能不能加个QQ聊聊:3059557534
我的播放器在b站的介绍地址:https://www.bilibili.com/video/BV1or4y1X7hc/

[bug]本地歌曲扫描只扫描出部分歌曲

反馈 bug 需要的信息

客户端、win11 22H2、控制台无错误

bug 详情

本地歌曲119首,一开始扫描出109首,发现部分歌未扫描成功是因为格式原因,将格式转换后,进入程序,发现本地歌曲未更新,于是点击设置中“清空本地歌曲信息”,并重新设置“本地歌曲扫描路径”后,发现只扫描出10首。在采取多个措施后仍然是10首,并且10首歌是固定的。

已采取措施

  • 在控制台利用resetApp()重置
  • 重装软件
  • ctrl + R刷新
  • 以管理员运行软件

程序报错

尽量每个 issue 只提一个 bug 或新功能

A JavaScript error occurred in the main process
你好,打开软件提示这个错误,怎么解决?

无法设置带空格的快捷键

尽量每个 issue 只提一个 bug 或新功能

提新 issue 前请确认 👉

  • 没人提过这个 issue(这里看所有 issue)21年有人提过,但是目前问题仍然存在
  • 项目的 Todo 里没有与你 issue 相关的内容(这里看 Todo)无

反馈 bug 需要的信息

  • 用的是网页版还是客户端 客户端
  • 浏览器名称或电脑操作系统 win11 22H2
  • 控制台 Console 页面的截图(按 F12 可打开控制台)

无法设置带空格的快捷键,空格本身可控制音乐暂停和开始,推测快捷键设置优先级无控制音乐优先级高!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.