#MusicTitleRPC
1 messages · Page 1 of 1 (latest)
For those of you who find that this plugin doesn't work, make sure that the setting at Settings > Activity Privacy > Share your detected activities with others is enabled. Otherwise nothing will show.
I'll add this to the settings screen, didn't know that was an option
yea it took me a while to figure that out.
also is there a way we could replace some of the details with some of our choosing like the duration if the song.
in my case the line on I Remember for my current song
id rather that be {currentPosition}:{songLength}
the duration is not currently possible with spotify, though on mobile clients I think it should show mm:ss left
i thought spotify had some sort of local api you could use
just had a look in the code, duration seems to be possible but I don't know how I would have that in settings
toggle, display duration instead of album name
especially with hovering over the album art showing the album name as well
i would send screenshots but I cant :/
discord puts the big image text on the bottom line for listening activities, I can't change one without the other
oh
🔥
I'll try to make some more configuration possible for spotify like changing what each part of the activity shows and how to format it
that would be fantastic cant wait
ping me once thats done please
gonna pull that instantly
This should be inside vencord, built-in fr fr
there's a PR for this https://github.com/Vendicated/Vencord/pull/2483
I didn't know you could do custom activity names without oauth API access, this is really sick
Ooo pls get accepted 😔🙏
u alwayscould i think
thats why i had this
I didn't know about the "Swap presence name and details" part
?remind 50y finish rpceditor
Alright @surreal crag, in 50 years: finish rpceditor
@gray bramble a bunch of customization has now been added for spotify
o.o
i was gonna send a screenshot as but no perms :(
can we also have a current timestamp. if you cant use the spotify api or whatnot you can always track how long its been since the activity changed
I hope to do something like {{Position}}:{{Duration}}
I thought of that but there's a couple reasons why I didn't do that
- I don't know if it counts as api abuse but I don't want to risk doing that
- A while ago I noticed that quickly updating an activity makes most updates get ignored by the server, so I think adding that in would make it so there's big delays in song changes (and the current position would be pretty laggy as well)
and you can't use discord timestamps in activities either
i thought some games could do it so i figured itd be fine
idk why it shows x time left on mobile but not on desktop
however if you have the TimeBarAllActivities plugins you'll see the timebar again (but others wont unless they have the plugin as well)
this might be related to it being a Listening to activity instead a Playing one
CustomRPC adds a warning for this in the settings
must have missed it there, I added it to mine as well tho
it only shows up if the setting is off
ah I see
separate 3rd line of descriptor and image hover text would be dope :]
also, I've seen that adding links to the title and image works somehow
sorry but because of how discord gets the third line they can't be separated
how would adding links to title and image work?
oh okay nvm then mb
I've seen stuff but thats with an external API which hooks discords
wasnt sure if it modified those ties
this limitation is specific to listening to activities
aaaah aight gotcha
v+ image sender
you lie vbot
tyy
wait this is fire you're a legend
h
e
l
Stupid question. Is this windows only, or does it work for linux? Been looking for something like this, but the closest thing i could find was something called "clematis" which kinda sucked for what i wanted it to do
This just tweaks Discord's own built-in Spotify integration
oh wait
I think it could also work for that
Alright, Ill try it out. Thanks!
You should be able to combine both of them
Combine? sorry, do you mean clematis and this plugin?
Yes
what I understand from looking at this, is itll show any music that shows up on my pc (fuck i cant talk anymore. I need to sleep)
a picture says 1000 words, one sec
Nuts, cant send pics here.
Ill DM you it
alright
Im not sure if this is possible but dose amazon music work with it?
It currently does two things:
- If you're playing music from spotify, it clones its activity with a similar one but with a custom name (since it can't be changed from a client for spotify activities)
- If you're playing music from anything else and already have a local RPC for your music it renames the activity
i use and recommend mprisence to create a rich presence from mpris media and then use this plugin to change the name
It doesn't create a new activity for amazon music but if you already have an activity with the song info it should work with it (#1264994741666447401 message)
Alright thank you ill give it a try.
Also if you do end up adding support for it would having the code read from the windows action center or windows notification? Hope this idea helps if you end up doing it.
If that gets created it would be a different plugin.
though most likely it would be a program outside of vencord and not a plugin - you might want to check if there's any programs that do that already, I've seen multiple for linux and would be surprised if no one attempted to create that on windows
:o thanks!
good
I love this so much!
Discord now did some magic and all activities can have a time bar so if you have this plugin you should see a time bar like the original spotify activity
YO LETS GO
big win
is this specifically for the LISTENING activity type?
not sure, you could check through customrpc by putting a start and end timestamp
I'd guess it's not
i tried to use this on vencord and kizzy on my phone and it didnt work, do you know why?
kizzy to make the rpc
from an FOSS music app i use
what didn't work? the timebar or the plugin
the plugin
does that app need to log into discord?
actually ill just try it and see how it works
Yep
Kizzy ( RPC )
InnerTube ( Music app fork of original )
sure go ahead
thats link to kizzy
okay so what i think is happening is it acts as its own discord client without making the rpc spawn through vencord. The plugin doesn't change other clients' rpcs
Hmm possible i am not really sure its open source so you can check if you want ig the github link is on https://kizzy.vercel.app/ too
right ok I'm pretty sure it's doing that. Since they're doing rpc that way, you should request the same feature to be implemented directly into that app. Since they're not locked to the limitations normal rpcs have (only playing, and cant change name) they should be able to add it by themselves without help from a vencord plugin
oh ok thanks!
also
do you know how to get discord time bar on activities
cuz i heard it came out for all activities and not just spotify recently
The activity needs to have start and end timestamps and it should show up
oh is it that easy???
yea
wait can you give a code example rq? like a object thingy or whatever please?
cuz i suggested them ( kizzy ) to make it ( time bar ) and they were like they couldnt find any code thingy to make it
const activity: Activity = {
application_id,
name: "whatever",
type: ActivityType.LISTENING,
flags: 0,
details: "details",
state: "state",
timestamps: {
start: Date.now(),
end: (Date.now() + (e.track.duration ?? 0))
},
assets: {
large_image,
large_text: "album"
},
buttons: [],
metadata: {
button_urls: []
}
};
since creator updated their repo to say discontinued, just wanted to put a note for anyone who sees this → your status won't be visible to others unless you have a button in it. (for spotify at least, not sure about non-spotify)