#radio #mpv #stream #play #internet #radiostations #publically

app rustyo

A simple radio that uses mpv to play radio streams from publically available internet radiostations

8 stable releases

1.0.7 Mar 30, 2024
1.0.6 Mar 25, 2024
1.0.4 Feb 16, 2024
1.0.2 Feb 3, 2024
1.0.1 Jan 31, 2024

#85 in Games

Download history 7/week @ 2024-01-26 3/week @ 2024-02-02 4/week @ 2024-02-09 258/week @ 2024-02-16 129/week @ 2024-02-23 136/week @ 2024-03-01 222/week @ 2024-03-08 45/week @ 2024-03-15 258/week @ 2024-03-22 340/week @ 2024-03-29 85/week @ 2024-04-05

742 downloads per month

GPL-3.0-or-later

19KB
76 lines

About

Rustyo is a simple radio that uses mpv to play radio streams from publically available radiostations.

Installation

With cargo

Make sure .cargo/bin is in your path and run:

cargo install rustyo

Manual installation

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.

Usage

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

Adding stations

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.

Feedback and improvements

Feel free to submit issues, additional stations or improvements on GitHub.

Dependencies

~1.5–2MB
~26K SLoC