Package Details: r3playx-bin 2.7.5-3

Git Clone URL: https://aur.archlinux.org/r3playx-bin.git (read-only, click to copy)
Package Base: r3playx-bin
Description: A music player forked from YesPlayMusic。高颜值的第三方网易云播放器,支持 Windows / macOS / Linux
Upstream URL: https://github.com/Sherlockouo/music
Keywords: apple-music r3playx yesplaymusic
Licenses: AGPL-3.0-only
Conflicts: my-yesplaymusic, r3play, r3playx, yesplaymusic
Provides: yesplaymusic
Submitter: zxp19821005
Maintainer: zxp19821005
Last Packager: zxp19821005
Votes: 0
Popularity: 0.000000
First Submitted: 2023-10-19 03:47 (UTC)
Last Updated: 2024-03-22 07:39 (UTC)

Latest Comments

zxp19821005 commented on 2024-01-23 01:17 (UTC)

@XDwanj 感谢反馈,已修复。

XDwanj commented on 2024-01-22 14:48 (UTC) (edited on 2024-01-22 14:52 (UTC) by XDwanj)

@Discreater @zxp19821005

better_sqlite3.node 的位置确实有问题,这是相关日志。

当前 better_sqlite3.node 目录:/usr/lib/electron28/bin/better_sqlite3.node

订正 better_sqlite3.node 目录:/usr/lib/electron28/resources/bin/better_sqlite3.node

$ r3playx
...
22:38:19 info › [db] Initializing database...
22:38:19 error › [db] Database initialization failed.
22:38:19 error › Error: Cannot find module '/usr/lib/electron28/resources/bin/better_sqlite3.node'
Require stack:
- /usr/lib/r3playx/app.asar/node_modules/better-sqlite3/lib/database.js
- /usr/lib/r3playx/app.asar/node_modules/better-sqlite3/lib/index.js
- /usr/lib/r3playx/app.asar/main/index.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1084:15)
    at n._resolveFilename (node:electron/js2c/browser_init:2:114728)
    at Module._load (node:internal/modules/cjs/loader:929:27)
    at l._load (node:electron/js2c/asar_bundle:2:13642)
    at Module.require (node:internal/modules/cjs/loader:1150:19)
    at require (node:internal/modules/cjs/helpers:119:18)
    at new Database (/usr/lib/r3playx/app.asar/node_modules/better-sqlite3/lib/database.js:52:11)
    at new wM (/usr/lib/r3playx/app.asar/main/index.js:556:7241)
    at Object.<anonymous> (/usr/lib/r3playx/app.asar/main/index.js:556:9777)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
$ yay -Ql r3playx-bin
...
r3playx-bin /usr/lib/electron28/
r3playx-bin /usr/lib/electron28/bin/
r3playx-bin /usr/lib/electron28/bin/better_sqlite3.node
...

Discreater commented on 2024-01-22 07:15 (UTC)

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=r3playx-bin#n48 这里better_sqlite3.node的 electron 的目录应该是 resources/bin 而不是直接 bin

XDwanj commented on 2023-12-11 11:31 (UTC)

@zxp19821005 感谢回复,我已充分了解问题原因,但我希望安装包的时候尽可能回避编译过程。现在这个软件工作的状态非常好,我打算先继续用下去。

zxp19821005 commented on 2023-12-04 01:00 (UTC)

@XDwanj 建议你安装这个 https://aur.archlinux.org/packages/r3playx-git 具体原因可见:https://github.com/Sherlockouo/music/issues/58

XDwanj commented on 2023-12-03 06:16 (UTC) (edited on 2024-01-22 14:51 (UTC) by XDwanj)

@zxp19821005 很抱歉现在才回复你,今天我再次安装了r3playx-bin,依旧无法播放,但是执行 sudo mkdir -p /usr/lib/electron23/resources/bin;sudo ln -sf /usr/lib/r3playx/bin/better_sqlite3.node /usr/lib/electron23/resources/bin/better_sqlite3.node 后问题解决了,我想这个错误还是会影响使用的,或许这个内容应该添加到打包步骤中?无论如何,非常感谢你的帮助。

...
14:11:00 info › [logger] logger initialized
14:11:00 info › [electron] utils.ts
14:11:00 info › [preload] dirname /usr/lib/r3playx/app.asar/main
14:11:00 info › [preload] userData path: /home/xdwanj/.config/R3PLAYX
14:11:00 info › [sentry] sentry initializing
14:11:00 info › [sentry] sentry initialized
14:11:00 info › [electron] db.ts
14:11:00 info › [db] Initializing database...
14:11:00 info › [db] Initializing database tables...
14:11:00 info › [db] Database tables initialized.
14:11:00 info › [db] Migrating database..
14:11:00 info › [db] Database initialized.
14:11:00 info › [electron] cache.ts
...

zxp19821005 commented on 2023-11-01 07:31 (UTC)

@XDwanj 其实报这个错不影响使用。如果你个人比较介意的话,建议在终端中执行以下命令:

sudo mkdir -p /usr/lib/electron23/resources/bin
sudo ln -sf /usr/lib/r3playx/bin/better_sqlite3.node /usr/lib/electron23/resources/bin/better_sqlite3.node

zxp19821005 commented on 2023-11-01 07:28 (UTC)

@lu0se 验证了下,是上游的问题,建议提交 issue 目前已经回滚到2.6.0

lu0se commented on 2023-11-01 07:03 (UTC) (edited on 2023-11-01 07:07 (UTC) by lu0se)

启动时窗口白屏,日志输出错误

