Няма описание https://github.com/anas-elgarhy/cmus-rpc
|
преди 2 години | |
---|---|---|
.idea | преди 2 години | |
Screenshots | преди 2 години | |
assets | преди 2 години | |
src | преди 2 години | |
.gitignore | преди 2 години | |
CODE_OF_CONDUCT.md | преди 2 години | |
Config.md | преди 2 години | |
LICENSE.txt | преди 2 години | |
README.md | преди 2 години | |
pom.xml | преди 2 години |
I know the name is terrible but that's where I'm at right now :P
java -jar JCmusIntegrationWithDiscord.jar [Option] [value] [Option] [value] ...
Option | Description | Values |
---|---|---|
-h or --help |
Show the help | - |
-v or --version |
Show the version | - |
-d or --debug |
Debug mode | - |
-l or --link |
Linking with cmus (close the program if cmus is not running) | - |
-c or --config |
Set custom path to config file | Path to config file .json |
-i or --interval |
Set interval between checks | interval time (seconds) |
-s or --sleep |
Set sleep when there is no activity | sleep time (seconds) |
-p1f or --partOneFormat |
Set the format for the first part | Format for first part |
-p2f or --partTowFormat |
Set the format for the second part | Format for second part |
java -jar JCmusIntegrationWithDiscord.jar -p1f %title%
java -jar JCmusIntegrationWithDiscord.jar -p1f "%artist% - %title%" -p2f "%album% - %date%"
java -jar JCmusIntegrationWithDiscord.jar -p1f "Anas listening to %title%" -p2f "From %artist%"
.bashrc
or .zshrc
bash
alias JCmusIntegrationWithDiscord = '/usr/lib/jvm/jdk-18/bin/java -jar path/to/jar/JCmusIntegrationWithDiscord.jar'
alias cmus = 'JCmusIntegrationWithDiscord --link &>/dev/null & cmus'
cmus-remote
tool to the make a query to the cmus