HOME

  • ABOUT
  • PORTFOLIO
  • NEWS, TECH & ART
    • Websites
    • WordPress Plugins
    • Processing.org
    • Neural networks
    • New Media Art
  • RASPBERRY PI
  • ABOUT
  • PORTFOLIO
  • NEWS, TECH & ART
    • Websites
    • WordPress Plugins
    • Processing.org
    • Neural networks
    • New Media Art
  • RASPBERRY PI
Raspberry PI – playing Internet radio

Raspberry PI – playing Internet radio

  • alsa, internet radio, mpc, mpd, raspberry pi

logoHow to play Internet radio on your Raspberry PI?

  • first make sure your audio is working, using the ALSA package
    Raspberry PI – getting audio working
  • install the mpd and mpc packages:
    sudo apt-get install mpd mpc
  • change the permissions of mpd (just to make sure):
    sudo service mpd stop
    sudo chmod -R g+w /var/lib/mpd
    sudo chmod -R g+w /var/run/mpd
  • make a change to the mpd config file /etc/mpd.conf
    sudo nano /etc/mpd.conf
    Comment OUT the line:
    bind_to_address “localhost”
    So, change it to:
    # bind_to_address “localhost”
  • reboot your Raspberry PI:
    sudo shutdown now -r
  • after it’s up and running again add an Internet radio URL, for instance:
    mpc add http://icecast.omroep.nl/3fm-bb-mp3
  • to start playing the stream type:
    mpc play
  • some useful mpc commands (use ‘mpc help‘ to see them all):
    mpc – Display status
    mpc current – Show the currently playing song
    mpc stop – Stop the currently playing playlists
    mpc clear – Clear the current playlist
    … and many more…

 

previous article next article
profile background
profile image

Rolf van Gelder

Owner of CAGE Web Design

CAGE was established in the year 2000

What’s new?

  • WebImageLoader – Processing Library
  • Responsive P5JS for WP – WordPress plugin
  • Optimize Database after Deleting Revisions – WordPress plugin
© 1995-2025 CAGE Web Design, Eindhoven, NL | +31 (0)6 22 66 3193