1
2
Fork
You've already forked audacious-plugin-rpc
2
Discord Rich Presence plugin for the Audacious music player.
This repository has been archived on 2025年09月29日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • C++ 99.9%
  • CMake 0.1%
Find a file
ridge 2bad2e1c3b Check if file is a tracker module
If the file is a tracker module, display the codec in the album field.
For example: "Impulse Tracker 8.88" or "Scream Tracker 3".
2024年11月27日 04:33:13 +01:00
img Add screenshots, and drevil to credits. 2024年05月05日 15:33:01 +02:00
libs Small cleanups 2022年10月31日 14:26:16 +01:00
.gitignore testing 2022年10月30日 17:27:10 +01:00
audacious-plugin-rpc.cc Check if file is a tracker module 2024年11月27日 04:33:13 +01:00
CMakeLists.txt Using consoleSkunk's code from GitHub to see if it's an easy drop in change 2024年08月28日 12:38:15 +02:00
README.md Usage info before compilation, update wording 2024年11月27日 03:09:14 +00:00

audacious-plugin-rpc

A Discord Rich Presence plugin for the Audacious music player. It displays the currently playing song, the artist, and the album it is from.
Originally by darktohka, based on consoleSkunks fork with some additions by listed contributors.

About the fork

This is a mish-mash of code, frankensteined by clobbering two forks together. It's using consoleSkunks fork as the base, with last.fm cover art fetching code by crackheadakira.
Otherwise this is entirely the work of the contributors listed in the credits, and NOT me. I'm just gluing things together.

The only things I sort of did myself was just adding checks if the track is from a http source, or a tracker module.

If the stream is from an http source, it'll display the URL in the album field.
Also, instead of "by [artist]", it just displays "[artist]" which is usually the name of the radio station, such is the case for Nectarine Demoscene Radio and CGM UK DemoScene Radio.

If Audacious is playing a tracker module, it'll display the codec in the album field. For example, "ProTracker MOD (M.K.)" or "FastTracker 2 v1.04".
The title also becomes the filename and its file extension instead, such as "mrs_beanbag_-_clammy_panic.mod"

If I ever manage to get a grasp on basic programming, I want to try porting this to the new Discord Game SDK to future proof the plugin.

Requirements

A Last.FM api key, which you can get here.
libaudcore (This is included when installing Audacious on Linux).

Usage

  1. Download the current release.
  2. Move libaudacious-plugin-rpc.so into /usr/lib/audacious/General/.
  3. Open Audacious, go to Settings > Plugins and enable the Discord RPC plugin.
  4. Go to settings, and enable the album art option if you want to see the album art in your Discord status.

Compiling

  1. Clone the repository.
  2. Compile and install the plugin:
mkdir build
cd build
cmake ..
make install

Screenshots

Playing The Seventh Gate, by Nobuo Uematsu. Hover tooltip shows the album as Before Meteor: Final Fantasy XIV Original Soundtrack by Nobuo Uematsu. Artist name is in Japanese. Playing Papua New Guinea by The Future Sound of London, Earthbeat by Various Artists is the album shown by hover tooltip. Song title is neatly abbreviated because it's too long. Playing Insanely Beautiful - Instrumental - All Buttons In by Fluke. The song name is abbreviated but the full name is shown in a hover tooltip.

Credits

darktohka
Sturmlilie
UtopicUnicorns
consoleSkunk
crackheadakira
drevil