/radiopi

Raspberry pi based mp3 queue for in car pi based radio station

Primary LanguageC

# radiopi

Builds and plays a queue of mp3s, interspersed with jingles. For an in car pi based radio station.

ABANDONATED NOW MPD does all of this doesn't it so I'll be moving my efforts there... http://www.clarkeology.com/m/23753/Realised+my+old+radiopi+idea+already+exists

Requires mpg321

the plan

  • Queue builder

    • Queue builder runs every minute, checking for requests and building a queue.
    • If a request has come in, add it to the queue.
    • If a priority request has come in, add it to the front of the queue.
    • If a jingle is due, add it to the front of the queue.
    • If a priority jingle is due, stop the current song and play it now.
    • If less than n songs in the queue, add a song to the queue.
    • Check the GPS, if a location based song is appropriate add it to the front of the queue.
  • Player

    • Runs in an endless loop
    • Pick the track from the front of the queue, play it, remove it from the queue

history

  • v 0.0.1 first build

things to remember

  • Force the analog output of the pi; amixer cset numid=3 1
  • Mount a drive on the network; sudo mount -t cifs //LINKSTATION/share /mnt -o ip=192.168.1.65

links