unickorn / discordtidal

tidal discord rich presence for windows
24 stars 2 forks source link

The pipe is being closed. #13

Open gradiegradie opened 3 months ago

gradiegradie commented 3 months ago

hopefully just a quick question.

so i was trying to get this to work, and everything seemed fine. the app logged to discord and also detected the songs, but discord wasn't detecting anything.

everytime a song plays or it skips, it says "the pipe is being closed." and idk why, but i'm guessing that's the problem.

anything i'm doing wrong?

gradiegradie commented 3 months ago

image_2024-06-19_234017460

gradiegradie commented 3 months ago

also i'm using the 1.1-safe version

SirWaddles commented 3 weeks ago

I had a go at resolving this, it looks like the issue is just to do with the author's application ID no longer being active. Not actually sure about that, but after replacing it with my own application ID it seemed to solve the issue.

gradiegradie commented 3 weeks ago

yo thank you for responding. how exactly do i replace the application ID?

SirWaddles commented 3 weeks ago

There's a line in the safe version where you can replace the Application ID. The 'safer' branch needs some work to be compiled though so up to you if you want to go through that - you will also need to upload the Tidal logo to your Rich Presence assets in order for it to work.

If you're just after an executable that can be run, I've made a fork and published a release that should work. I've called it 'TidalBot' (which is what it will show up as.)

unickorn commented 3 weeks ago

Hey hey, thank you for reporting the issue @SirWaddles !

I deleted my discord account a while back, might be why it is gone now.

This program is not very well maintained anymore due to lack of a Tidal account and a Windows machine, but any help is appreciated.

gradiegradie commented 3 weeks ago

There's a line in the safe version where you can replace the Application ID. The 'safer' branch needs some work to be compiled though so up to you if you want to go through that - you will also need to upload the Tidal logo to your Rich Presence assets in order for it to work.

If you're just after an executable that can be run, I've made a fork and published a release that should work. I've called it 'TidalBot' (which is what it will show up as.)

your published release works! thank you! but is there a way to change the name of the "app"? because rn it's displayed as "TidalBot" instead of simply "Tidal"

image

SirWaddles commented 3 weeks ago

I'm not sure if I can change the name of the application. I didn't realise it would show up in the activity when I made it.

I'll see if I can change it, but if not I'll have to publish a new release.

I was also kind of hoping to be able to change it to say "Listening", and there's a field for that called "Activity Type", but it's not supported in the upstream library, and I can't tell if it's even supported in the mechanism that the library uses (since it's a deprecated RPC client)