This is a command-line based Radio Stream Player that allows you to play audio streams from a list of internet radio stations.
- Python 3
- VLC media player
- cvlc command line interface
- The following Python libraries, which can be installed with
pip install -r requirements.txt
:pyfiglet
-
Make sure you have Python 3 installed. You can download it from here.
-
Make sure you have VLC and cvlc installed. You can download VLC from here. cvlc is usually included in the VLC installation.
-
The script uses a list of radio stations stored in a CSV file named
radio_stations.csv
. The CSV file should have two columns:name
andurl
, wherename
is the name of the radio station andurl
is the corresponding stream URL. -
Run the script in the terminal using the command
python radio_stream_player.py
.
- Enter a number to select a station to play from the displayed list.
- Press
s
to stop the currently playing station. - Press
n
to skip to the next station in the list. - Press
x
to exit the script.
- This script was developed for use on Unix/Linux/MacOS systems. It may work on Windows with modifications.
- The bold text in the list of stations indicates the currently playing station.
For any issues or suggestions, feel free to open an issue on this repository.