Package Details: r3playx-git 2.7.4.r31.gdc20e3b-1

Git Clone URL: https://aur.archlinux.org/r3playx-git.git (read-only, click to copy)
Package Base: r3playx-git
Description: A music player forked from YesPlayMusic.(Use system-wide electron)高颜值的第三方网易云播放器.
Upstream URL: https://github.com/Sherlockouo/music
Keywords: apple-music electron netease netease-cloud-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-11-23 07:30 (UTC)
Last Updated: 2025-04-25 10:41 (UTC)

Dependencies (8)

Required by (0)

Sources (2)

Latest Comments

zxp19821005 commented on 2025-04-30 09:21 (UTC)

@qqqyqy 这个应该是上游代码的问题,建议给上游提交issue.

qqqyqy commented on 2025-04-30 08:15 (UTC)

最新版编译失败

server:build: ../desktop/main/db.ts:166:5 - error TS2322: Type 'unknown' is not assignable to type 'TablesStructures[T] | undefined'.
server:build: 
server:build: 166     return this.sqlite.prepare(`SELECT * FROM ${table} WHERE id = ? LIMIT 1`).get(key)
server:build:         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server:build: 
server:build: ../desktop/main/db.ts:174:5 - error TS2322: Type 'unknown[]' is not assignable to type 'TablesStructures[T][]'.
server:build:   Type 'unknown' is not assignable to type 'TablesStructures[T]'.
server:build:     Type 'unknown' is not assignable to type 'never'.
server:build:       The intersection 'CommonTableStructure & { id: number; bitRate: number; format: "mp3" | "flac" | "ogg" | "wav" | "m4a" | "aac" | "unknown" | "opus"; source: "unknown" | "netease" | ... 6 more ... | "joox"; queriedAt: number; } & { ...; } & { ...; } & { ...; }' was reduced to 'never' because property 'id' has conflicting types in some constituents.
server:build: 
server:build: 174     return this.sqlite.prepare(`SELECT * FROM ${table} WHERE ${idsQuery}`).all()
server:build:         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server:build: 
server:build: ../desktop/main/db.ts:178:5 - error TS2322: Type 'unknown[]' is not assignable to type 'TablesStructures[T][]'.
server:build:   Type 'unknown' is not assignable to type 'TablesStructures[T]'.
server:build:     Type 'unknown' is not assignable to type 'never'.
server:build:       The intersection 'CommonTableStructure & { id: number; bitRate: number; format: "mp3" | "flac" | "ogg" | "wav" | "m4a" | "aac" | "unknown" | "opus"; source: "unknown" | "netease" | ... 6 more ... | "joox"; queriedAt: number; } & { ...; } & { ...; } & { ...; }' was reduced to 'never' because property 'id' has conflicting types in some constituents.
server:build: 
server:build: 178     return this.sqlite.prepare(`SELECT * FROM ${table}`).all()
server:build:         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server:build: 
server:build: ../desktop/main/log.ts:8:17 - error TS2307: Cannot find module 'electron-log' or its corresponding type declarations.
server:build: 
server:build: 8 import log from 'electron-log'
server:build:                   ~~~~~~~~~~~~~~
server:build: 
server:build: src/utils/db.ts:168:5 - error TS2322: Type 'unknown' is not assignable to type 'TablesStructures[T] | undefined'.
server:build: 
server:build: 168     return this.sqlite.prepare(`SELECT * FROM ${table} WHERE id = ? LIMIT 1`).get(key)
server:build:         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server:build: 
server:build: src/utils/db.ts:176:5 - error TS2322: Type 'unknown[]' is not assignable to type 'TablesStructures[T][]'.
server:build:   Type 'unknown' is not assignable to type 'TablesStructures[T]'.
server:build:     Type 'unknown' is not assignable to type 'never'.
server:build:       The intersection 'CommonTableStructure & { id: number; bitRate: number; format: "mp3" | "flac" | "ogg" | "wav" | "m4a" | "aac" | "unknown" | "opus"; source: "unknown" | "netease" | ... 6 more ... | "joox"; queriedAt: number; } & { ...; } & { ...; } & { ...; }' was reduced to 'never' because property 'id' has conflicting types in some constituents.
server:build: 
server:build: 176     return this.sqlite.prepare(`SELECT * FROM ${table} WHERE ${idsQuery}`).all()
server:build:         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server:build: 
server:build: src/utils/db.ts:180:5 - error TS2322: Type 'unknown[]' is not assignable to type 'TablesStructures[T][]'.
server:build:   Type 'unknown' is not assignable to type 'TablesStructures[T]'.
server:build:     Type 'unknown' is not assignable to type 'never'.
server:build:       The intersection 'CommonTableStructure & { id: number; bitRate: number; format: "mp3" | "flac" | "ogg" | "wav" | "m4a" | "aac" | "unknown" | "opus"; source: "unknown" | "netease" | ... 6 more ... | "joox"; queriedAt: number; } & { ...; } & { ...; } & { ...; }' was reduced to 'never' because property 'id' has conflicting types in some constituents.
server:build: 
server:build: 180     return this.sqlite.prepare(`SELECT * FROM ${table}`).all()
server:build:         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
server:build: 
r3playx:build: r3playx:build: r3playx:build: r3playx:build: r3playx:build: cache bypass, force executing 7f365e888d017244
server:build: 
server:build: Found 7 errors in 3 files.
server:build: 
server:build: Errors  Files
server:build:      3  ../desktop/main/db.ts:166
server:build:      1  ../desktop/main/log.ts:8
server:build:      3  src/utils/db.ts:168
server:build:  ELIFECYCLE  Command failed with exit code 1.

