Elisa-RPC
MajorGamerJay
majorgamerjay@protonmail.com
elisa-rpc is a program that shows your currently playing song in Elisa music player to discord. Uses D-Bus to communicate with the Elisa music player and then show music information to Discord.
How to use it
To use it, copy the config file template (config_template.json) from the root directory to the /src directory.
Get required dependencies!
- pip install -r requirements.txt
Create an application to represent the RPC
- Go to: https://discord.com/developers/applications
- Create new application
Put required info in config file
- Copy Client ID and put it in “id” field in config.json
- Go to Rich Presence
- Upload your art assets
- In place of image_keys in config.json, place the name of your art assets
- Add description for your art asset in config.json
Run the script!
- cd into the directory,
cd ./src
- Run the script,
python3 elisa-rpc.py
This program is created under MIT License.