Žiadny popis https://github.com/anas-elgarhy/cmus-rpc
mergify[bot] 69af833d10 Merge pull request #23 from anas-stuff/renovate/actions-checkout-4.x | 1 rok pred | |
---|---|---|
.github | 1 rok pred | |
.idea | 2 rokov pred | |
Screenshots | 2 rokov pred | |
archpackage | 2 rokov pred | |
assets | 2 rokov pred | |
scripts | 2 rokov pred | |
src | 2 rokov pred | |
.gitignore | 2 rokov pred | |
.gitmodules | 2 rokov pred | |
.mergify.yml | 1 rok pred | |
CODE_OF_CONDUCT.md | 2 rokov pred | |
CONTRIBUTING.md | 2 rokov pred | |
Config.md | 2 rokov pred | |
LICENSE.txt | 2 rokov pred | |
README.md | 2 rokov pred | |
pom.xml | 1 rok pred | |
renovate.json | 1 rok pred |
Require cmus
yay -S cmus-rpc
wget
bash
curl -s https://raw.githubusercontent.com/Anas-Elgarhy/cmus-rpc/master/scripts/install.sh | sudo bash
Manual:
bash
curl -s https://raw.githubusercontent.com/Anas-Elgarhy/cmus-rpc/master/scripts/uninstall.sh | sudo bash
Requirements for development:
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 |
cmus-rpc -p1f %title%
cmus-rpc -p1f "%artist% - %title%" -p2f "%album% - %date%"
cmus-rpc -p1f "Anas listening to %title%" -p2f "From %artist%"
.bashrc
or .zshrc
bash
alias cmus = 'cmus-rpc --link &>/dev/null & cmus'
cmus-remote
tool to the make a query to the cmus