Start and end timestamps, also custom fields like partyid
Is your feature request related to a problem? Please describe. It is not related to a problem at all.
Describe the solution you'd like I would love if start and end timestamps were added to the RPC, I'm using a vencord plugin to switch the presence type to "listening" and being able to have start and end timestamps. I would also like a field for "partyid" because if given, then I would be able to switch the partyid to "spotify:RANDOM_NUMBERS_HERE" and have the RPC show as a spotify RPC, with the progress bar and all (with the timestamps as well of course)
Describe alternatives you've considered I haven't really considered any other alternatives because there isn't any solutions I can think of for what I'm attempting to do. I also cannot code in C# whatsoever, I mostly can only code in JS and HTML, and little bits of Python.
Additional context Example of the activity with a different program https://cdn.discordapp.com/attachments/1032770730703716362/1072256489399529674/image.png Current implementation of the RPC shown in devtools (except activity type is 2 here because of a plugin I am using to switch it to "listening" instead of "playing") https://files.pandaptable.moe/RdmsI66v.png
edit: I believe the partyid can be just set to "spotify:" without anything after and it will work properly
So you are saying all it needs for the presence to look like (meaning exactly look like) spotify is a partyId that says spotify:xyzxyz
I need to look into that
Actually it needs a few more things, but in essence yeah. I actually had my friend edit the plugin, take away a feature, so it sends start AND end timestamps. I've gotten it working, but currently only whilst I'm running spotify and playing a song there. I'm available on discord if you want to talk about any specifics on this: Panda#0907
friend that helped me out with this said: "type has to be LISTENING name has to be Spotify gotta have start and end timestamps party id must include spotify:"
friend that helped me out with this said: "type has to be LISTENING
This will be a problem as RichPresence does not support changing this as far as I know (https://discord.com/developers/docs/game-sdk/activities#data-models-activitytype-enum)
ActivityType is strictly for the purpose of handling events that you receive from Discord; though the SDK/our API will not reject a payload with an ActivityType sent, it will be discarded and will not change anything in the client.
It does support it, however with the current implementation of it in discordbee, yes it is impossible. That's why I'm using a client mod plugin to change the listening type instead of trying to change it elsewhere. I'm also using this for the name
I actually got it entirely working all thanks to my friend who made that small edit In discord: https://files.pandaptable.moe/dDWhWtbj.png Musicbee: https://files.pandaptable.moe/q2tcgEL9.png With the plugin I made, I had to patch discord so a certain setting would change along with the presence details I was changing. The spotify presence has a function that's used to filter listening activities before updating them (https://cdn.discordapp.com/attachments/1072767449382002759/1072880952948293773/image.png) k is undefined when spotify isn't playing So I had to patch https://cdn.discordapp.com/attachments/1072767449382002759/1072881786402656356/image.png
Feel free to close this, however I would love if there would be support for an option to have BOTH start and end timestamps at once
Ok with client edits I understand that stuff like that is possible, but this is impossible to do with just the Activity/RichPresence API which I am using. I can take a look at the option of having start and end timestamps but its possible that this is also filtered by Discord. Did you change DiscordBee code to make it work, or how did you get both timestamps?
I believe my friend just removed the option that you have for the time display, and made the "Display Time" checkbox have both the start and end timestamp. I believe you could just adjust one of the options like so https://files.pandaptable.moe/Fplq7zf7.png with no effect on the program for any users.