Python utility which allows to save the playlist from a radio station into a database
Radio Pilatus (Stream):\
https://radio.radiopilatus.ch/api/pub/gql/radiopilatus/AudioLiveData/e8ed774ebb6a811303ea3ff7078581730ff3914c
Radio FM1 (Stream):\
https://www.radiofm1.ch/api/pub/gql/radiofm1/AudioLiveData/e8ed774ebb6a811303ea3ff7078581730ff3914c
Radio 24 (Stream):\
https://www.radio24.ch/api/pub/gql/radio24/AudioLiveData/e8ed774ebb6a811303ea3ff7078581730ff3914c
Virgin Radio Hits Switzerland (Stream):\
https://www.virginradiohits.ch/api/pub/gql/virginhits/AudioLiveData/e8ed774ebb6a811303ea3ff7078581730ff3914c
1) Clone the repo:
git clone https://github.com/christofkaelin/radiostation-persister.git
2) Install the necessary requirements:
pip3 install -r requirements.txt
3) Create your own config file based on the sample:
cp config-sample.yaml config.yaml
And adapt the config with your preferred text editor (e.g. vim
or nano
)
4) Run the script:
python3 run.py