Rockbox Technical Forums
Rockbox Development => Feature Ideas => Topic started by: VL on April 14, 2009, 02:28:45 PM
-
Hello all rockbox users and developers!
Here is what i'd like to see in rockbox:
Ability to stop playback in given time and play pre-defined music file, i.e. alarm clock.
Why? I use to sleep in transport and listen to some relax music, partitioning off
external noise. Thus i don't hear station announcements. My current solution is to
use mobile phone with a timer. But it would be so nice to wake up from sudden music
stop and sound in the ears: WAAAAAAAAAAKEEUP,MTF!!
Generally, i find it usefull to have an alaram clock application as a standard one in rockbox.
Stop-watch feature will be nice too.
So, question are:
is it possible in rockbox to write such an application(plugin) ? i.e. does it allows some sort
of process in background that can wake up and control playback?
If you know that such plugin exists, please link me to it. I'd write it my own, but i'm afraid i
don't have enough time to develop for rockbox... So if anybody will do it, i'll be happy ;-)
-
Some players which can be woken up from the RTC already have an alarm wake-up (e.g. some Ipod models) - and for some others there's a patch for it in the tracker (e.g. the Iriver H300). To help answering your question it would be interesting which player you are talking about exactly...
-
I think what he is looking for is not something that wakes up the player, but something that plays a designated file after a certain amount of time. I can see how this would be useful. I know that my train ride is 28 minutes long. I could program a specific file to play after 26 minutes to alert me that we're approaching my stop.
-
Or if one could leave player on all night(while charging or something) and connected to speakers, something could start a certain song
-
couldnt the autoplayed file be either a playlist (.m3u) or a song?
-
Have a look at this task that implements a similar functionality:
http://www.rockbox.org/tracker/task/8865
Stop-watch feature will be nice too.
There is already a stopwatch plugin in rockbox.
-
Have a look at this task that implements a similar functionality:
http://www.rockbox.org/tracker/task/8865
Great. That's what i was looking for.
I have iriver H340, will this plugin work for me?
A question about plugins: since this is a patch, am i correctly understand
that i have to prepare rockbox environment and build it myself?
-
Yes, you'll have to compile it yourself. Instructions how to do that can be found here:
http://www.rockbox.org/twiki/bin/view/Main/DocsIndex#For_Developers
The plugin did work on my H300 when i tried it, but the task wasn't updated in a long time and there were some changes in the plugin api meanwhile, so it is likely that it won't work anymore without some modification.
If you intend to fix it you should have a look at the changes done in r19776:
http://svn.rockbox.org/viewvc.cgi?view=rev&revision=19776
-
Updated the plugin to work with latest rockbox, see http://www.rockbox.org/tracker/task/8865
Is it possible to include this plugin into rockbox by default?
What else should be done?
-
Well, it looks like the plugin still (mis)uses the sleep timer which seems to be not wanted.
So i guess this wont be included until this is fixed.