- C++ 99.9%
- CMake 0.1%
|
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". |
||
|---|---|---|
| img | Add screenshots, and drevil to credits. | |
| libs | Small cleanups | |
| .gitignore | testing | |
| audacious-plugin-rpc.cc | Check if file is a tracker module | |
| CMakeLists.txt | Using consoleSkunk's code from GitHub to see if it's an easy drop in change | |
| README.md | Usage info before compilation, update wording | |
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
- Download the current release.
- Move
libaudacious-plugin-rpc.sointo/usr/lib/audacious/General/. - Open Audacious, go to Settings > Plugins and enable the
Discord RPCplugin. - Go to settings, and enable the album art option if you want to see the album art in your Discord status.
Compiling
- Clone the repository.
- 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