This little Raspberry Pi based project is a gift for my wife's grandmother for her 90th birthday. Beingvisually impaired, she is hard to entertain but loves to listen to audiobooks. The problem is, that she isn't able to handle a ghetto blaster or MP3 player.
* **always on:** When you power on the raspberry, it will boot up and start the python script with the audio book in pause
* **one button usage:** The button pauses and unpauses the audio book or goes back one track when you press the button longer than 4 seconds
* **remembers position:** It will always remember the last played position
* **only one audiobook:** There will always be only one audio book on the Raspberry
* **easy audio book deployment:** When you plug in a USB thumb drive with a special name/label, the Raspberry will stop playing, mount the thumb drive, deletes the old audio book, copies the new one, rebuilds the playlist and – after unplugging the thumb drive – starts the new audiobook in pause mode
* **multi format:** Since it uses mpd, the player supportsOgg Vorbis,FLAC, OggFLAC,MP2,MP3,MP4/AAC,MOD,Musepackandwave
(The audiobook used in this video is a free version of Cory Doctorows „Little Brother“ from<ahref="http://www.mokita.de/"target="_blank">Fabian Neidhardt</a>)
If you like to build your own one button audio book player, here are the super simple schematics:
And last but not least – the python script. The code might be crappy, please comment if you have improvements (especially regarding loadMusic). You can find it here: