Crates.io | rustyo |
lib.rs | rustyo |
version | 1.0.8 |
source | src |
created_at | 2024-01-31 12:41:23.426039 |
updated_at | 2024-05-19 07:18:40.159839 |
description | A simple radio that uses mpv to play radio streams from publically available internet radiostations. |
homepage | |
repository | https://github.com/itrekr/rustyo |
max_upload_size | |
id | 1121758 |
size | 49,890 |
Rustyo is a simple radio that uses mpv to play radio streams from publically available radiostations.
Make sure .cargo/bin is in your path and run:
cargo install rustyo
Clone the repo and navigate to it with:
git clone https://github.com/itrekr/rustyo
cd rustyo
Then run cargo build to compile, after which the binary 'rustyo' can be found in the target/release folder:
cargo build --release
Linux users can then move the binary to their path of choice.
Once installed you can list the radiostations with the 'list' command like so:
rustyo list
Pick any of the stations and run it with:
rustyo stationname
To stop the radiostation you can run either of the following commands:
rustyo none
killall mpv
Any stream that can be played with 'mpv' should function. In the resources folder you find the stations.csv file which contains all the names and the streaming url's of the different stations. All you have to do to add a station is add a newline with the name and the corresponding streaming url seperated by a comma. After that, recompile the project like so:
cargo clean
cargo build --release
Don't forget to then move the new binary to your path of choice again, as that won't update automatically.
Feel free to submit issues, additional stations or improvements on GitHub.