15:01:21 info ›

   _  __   __     _     ____                    __  ___                    _
  | |/ /  / /_   (_)   / __/   __  __          /  |/  /  __  __   _____   (_)  _____
  |   /  / __/  / /   / /_    / / / /         / /|_/ /  / / / /  / ___/  / /  / ___/
 /   |  / /_   / /   / __/   / /_/ /         / /  / /  / /_/ /  (__  )  / /  / /__
/_/|_|  \__/  /_/   /_/      \__, /         /_/  /_/   \__,_/  /____/  /_/   \___/
                            /____/

15:01:21 info › [logger] logger initialized
15:01:21 info › [electron] utils.ts
15:01:21 info › [preload] dirname /usr/lib/r3playx/app.asar/main
15:01:21 info › [preload] userData path: /home/lu0se/.config/R3PLAYX
15:01:21 info › [sentry] sentry initializing
15:01:22 info › [sentry] sentry initialized
15:01:22 info › [electron] db.ts
15:01:22 info › [db] Initializing database...
15:01:22 error › [db] Database initialization failed.
15:01:22 error › Error: Cannot find module '/usr/lib/electron23/resources/bin/better_sqlite3.node'
Require stack:
- /usr/lib/r3playx/app.asar/node_modules/better-sqlite3/lib/database.js
- /usr/lib/r3playx/app.asar/node_modules/better-sqlite3/lib/index.js
- /usr/lib/r3playx/app.asar/main/index.js
- /usr/lib/electron23/resources/default_app.asar/main.js
-
    at Module._resolveFilename (node:internal/modules/cjs/loader:1002:15)
    at n._resolveFilename (node:electron/js2c/browser_init:2:109734)
    at Module._load (node:internal/modules/cjs/loader:848:27)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1068:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at new Database (/usr/lib/r3playx/app.asar/node_modules/better-sqlite3/lib/database.js:50:11)
    at new P$ (/usr/lib/r3playx/app.asar/main/index.js:572:7251)
    at Object.<anonymous> (/usr/lib/r3playx/app.asar/main/index.js:572:9787)
    at Module._compile (node:internal/modules/cjs/loader:1174:14)
15:01:22 info › [electron] cache.ts
15:01:22 info › [electron] store.ts
15:01:22 info › [electron] menu.ts
15:01:22 info › [electron] ipcMain.ts
15:01:22 info › [electron] tray.ts
15:01:22 info › [electron] windowsTaskbar.ts
15:01:22 info › [electron] appServer/routes/r3play/appleMusic.ts
15:01:22 info › [electron] appServer/routes/r3play/audio.ts
15:01:22 info › [electron] appServer/appServer.ts
15:01:22 info › [electron] index.ts
15:01:22 info › [index] Main process start
15:01:22 info › [index] App ready
15:01:22 info › [appServer] http server listening on port 42710

XDwanj commented on 2023-10-30 12:51 (UTC)

首先感谢你的打包,我的系统是 Manajaro,安装后通过命令行启动,启动失败,下面是启动日志,有办法解决吗?

r3playx                                                                                                                    ✔  13s  
20:48:31 info › 

   _  __   __     _     ____                    __  ___                    _        
  | |/ /  / /_   (_)   / __/   __  __          /  |/  /  __  __   _____   (_)  _____
  |   /  / __/  / /   / /_    / / / /         / /|_/ /  / / / /  / ___/  / /  / ___/ 
 /   |  / /_   / /   / __/   / /_/ /         / /  / /  / /_/ /  (__  )  / /  / /__  
/_/|_|  \__/  /_/   /_/      \__, /         /_/  /_/   \__,_/  /____/  /_/   \___/  
                            /____/

20:48:31 info › [logger] logger initialized
20:48:31 info › [electron] utils.ts
20:48:31 info › [preload] dirname /usr/lib/r3playx/app.asar/main
20:48:31 info › [preload] userData path: /home/xdwanj/.config/R3PLAYX
20:48:31 info › [sentry] sentry initializing
20:48:31 info › [sentry] sentry initialized
20:48:31 info › [electron] db.ts
20:48:31 info › [db] Initializing database...
20:48:31 error › [db] Database initialization failed.
20:48:31 error › Error: Cannot find module '/usr/lib/electron23/resources/bin/better_sqlite3.node'
Require stack:
- /usr/lib/r3playx/app.asar/node_modules/better-sqlite3/lib/database.js
- /usr/lib/r3playx/app.asar/node_modules/better-sqlite3/lib/index.js
- /usr/lib/r3playx/app.asar/main/index.js
- /usr/lib/electron23/resources/default_app.asar/main.js
- 
    at Module._resolveFilename (node:internal/modules/cjs/loader:1002:15)
    at n._resolveFilename (node:electron/js2c/browser_init:2:109734)
    at Module._load (node:internal/modules/cjs/loader:848:27)
    at f._load (node:electron/js2c/asar_bundle:2:13330)
    at Module.require (node:internal/modules/cjs/loader:1068:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at new Database (/usr/lib/r3playx/app.asar/node_modules/better-sqlite3/lib/database.js:50:11)
    at new P$ (/usr/lib/r3playx/app.asar/main/index.js:572:7251)
    at Object.<anonymous> (/usr/lib/r3playx/app.asar/main/index.js:572:9787)
    at Module._compile (node:internal/modules/cjs/loader:1174:14)
20:48:31 info › [electron] cache.ts
20:48:31 info › [electron] store.ts
20:48:31 info › [electron] menu.ts
20:48:31 info › [electron] ipcMain.ts
20:48:31 info › [electron] tray.ts
20:48:31 info › [electron] windowsTaskbar.ts
20:48:31 info › [electron] appServer/routes/r3play/appleMusic.ts
20:48:31 info › [electron] appServer/routes/r3play/audio.ts
20:48:32 info › [electron] appServer/appServer.ts
20:48:32 info › [electron] index.ts
20:48:32 info › [index] Main process start