Discord Rich Presence (RPC) plugin for Audacious!
Displays what you’re vibing to in your Discord profile. 🧑🎤🎶
This is a modernisation hard-fork by onegen of darktohka/audacious-plugin-rpc
(made in 2018, abandoned in 2022) by DarkTohka et al.
It migrates the plugin from the deprecated discord/discord-rpc
to the modernised EclipseMenu/discord-presence, allowing it to use
the new LISTENING activity type (“Listening to...”) and a progress bar.
Original (v1.x):
This Fork (v2):
This Fork + Experimental ‘Fetch Cover Art’ Option (WiP):
Note: Cover art fetching is experimental, unstable and WiP. It is available as an opt-in setting in pre-releases (since v2.2-pre2511A). Covers are fetched from MusicBrainz (CAA).
Note
It is not possible to install this plugin on sandboxed immutable distributions of Audacious like Flatpak or Snap.
This plugin is not included in the official Audacious plugins, so it has to be
added to the Audacious plugin directory manually. Audacious is usually installed
system-wide, so administrator privilages will likely be required.
Plugin is compiled for Linux and Windows (10+).
-
Get the
discord-rpcplugin file. In the releases section, see the latest version – a ZIP file with the compiled plugin should be available for Linux and Windows. Releases labeled "Pre-Release" have yet-untested features and might cause crashes – if that sounds bad to you, stick to "Latest". :)The plugin file is
discord-rpc.sofor Linux anddiscord-rpc.dllfor Windows. -
Find the plugin directory. More specific notes on finding it are in the included
INSTALL.*.txt. On Linux, you can find the directory viapkg-configif you installed Audacious as a system package:echo "$(pkg-config --variable=plugin_dir audacious)/General"
On Windows, it depends on where you installed the music player. The default location is
C:\Program Files (x86)\Audacious. The plugin directory is within that installation folder inlib\audacious\Generalsubdirectory, so with the default root:C:\Program Files (x86)\Audacious\lib\audacious\General.On all platforms it should be called ‘General’ and be filled with other default plugins (
.soor.dllfiles). -
Copy the plugin there. Once you found the directory, copy the
discord-rpc.{so,dll}file there. You’ll likely need administrator (sudo) privilages if installed system-wide. A shortcut for Linux users:sudo cp ~/Downloads/discord-rpc.so $(pkg-config --variable=plugin_dir audacious)/General/
-
Enable the plugin. In Audacious, open ‘Services’ on the top menu, then open ‘Plug-Ins’ and in the ‘General’ tab, you should see ‘Discord RPC’ as shown on the screenshot below. Checking the box will enable the plugin. The plugin has a few configurable options, which you can change by clicking ‘Settings’ with the plugin highlighted.
If you encounter any issues or crashes, please, open an issue! I want this to work so if something is broken, I’ll do my best to fix it. Alternatively, if you’re good with C++, and feel like helping out, check if you can’t fix something yourself. PRs are always appreciated! ❤️
This plugin prints a good amount of debug info when enabled. To specifically see only the plugin’s logs, run Audacious from a terminal like so:
audacious -VV 2>&1 | grep --line-buffered -i 'RPC'audacious -VV o+e>| grep --line-buffered -i 'RPC' # for nushellTo uninstall the plugin, simply delete the discord-rpc.so file from the Audacious
‘General’ plugins directory (see step 2 of Installation above).
A quick shell command:
sudo rm $(pkg-config --variable=plugin_dir audacious)/General/discord-rpc.soAlso, if you used the older (original) version of the plugin (pre-fork), you
might want to delete that, too. The older file was called libaudacious-plugin-rpc.so.
sudo rm $(pkg-config --variable=plugin_dir audacious)/General/libaudacious-plugin-rpc.soTODO: I will make a more proper building guide later. If you ever used CMake before though,
it is rather standard. On Linux, you need audacious-dev (DEB) / audacious-devel (RPM)
package installed system-wide (Audacious headers) as well as cURL, git and CMake.
On Windows, compilation is possible only on MSYS2 MINGW64 environment
and you’ll need something like this (may be incomplete):
pacman -Syu
pacman -S base-devel git mingw-w64-x86_64-toolchain mingw-w64-x86_64-gcc mingw-w64-x86_64-glib2 mingw-w64-x86_64-cmake mingw-w64-x86_64-pkg-configAfter that, it’s just a matter of this: (both platforms)
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build -j
sudo cmake --install build # optionally copies to General, if foundThis is a free and open-source software, licensed under the MIT licence.
- TL;DR;NAL: Do absolutely whatever you want with the code, just include the LICENCE file if you re-distribute it.
- See
LICENCEfile or tl;drLegal for more details.
- onegen – developer of this continuation fork
- Derzsi “DarkTohka” Dániel, et al. – developers of the original plugin
- Олександр “Prevter” Немеш – developer of
discord-presence, the used Discord RPC library - and additionally all the Discord & Audacious developers and contritutors.





