pmprog
DNF (Did Not Finish)
- Joined
- Apr 25, 2011
- Messages
- 4,150
I've been working on an MP3 alarm clock app. Don't know if people are interested. It's still incomplete, so here's a list of things is does and doesn't do
The "Does":
The "Doesn'ts"
I was originally going to put the Pandora to "Sleep" when the sleep mode completes, using the RTC to wake it up before any alarms are due, however, my limited tests hadn't got this working yet.
Anyway, if anybody wants to have a quick look, you can grab the PND here. It'll go in the repo when it's more feature complete, but I'll appreciate any feedback.
Quick summary of keys:
Screenshot attached

The "Does":
- Displays the date and time
- Plays MP3s from %appdata%/alarmclock/playlist.m3u; retaining last played song
- Can dim and undim the screen using Select/Control, for making it easier to sleep
- Sleep Mode (activate by pressing Start/Alt), which will dim the screen, and start decreasing the volume over the next 20 or so minutes
- Volume can be controlled using Up/Down on the DPad
- MP3 playback pauses at the end of the song if the volume is all the way down at 0% and resumes as soon as you put the volume back up
- Can set alarms for days of the week
The "Doesn'ts"
- Can't delete alarms (though just switch off for each day of the week atm), and can't set them for anything other than weekday based
- Doesn't retain the original brightness upon starting. So when you quit the app, you'll have to manually reset the brightness using Fn+I, or the XFCE button
- Can't modify the playlist from inside the app yet (or shuffle tracks)
- Can't change settings (such as brightness levels), or disable the music (other than removing the playlist file)
- No decent/clear instructions or documentation
I was originally going to put the Pandora to "Sleep" when the sleep mode completes, using the RTC to wake it up before any alarms are due, however, my limited tests hadn't got this working yet.
Anyway, if anybody wants to have a quick look, you can grab the PND here. It'll go in the repo when it's more feature complete, but I'll appreciate any feedback.
Quick summary of keys:
- Escape (Fn+Q) - Quit
- Up - Volume Up
- Down - Volume Down
- Start/Alt - Sleep mode (dims screen, and slowly decreases volume)
- Select/Control - Dim/Undim screen
- Any of the game-buttons to access the menu / edit alarm options
- A - Set alarms
Screenshot attached

Last edited by a moderator: