-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discord RPC stuck on "Browsing Tidal" #449
Comments
Having looked through other issues for possible fixes/workarounds, I tried running Tidal-hifi via the terminal and noticed that when I start playing a song with Discord RPC enabled, this error block keeps appearing every second or so: (node:11465) UnhandledPromiseRejectionWarning: Error: child "activity" fails because [child "assets" fails because [child "large_text" fails because ["large_text" length must be at least 2 characters long]]]
at RPCClient._onRpcMessage (/opt/tidal-hifi/resources/app.asar/node_modules/discord-rpc/src/client.js:178:19)
at IPCTransport.emit (node:events:517:28)
at /opt/tidal-hifi/resources/app.asar/node_modules/discord-rpc/src/transports/ipc.js:138:18
at decode (/opt/tidal-hifi/resources/app.asar/node_modules/discord-rpc/src/transports/ipc.js:92:5)
at Socket.<anonymous> (/opt/tidal-hifi/resources/app.asar/node_modules/discord-rpc/src/transports/ipc.js:120:7)
at Socket.emit (node:events:517:28)
at emitReadable_ (node:internal/streams/readable:601:12)
at process.processTicksAndRejections (node:internal/process/task_queues:81:21)
(node:11465) 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: 30) |
OK, so I just figured out the cause of the problem and a solution.Turns out the album name was actually less than 2 chars:This caused the API to freak out since it doesn't like largeImageTexts less than 2 chars, so I've added a fix in a PR #450 to mitigate this issue by adding an extra space, which Discord automatically trims as trailing white-space, so the API is happy and isn't visually borked either :) Feel free to edit the fix as you please 👍🏼 |
Fix issue #449 Discord RPC stuck on "Browsing Tidal"
Problem:
As title suggests, no matter what I do (reinstall, re-login, toggle RPC on and off, etc...) the rich presence never shows the current song playing and appears to only show "Browsing Tidal". I've also tried viewing the activity via the profile view, and that also shows the same thing.
And with the settings for Discord RPC, I've tried toggling all in different configurations and renaming the texts, but nothing gets it out of the idle state. I've also tried changing songs since that used to help it update, but that doesn't work either.
Tidal-hifi version:
5.15.0
Discord version:
stable 314046 (408a13e) Host 0.0.62 x64 Build Override: N/A Linux 64-bit (6.10.2-arch1-1)
The text was updated successfully, but these errors were encountered: