8000 GitHub - solinium/r-a-d.io-cli: a command-line client for r/a/dio · GitHub
[go: up one dir, main page]

Skip to content

About

a command-line client for r/a/dio

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

168 Commits

Folders and files

Repository files navigation

a command-line client for r/a/dio

Written in python3 using r/a/dio's api and mpv for playback.

Installation

If you are not using X, don't install xdg-utils. You will not be able to open the thread. (If you are unsure, this probably doesn't apply to you.)

Ubuntu & Debian
sudo apt-get install python3 python3-pip xdg-utils socat mpv curl
sudo pip3 install -U requests
curl https://raw.githubusercontent.com/solinium/r-a-d.io-cli/master/install.sh > /tmp/install.sh; sh /tmp/install.sh
MacOS

If you don't already have it, get brew

brew install python pip mpv curl
sudo pip install -U requests
curl https://raw.githubusercontent.com/solinium/r-a-d.io-cli/master/install.sh > /tmp/install.sh; sh /tmp/install.sh
Fedora
sudo dnf install python3 python3-pip xdg-utils socat mpv curl
sudo pip3 install -U requests
curl https://raw.githubusercontent.com/solinium/r-a-d.io-cli/master/install.sh > /tmp/install.sh; sh /tmp/install.sh
Arch Linux
sudo pacman -S python python-pip xdg-utils socat mpv curl
sudo pip install -U requests
curl https://raw.githubusercontent.com/solinium/r-a-d.io-cli/master/install.sh > /tmp/install.sh; sh /tmp/install.sh
CentOS
sudo yum install python3 python3-pip xdg-utils socat mpv curl
sudo pip3 install -U requests
curl https://raw.githubusercontent.com/solinium/r-a-d.io-cli/master/install.sh > /tmp/install.sh; sh /tmp/install.sh

Uninstalling

curl https://raw.githubusercontent.com/solinium/r-a-d.io-cli/master/uninstall.sh > /tmp/uninstall.sh; sh /tmp/uninstall.sh

Usage

Call radiocli with -u and a number to choose the interval in seconds that the api updates, use -v for volume (1-100), use -t to open the thread (if it exists), and use -h for help. If you are testing, use -d to run in the current directory. All flags are optional and in any order.

Example: radiocli -v 75 -t -u 10

Issues

You may notice the timer jumping slightly. That's because by default api requests are being sent every 30 seconds. You can call radiocli with the -u option to experiment with different intervals.

For any other issues, feel free to create an issue or a pull request!

About

a command-line client for r/a/dio

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0