Skip to content

PyGame music player, using the Pimoroni Pirate Radio kit

Notifications You must be signed in to change notification settings

ajalexsmith/PirateRadio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

PirateRadio

PyGame music player, using the Pimoroni Pirate Radio kit

Please note the following code supports .mp3 files only, however you can very easily adapt it to support other media files.

The program is set to pull files from a music folder, however you can change the directory on line 4 to suit your needs

This is still a work in progress, and I hope to possibly add a web interface, of which you can upload files to the music folder.

You must have the PhatBeat Libary installed before using this program. This can be done by executing the following command in the terminal:

curl -sS https://get.pimoroni.com/phatbeat | bash

To clone the code, type in the following command:

sudo git clone https://github.com/ajalexsmith/PirateRadio.git

#Please note, the error "ALSA lib pcm.c:7843:(snd_pcm_recover) underrun occurred" does occur frequently within the script. From what i have read, it simply means that the pi isn't supplying speaker with information quick enough, however it is nothing to worry about, and is to be expected due to the processing capabilities of the Pi Zero!

About

PyGame music player, using the Pimoroni Pirate Radio kit

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages