Open goldentg opened 3 months ago
I think it would make much more sense to support the system media API (MPRIS2?) instead of doing a specific Rhythmbox integration as it works with many players (including Spotify lol with which I can confirm it provides all necessary data to make it function exactly like the SpotifyControls plugin)
I think it would make much more sense to support the system media API (MPRIS2?) instead of doing a specific Rhythmbox integration as it works with many players (including Spotify lol with which I can confirm it provides all necessary data to make it function exactly like the SpotifyControls plugin)
vee said "you cannot do dbus" to me when I brought up the idea of using dbus to control discord. maybe this needs to be a shared API to do native dbus stuff in vencord, as some kind of native or binding is required to do that
@Sqaaakoi Vencord also runs git
commands so it could theoretically also run something like qdbus
and why is it impossible to do it in native (or with some kind of dbus library idk)?
@Sqaaakoi Vencord also runs
git
commands so it could theoretically also run something likeqdbus
and why is it impossible to do it in native (or with some kind of dbus library idk)?
it's not technically "impossible", vee probably just meant really inconvenient also, can qdbus even do the listening required for mpris?
i never said "you cannot do dbus". i said you cannot use a native library, so you'd have to use a cli, such as playerctl
i never said "you cannot do dbus". i said you cannot use a native library, so you'd have to use a cli, such as playerctl
you said "you cannot do dbus" to someting completely unrelated
yes playerctl is probably the best way to do this specific case
if this is ever added it would need to be windows, mac, linux, and vendroid compatible
not sure if playerctl is available on windows / mac
MPRIS2 is only for Linux afaik. We would need different backend implementations so I this should probably be written dynamically. Maybe there is already a library that works and does it.. We could then even replace the SpotifyControls plugin and add Spotify as a backend for the new plugin. As for Vendroid support, I don't think that's something we look out for.
Plugin Description
A plugin similar to the spotify controls, although it allows you to control rhythmbox/youtube music/etc etc rather than spotify
Existing Plugin for other mod
https://github.com/Vendicated/Vencord/tree/main/src/plugins/spotifyControls
Request Agreement