Skip to content
A Raspberry Pi Radio. Includes Pandora (via pianobar) and NPR Hourly News
PHP Python JavaScript CSS
Branch: master
Clone or download
Pull request Compare This branch is 17 commits ahead, 65 commits behind jacroe:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
filesystem
.gitignore
LICENSE
README.md
remote diagram.png

README.md

Pidora

A network-controlled pandora client for embedded systems, such as the Raspberry Pi or PogoPlug E02

This is a quick and dirty README. Use at your own risk

  1. Install Arch Linux on your device
  2. Open a terminal or connect via SSH
  3. Enter the following commands:
    pacman -Syu
    timedatectl set-timezone America/New_York
    pacman -S lighttpd php php-fpm sqlite php-sqlite libao alsa-utils avahi libpulse pianobar mpg123 python-feedparser sudo
    echo "use_mmap=no" >> /etc/libao.conf
    cd /etc
    wget https://dl.dropbox.com/u/42238/pogoplug/v2/asound.conf
    OR
    wget https://dl.dropbox.com/u/42238/pogoplug/v2/48khz/asound.conf
    OR
    wget https://dl.dropbox.com/u/42238/pogoplug/v2/default/asound.conf
    depending on your DAC
  4. Download, extract, and place the files contained in this repository's "filesystem" directory in the proper locations relative to root
  5. Open /srv/http/.config/pianobar/config in your favorite text editor, and enter your pandora username and password in the indicated spots
  6. Enter the following commands:
    gpasswd -a http audio
    mkfifo /srv/http/.config/pianobar/input
    chown -R http /srv/http
    chmod -R 777 /srv/http
    systemctl enable php-fpm
    systemctl enable lighttpd
    reboot
  7. run sudo -u http pianobar and choose an initial station, then quit.
  8. open your browser to the IP address of the device (or 127.0.0.1, if you are working from the device directly)

That's it for the normal installation.

If you want to play with adding hotkey support, you will want to add the following commands:
pacman -Sy gcc pip
pip install evdev
chmod +x -R /root/pidora-keyboard

Contact me

If you have any questions about my modified version of pidora, contact me at gschoppe.com

This is the original Contact information for user jacroe, who wrote pidora You can shoot me an email or submit an issue at GitHub if you have a question or a suggestion. I welcome them with open arms.

If you found this useful, I also welcome tips with open arms! You can tip me via Gittip, Paypal, or Bitcoin. I'll use these to pay for bills and/or Mountain Dew and pizza. Thank you, and best wishes!

You can’t perform that action at this time.