Play your favorite radio station from the terminal
# clone the repo
$ git clone https://github.com/sdushantha/pyradio.git
# install the requirements
$ pip3 install -r requirements.txt
$ python3 pyradio.py
usage: pyradio.py [-h] [-l] [-p PLAY]
Play your favorite radio station from the terminal
optional arguments:
-h, --help show this help message and exit
-l, --list list of all available radio stations
-p PLAY, --play PLAY radio station you want to play
$ python3 pyradio.py -p NRJ
To add more stations, add the url to the stream to stations.json
file.
Follow this format:
"station name" : "link_to_stream"
MIT License
Copyright (c) 2018 Siddharth Dushantha