zxp19821005 commented on 2024-01-22 02:03 (UTC) (edited on 2024-01-22 02:03 (UTC) by zxp19821005)

@Discreater 你可以测试一下,编译完成后,其实所有的设置都还原了,可以在终端运行pnpm config list / pnpm config get store-dir / pnpm config get cache-dir

Discreater commented on 2024-01-21 15:47 (UTC)

pnpm config set store-dircache-dir不应该改全局的吧,或者应该在build之后改回原值。

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

@Discreater 感谢反馈,目前已经修复,已经可以运行,但仍然会存在报错信息。如果介意的话,可以安装 r3playx-bin.

Discreater commented on 2024-01-17 16:39 (UTC)

启动失败

❯ r3playx   
/usr/bin/r3playx: line 9: cd: /usr/lib/r3playx-git: No such file or directory

修改/usr/bin/r3playx里的 _APPDIR之后报错如下

❯ r3playx                  
00:38:12 info › 

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

00:38:12 info › [logger] logger initialized
00:38:12 info › [electron] utils.ts
00:38:12 info › [preload] dirname /usr/lib/r3playx/app.asar/main
00:38:12 info › [preload] userData path: /home/alkaid/.config/R3PLAYX
00:38:13 info › [sentry] sentry initializing
00:38:13 info › [sentry] sentry initialized
00:38:13 info › [electron] db.ts
00:38:13 info › [db] Initializing database...
00:38:13 error › [db] Database initialization failed.
00:38:13 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 CU (/usr/lib/r3playx/app.asar/main/index.js:563:7241)
    at Object.<anonymous> (/usr/lib/r3playx/app.asar/main/index.js:563:9777)
    at Module._compile (node:internal/modules/cjs/loader:1271:14)
00:38:13 info › [electron] cache.ts
00:38:13 info › [electron] store.ts
00:38:13 info › [electron] menu.ts
00:38:13 info › [electron] ipcMain.ts
00:38:13 info › [electron] tray.ts
00:38:13 info › [electron] windowsTaskbar.ts
00:38:13 info › [electron] appServer/routes/r3play/appleMusic.ts
00:38:13 info › [electron] appServer/routes/r3play/audio.ts
00:38:13 info › [electron] appServer/appServer.ts
00:38:13 info › [electron] index.ts
00:38:13 info › [index] Main process start
00:38:13 info › [index] App ready
00:38:13 info › [appServer] http server listening on port 42710
00:38:13 info › checkForUpdates
00:38:13 warn › APPIMAGE env is not defined, current application is not an AppImage
00:38:13 debug › checkForUpdatesAndNotify called, downloadPromise is null