Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dareka826/discord-cmus-rpc
Show current playing cmus song in Discord with RPC
https://github.com/dareka826/discord-cmus-rpc
cmus discord rpc
Last synced: about 6 hours ago
JSON representation
Show current playing cmus song in Discord with RPC
- Host: GitHub
- URL: https://github.com/dareka826/discord-cmus-rpc
- Owner: Dareka826
- License: mit
- Created: 2022-05-19T17:50:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T23:38:33.000Z (about 2 years ago)
- Last Synced: 2024-12-08T12:13:42.729Z (about 2 months ago)
- Topics: cmus, discord, rpc
- Language: C
- Homepage:
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord-cmus-rpc
Display current playing song in cmus on Discord with RPC
## Build
### Requirements
- The same as for discord-rpc.
- A tool which understands the redo build system.### Commands
```sh
git clone https://github.com/Dareka826/discord-cmus-rpc
cd discord-cmus-rpc
git submodule update --init
redo
```## Running
While the `cmus-rpcd` binary is running it will check cmus status every second and update the rpc accordingly.## How the information is displayed
### State
If `tracknumber`, `artist` and `title` are present:
`. - `If `artist` and `title` are present:
` - `If `tracknumber` and `title` are present:
`. `If only `title` is present:
``If none of the above are present, use the filename:
``### Details
If `album` and `albumartist` are present:
`[] `If only `album` is present:
``If neither are present, nothing is displayed in the details.