Git Product home page Git Product logo

deezer-discord-rpc's Introduction

Deezer Discord RPC

GitHub issues GitHub release (latest by date) GitHub release (latest by date including pre-releases) GitHub commit activity

A Discord RPC for showing the music you're listening to on Deezer (like the Spotify integration).

Features

  • Updates instantly
  • Shows the song title, the song artist(s), the album cover (when the mouse is over the album cover, the album title is shown) and the song duration
  • On the RPC there's a "Listen along" button like on the Spotify integration. This is a link to the song
  • An in-app updater
  • Can hide the activity if song is not playing
  • Can set a "Listening to" status (requires your Discord token)
  • Includes an ad-blocker, so it can block Deezer ads, Sentry requests...
  • Supports songs, radios, personal songs, podcasts

Screenshots

RPC on profile:

With the "Playing" status:

RPC on profile

With the "Listening to" status:

RPC on profile

Tray menu:

Tray menu

Todo

  • Implement Discord WebSocket server to get a "Listening to" status on the profile
  • Support podcasts

License

Mozilla Public License 2.0

deezer-discord-rpc's People

Contributors

erwangit avatar justyuuto 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

Watchers

 avatar

deezer-discord-rpc's Issues

Suggestions: Window Size

1 - Start the app with about 70% of the screen and not in full screen
2 - Save last size and position of the window

CONTACT

Salut comment te contacter ?

Suggestion : Add timer in listening mode

I have seen than when using the listening mode, the timer doesn't show off like in playing mode in the discord RPC

Should be great if it will be displayed too.

app cannot be launched after beeing closed

Once you close the app using the red arrow in the top right corner, you cannot open it back.
You need to end the tasks in the task manager in order to launch it.
The music continue playing in the background but that's the basic bahaviour.

deezer RPC version: 1.1.8.0
OS: Windows 11 pro 22H2 22621.1555

Suggestion: Back and Forth Buttons

Hey,

since the menu bar is gone there is missing a way to go back and forth with the cursor only. This would come in pretty handy in some scenarios.
Just adding a menu bar again would obviously look pretty ugly, so I wonder if you could find a way to nicely implement it with an overlay or into the site itself? Looking at the official app, you may or may not find joy in doing it better than them and not sacrificing the whole logo for it? (lol)

Status refuses to show, even with websocket and token connection

Apologies for another issue. Despite the many updates since, I am unable to have my Discord actually show the listening status. Attached below. I have tried so far:

  • Reconnecting to RPC/Websocket
  • Disconnecting and reconnecting with my discord token (multiple times on multiple updates)
  • Uninstalling and reinstalling simply
  • Uninstalling, wiping the configs and all from appdata/Roaming, and reinstalling
    image

I absolutely want to use this service! I just wish I could figure out why it refuses to work for me. I hope that this can be solved efficiently, even if there is a cost of making me look like a fool should the solution be simple.

Listening to lower priority than games

It may be on Discord side but when I select "Use listening to instead of playing" I need to not have any game launched otherwise it doesn't show and I see my game.

Playing :
image
Yeah we have the two "games" side by side and the RPC takes priority so Deezer.

