JustYuuto / deezer-discord-rpc

A Discord RPC for Deezer
Mozilla Public License 2.0
44 stars 9 forks source link

Status refuses to show, even with websocket and token connection #26

Open QueenOfRodents opened 5 months ago

QueenOfRodents commented 5 months ago

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:

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.

danielzeljko commented 5 months ago

It stopped working for me too

JustYuuto commented 5 months ago

Hi, sorry for the inconvenience but for me it's working nice, I don't know where the problem can be from :/ image Try this, hopefully this will help: https://github.com/JustYuuto/deezer-discord-rpc/wiki/Troubleshooting#nothing-appears-on-my-profile

QueenOfRodents commented 5 months ago

I have tried all of the listed solutions, in addition to what I have already done. I do not get a prompt that tells me my token is invalid, and I refuse to use a token checker unless one is proven to not be part of a network. For the record, it also fails to show when using "Playing" and not "Listening to", despite other rich presence applications working fine, so it may not be a token issue in general, and may be something specifically to do with my computer and application.

kylianrcd commented 5 months ago

Ca ne marche pas pour moi aussi, j'ai essayé les solutions proposées mais rien.

kylianrcd commented 5 months ago

Ah non c'est bon, je pense que ça prend juste un peu de temps à se mettre à jour au niveau de discord

IceAmaura commented 3 months ago

It looks like (correct me if I'm wrong) the RPC client is only being built when the window is ready, and if discord isn't available when its built, all attempts to send updates to discord will fail, and using the reconnect RPC tray button doesn't work either.

If you start discord first, and then deezer-discord-npc afterward, it works OK.

kylianrcd commented 3 months ago

It looks like (correct me if I'm wrong) the RPC client is only being built when the window is ready, and if discord isn't available when its built, all attempts to send updates to discord will fail, and using the reconnect RPC tray button doesn't work either.

If you start discord first, and then deezer-discord-npc afterward, it works OK.

Yes, that's what it sounds like, but personally I launch discord and deezer rpc automatically when I start my computer and I've never had the problem again.

QueenOfRodents commented 2 months ago

It looks like (correct me if I'm wrong) the RPC client is only being built when the window is ready, and if discord isn't available when its built, all attempts to send updates to discord will fail, and using the reconnect RPC tray button doesn't work either.

If you start discord first, and then deezer-discord-npc afterward, it works OK.

I've always started discord before deezer, and deezer rpc doesn't auto-launch. I've also tried it a multitude of times when closing and reopening Deezer Discord RPC. RPC programs other than this work fine (WACUP's Discord integration, games like Ultrakill, etc.). This issue continues to persist, even despite an OS SSD wipe (happened a few months ago unfortunately), so I can only presume this is some sort of conflict or something failing in the background of the program.

kylianrcd commented 2 months ago

It looks like (correct me if I'm wrong) the RPC client is only being built when the window is ready, and if discord isn't available when its built, all attempts to send updates to discord will fail, and using the reconnect RPC tray button doesn't work either.

If you start discord first, and then deezer-discord-npc afterward, it works OK.

I've always started discord before deezer, and deezer rpc doesn't auto-launch. I've also tried it a multitude of times when closing and reopening Deezer Discord RPC. RPC programs other than this work fine (WACUP's Discord integration, games like Ultrakill, etc.). This issue continues to persist, even despite an OS SSD wipe (happened a few months ago unfortunately), so I can only presume this is some sort of conflict or something failing in the background of the program.

Yes, in fact here are the things I noticed: For me discord and deezer-rpc launch at the same time, and here's what can happen:

If it doesn't work or there's a bug :

QueenOfRodents commented 2 months ago

If it doesn't work or there's a bug :

1st solution: Pause for a long time (1 minute) and click on play again, which will display the music again (you need to "only show music rpc when playing"). 2nd solution: Close the application completely, either using the task manager or the arrow at the bottom right of the screen. Wait a little, about 30 seconds, then relaunch and you're done. Note: For both methods, there's no need to relaunch discord.

Neither of these have worked for me, and I have attempted them a significant amount of times. However, I have only recently downloaded 1.2.5, so I will do many of the steps again in order to see whether it is working or not with the new updates.

EDIT: After quick testing, it appears my issue still persists. However, one thing I have now noticed is that my Deezer-Discord-RPC always mentions that my computer is offline, despite being able to browse and play music perfectly fine. My standard Deezer installation does not do this. Perhaps this is related to why mine doesn't work?

JustYuuto commented 2 months ago

Neither of these have worked for me, and I have attempted them a significant amount of times. However, I have only recently downloaded 1.2.5, so I will do many of the steps again in order to see whether it is working or not with the new updates.

EDIT: After quick testing, it appears my issue still persists. However, one thing I have now noticed is that my Deezer-Discord-RPC always mentions that my computer is offline, despite being able to browse and play music perfectly fine. My standard Deezer installation does not do this. Perhaps this is related to why mine doesn't work?

@QueenOfRodents do you have a firewall that blocks Deezer discord rpc from accessing discord? Or something like that?

QueenOfRodents commented 2 months ago

I allowed both Deezer and the Deezer Discord RPC programs through firewall with a rule in order to see whether it was Windows Firewall. However, nothing has changed since, unfortunately. I still receive the strange "computer is offline" message.

QueenOfRodents commented 2 months ago

I attempted another fresh reinstall to no avail since it had been some time since I had last attempted. Uninstalled, removed all files from app data, reinstalled, etc.

What makes it strange as well is that I've continued to test more Discord RPC integrated plugins and programs. WACUP's plugin continues to work, YT-Music works fine as well, PreMiD, and so on. The program clearly works for most other users, so it has to be something incredibly specific on my end to be causing it on my machine, and to be causing it with this program only.

Is there perhaps any debug/logging ability in order to see where the RPC is blocked/if it even starts up? I have checked my anti-malware and anti-virus software in case anything was falsely flagged. Despite not seeing anything pop up even on the reinstall, it may be an element of something on my computer/network not allowing me to use it at all.

I apologize for my extremely strange case being so troublesome, even throughout updates. I have no idea what it could possibly be at this point. Thank you in advance, even if this strange issue does not end up resolved.

kylianrcd commented 2 months ago

I attempted another fresh reinstall to no avail since it had been some time since I had last attempted. Uninstalled, removed all files from app data, reinstalled, etc.

What makes it strange as well is that I've continued to test more Discord RPC integrated plugins and programs. WACUP's plugin continues to work, YT-Music works fine as well, PreMiD, and so on. The program clearly works for most other users, so it has to be something incredibly specific on my end to be causing it on my machine, and to be causing it with this program only.

Is there perhaps any debug/logging ability in order to see where the RPC is blocked/if it even starts up? I have checked my anti-malware and anti-virus software in case anything was falsely flagged. Despite not seeing anything pop up even on the reinstall, it may be an element of something on my computer/network not allowing me to use it at all.

I apologize for my extremely strange case being so troublesome, even throughout updates. I have no idea what it could possibly be at this point. Thank you in advance, even if this strange issue does not end up resolved.

What anti-virus do you use?

PS: For the offline computer error it's insignificant because I have it too but the rpc works.

QueenOfRodents commented 1 month ago

What anti-virus do you use?

Malwarebytes, if it's of concern.