MPlayer Alarm Clock

Filed under
HowTos

So I saw surface’s post on a Linux Alarm Clock using xmms. In spirit of choice, I will show you my Mplayer Alarm Clock!

First I need to create a playlist. You can add the file you want to play (with fullpath) to a file. I do this by first going to the directory I want to make a playlist from, and execute the following command:

find "`pwd`" -name "*.mp3" -print >> playlist;

Next I make a script which plays that playlist and save it into say /home/aizat/scripts/alarm:.sh

Full Story.