Listening :
Game open :
image
Game closed :
image
Here Deezer is not counted as an RPC because of the weird websocket thing (I don't know exactly what you do) so they have same priority and it seems like the first "game" launched takes priority.

It's kinda annoying as it's inconsistent. I don't know if you (or someone else) experienced the same issue.
I'm not sure you can do anything about it (probably not) but adding a disclaimer would be nice.

Discord RPC Not Showing GUI Interface

Problem:

All of a sudden the Discord RPC Application is not showing anything.

Screenshot below:
image

I am not sure what caused this issue to happen so I don't have any steps that can be followed to replicate this exact screenshot.

Attempts to Resolve This Issue

  • Restarting application shows the same behavior as seen in the screenshot.
  • Restarting PC shows the same behavior as seen in the screenshot.

Need a update

With the new beautiful UI of Deezer, the method to grab titles, playing status, track name, album icons don't work anymore.

We need i think to change the method or anything else!

image
You see? is very pretty <3

Cordially,
Anaïs

Sometimes song titles dont but lengths get shown

Sometimes when I listen to songs, the title just doesn't get shown, same for the length.
It just looks like this

image

The small image that is supposed to have the deezer logo doesn't show up entirely

image

Websocket keeps disconnecting: Error Message

Hey,

the Websocket keeps disconnecting between every ~30 to 60 minutes and the error message also comes out on top of a fullscreen application. Manually reconnecting always works immidiately again so I think it would be great to add an auto-reconnect if connection gets lost and ideally the error message only appears after X failed retries or just remove it completely.

Thanks a lot for your work!

`Use "Listening to" instead of "Playing"` doesn't seem to detect my token

I pasted my discord user token but it seems it cannot take my token.

[Protocol] Registered protocol
[App] Deezer Discord RPC version 1.1.11 
[119178:0424/004325.506192:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[Updater] Checking for updates...
[Updater] No updates found.
[WebSocket] Connected to Discord WebSocket server
[WebSocket] Sent authentication payload
[Menu] Updating menu entries...
[Menu] Updated menu entries
[Menu] Updating menu entries...
[Menu] Updated menu entries
[119178:0424/004331.303033:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[119178:0424/004331.304314:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!
[Activity] Updating because music got changed
[Spotify Covers] Access token expired; refreshing it
(node:119124) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400
(Use `deezer-discord-rpc --trace-warnings ...` to show where the warning was created)
(node:119124) 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: 3)
[Activity] Updating because music got changed
[Spotify Covers] Access token expired; refreshing it
(node:119124) UnhandledPromiseRejectionWarning: AxiosError: Request failed with status code 400
(node:119124) 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: 6)
[Activity] Updating because music got changed

Am I pasting wrong token ?

Listening mode covers not working

Listening mode displays blank images for songs, regardless of if a spotify account is linked or not.
Might be unrelated, but in spotify account page, in the manage apps section, nothing is appearing even when you approve this app.

Installer issues

Hi,

Recently you might had an installer issue saying that the program is already running but it's not. I'm running into the same problem and I don't know what is the source problem. I want to know if anyone else is having the problem, if yes please reply to this issue with your system version.

A temporary fix for getting it working is running these commands (in a command prompt, not PowerShell) for deleting the app folders (note that will delete the config and log you out of Deezer on the app):

del /F /S /Q %appdata%\deezer-discord-rpc
del /F /S /Q %localappdata%\deezer-discord-rpc-updater
del /F /S /Q %localappdata%\Programs\deezer-discord-rpc

If you don't want to use commands or don't know how to use them: #14 (comment)

Then just relaunch the installer you've downloaded.

Suggestion: Windows Preview Playback Controls

Hi,
I'd like to have Back, Play/Pause & Forward Buttons on the small Windows Taskbar Preview if possible because sometimes the Browser steals the media controls through Videos, and when I want to play music and press play on the keyboard, the videos start playing (even in the background) instead of the music, so it's nice to have a quick way to control it with the cursor without going into fullscreen.

Multiple instances running

Reopening the program after closing the window, but not quitting from tray (program still running), opens another instance that runs in parallel.
It's not a terrible issue, but it'd be great to be able to reopen the window by clicking on the program again, instead of having to go to the tray every time. I sometimes forget about this and end up accidentally opening a few instances that eat away my RAM.

Screenshot 22-Apr-24 3_35_49 PM
Task Manager 22-Apr-24 3_58_44 PM

Update from 1.1.16 to 1.1.17 with Errors

Hi, i just ran the exe installer while the program was running and it did close the app automaticly but the installer insisted that it was still running and didn't continue (Before that, i noticed that the "Listening to" didn't work and tried to manually reconnect which didn't work, so i just restarted the app and got reminded of the update). Looked for processes starting with "d", but nothing there except the installer. Tried a restart, same story. Then i tried to fresh install and the uninstaller also came with the error that the integrity check has failed.

I'm on Windows 11, someone else has experienced this?

I just deleted the AppData/Local/Programs folder and installed it after that. So far that seemed to work fine for me.
Feel free to close the issue, it could be just a rare coincidence on my side, still wanted to let you know.

Thanks again for your great work! :)

unable to install new version

The updater from 1.1.8.0 to 1.1.9.0 didn't worked so I uninstalled the 1.1.8.0 version and installed the 1.1.9.0 instead.
Once done, the application is left with a white background as shown below.
image

PS: the paypal link in the repo isn't available.
image
(it means unable to find the profile.)

1.2.4 seems to working not properly

Hi, so I tried to install latest 1.2.4 today and the app is running fine, but there's no application tray so I don't know how to get RPC and it's not showing any status in DIscord
image
I'm running on win10x64 22h2
Also while music is playing if I tap on Exit button. music is still playing and the only way to stop is to kill Deezer Discord RPC.exe because no appliacation tray is available. Or should I turn it on somewhere else?
image
Installed running as admin
Please provide any solution to it

Adblock detected

Hey,

I don't understand why, on the Discord RPC application, I've had this window displayed ever since.
When I click on Adblock Disabled, it restarts the application and Discord visibility is no longer displayed.

However, I don't have Adblock.

image

Thank you for any indication,
Florent.

Cannot log in with Google account?

Trying to log in, my Deezer account is linked to a google account but I can never get past the "Deezer wants additional access" screen. Just an endless loop of loading!

"'Listening to' instead of 'Playing'" causes websocket connection error

Hello,

I've been getting this error whenever I use the "Listening to" instead of "Playing" option and using my discord token + spotify token. I have been copying my token from the correct place (assumedly) and leaving out none of it, so I assume it is an issue on the side of the application. The application takes my token as valid, but repeatedly gives me this error and does not give me the Playing status.

I appreciate any help, even if it is pointing out that I may be a bit stupid.

errorooror

Sometimes the song timer goes to zero before the end of the song being played

Hi,
I love your project. I now use it very regularly and I noticed that sometimes, when rewinding a music or even just letting this deezer play the music, the timer displayed on discord reaches zero far before the music ends. I don't think this is a major bug but I wanted to point it out to you just in case.
image
image

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.