by lakeuk » 04 Jul 2017, 22:18
Last week I tinkered about with the alarm template and added 0 to the array, works a treat. I'm ok having a set volume with no fade in, I don't have it loud enough to shock me, got a bedside alarm clock to do that for me 10 minutes after the runeradio goes off. Once first alarm of the day goes off I use the alarm as a scheduling function, switching to radio stations that I'm interested at certain times of the day.
Got a surprise when the sound stopped after an hour so in mpcfadectl.sh I've upped the timeout to 240minutes. I've starting adding to the template a timeout section, not yet fed it through to the shell script.
I'll look at the sleep again, just tried the 5min and noticed the volume going down straight away, on my RaspPi sound is only heard in the 80-100% range, once a minute passes silence.
- Attachments
-
templates.zip
- Alarm.php - 0 added to fade, timeout dropdown placeholder for future. Sleep.php - extra buttons upto 240mins
- (6.13 KiB) Downloaded 480 times
(Pi 3, Ver. 0.4b build 20170229, usage m3u radio streams playlists)