JackDotJS / node-studio

Node-based music production tool, built with Tauri.
MIT License
9 stars 1 forks source link

Discord Rich Presence support #14

Open asoji opened 2 years ago

asoji commented 2 years ago

idk i suggested it and jack told me to like, make an issue to remind so uh

hi jack

drpc pls

JackDotJS commented 2 years ago

what should rich presence look like for this app?

also discord.js has a rich presence feature doesn't it?

asoji commented 2 years ago

personally what i [and some friends] used is discord-rpc mainly bc of it's really easy implementation, like shown here

asoji commented 2 years ago

So far, very basic Discord Rich Presence support, nothing fancy, and no metadata yet [waiting on that, hi jack :p]

DiscordCanary_mvMW8vZxc1

Went through several earlier iterations but the one above was what was decided to stick to

image image image

Sadly Discord doesn't support editing the text of the timestamp, so we couldn't get something like making some tunes for 00:00 [taken directly from DMs], but oh well!

Anyway, hoping once the metadata stuff comes out, we can get something that updates on the fly like this

image

JackDotJS commented 2 years ago

...and no metadata yet [waiting on that, hi jack :p]

should be good to go now after latest commits

asoji commented 2 years ago

so that was a slight nightmare but it worked out

electron_PcCinE9M5w

JackDotJS commented 1 year ago

reopening since this was broken by the tauri port

JackDotJS commented 1 year ago

update: @bdotsamir has been working on this recently. see 2a2b9b9