cmrpc - A Discord RPC for C* Music Player
with some more features:
Discord RPC (Albumart as icons!!)
notify-send when song changes
to-dos:
- jp2a visualizer
About albumart
For notifier:
- Extract from mp3 with
ffmpeg - temporarily stored in
path/of/cmrpc/covers(auto create if not exists). - removed when
cmrpcexits.
- Extract from mp3 with
For Discord Rich Presence Icon:
- Discord RPC can now display images via url
- Upload the above extracted covers to Imgur
Requirements
tmuxffmpegnotify-sendpython 3.10(match-case used) with below packages
pip install pyimgur
pip install pypresence
Font Awesomeenabled in yourdunstrc.
font = Noto Sans CJK TC Medium, Font Awesome 6 Free 12
Usage
- run in background with cmus
/path/to/cmrpc 1>/dev/null & cmus [updated]better usage:tmux new -d /path/of/cmrpc; cmus- Since
cmrpcdoes some clean-ups aftercmusclosed, if the terminal session exits right aftercmusdoes, then the clean-ups will be terminated.
- Since

