Skip to content

Based on raspberry pi. If you close the contact on the GPIO17, it plays one song randomly from a USB stick

Notifications You must be signed in to change notification settings

mstorck/Mp3Player

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mp3Player

Based on raspberry pi. If you close the contact on the GPIO17, it plays one song randomly from a USB stick

It runs on python 3.5 (and apparently on python 2.7.9)

all the mp3's have to be on an usb stick with a directory named mp3

you can trigger a relay via GPIO.BCM23 and GPIO.BCM24, GPIO.HIGH while MP3 is playing, GPIO.LOW otherwise.

copy playmp3.service to /etc/systemd/system/multi-user.target.wants/

About

Based on raspberry pi. If you close the contact on the GPIO17, it plays one song randomly from a USB stick

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.2%
  • Shell 13.8%