Last active
November 16, 2016 08:51
-
-
Save yratof/60c99302dcec0a7878aa14103b9b624f to your computer and use it in GitHub Desktop.
Installing pyradio on a c.h.i.p
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install everything needed | |
sudo apt-get install -y python-setuptools python-dev build-essential mplayer | |
# Install PIP | |
sudo easy_install pip | |
# PIP Pyradio | |
pip install pyradio | |
# If you get permission errors, try `sudo pip install pyradio` | |
# Run the radio | |
pyradio | |
# Edit the channels in the format: channel title, channel link | |
sudo nano /usr/local/lib/python2.7/dist-packages/pyradio/stations.csv | |
# BBC Radio 4 FM, http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p | |
# BBC Radio 4 Extra, http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4extra_mf_p | |
# BBC World Service - UK Stream, http://bbcwssc.ic.llnwd.net/stream/bbcwssc_mp1_w$ | |
# BBC World Service - News Stream, http://bbcwssc.ic.llnwd.net/stream/bbcwssc_mp1$ | |
# BBC Radio 3, http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio3_mf_p | |
# WNYC FM, http://www.wnyc.org/stream/wnyc-fm939/mp3.pls | |
# WQXR FM, http://www.wnyc.org/stream/wqxr/mp3.pls | |
# Q2 Music, http://www.wnyc.org/stream/q2/mp3.pls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment