Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Alarm clock feature [available as plugin ;-)]
« previous next »
  • Print
Pages: [1]

Author Topic: Alarm clock feature [available as plugin ;-)]  (Read 4129 times)

Offline VL

  • Member
  • *
  • Posts: 3
Alarm clock feature [available as plugin ;-)]
« 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 ;-)



« Last Edit: June 19, 2009, 07:14:11 PM by VL »
Logged

Offline pixelma

  • Rockbox Expert
  • Member
  • *
  • Posts: 645
Re: Alarm clock feature
« Reply #1 on: April 14, 2009, 03:44:19 PM »
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...
Logged

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: Alarm clock feature
« Reply #2 on: April 14, 2009, 04:29:00 PM »
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.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline Hillshum

  • Member
  • *
  • Posts: 108
Re: Alarm clock feature
« Reply #3 on: April 14, 2009, 04:58:56 PM »
Or if one could leave player on all night(while charging or something) and connected to speakers, something could start a certain song
Logged

Offline froggyman

  • Member
  • *
  • Posts: 214
Re: Alarm clock feature
« Reply #4 on: April 14, 2009, 05:01:14 PM »
couldnt the autoplayed file be either a playlist (.m3u) or a song?
Logged
iPod Video 5.5G 30GB - Now Dead :(
Sansa Fuzev2 4GB

"To prevent this day from getting worse, I'll just read ERROR as GOOD THING"

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Alarm clock feature
« Reply #5 on: April 14, 2009, 05:43:26 PM »
Have a look at this task that implements a similar functionality:
http://www.rockbox.org/tracker/task/8865

Quote from: VL on April 14, 2009, 02:28:45 PM
Stop-watch feature will be nice too.
There is already a stopwatch plugin in rockbox.
Logged

Offline VL

  • Member
  • *
  • Posts: 3
Re: Alarm clock feature
« Reply #6 on: April 15, 2009, 01:28:15 PM »
Quote
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?
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Alarm clock feature
« Reply #7 on: April 15, 2009, 03:24:34 PM »
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
Logged

Offline VL

  • Member
  • *
  • Posts: 3
Re: Alarm clock feature
« Reply #8 on: June 19, 2009, 07:13:32 PM »
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?
« Last Edit: June 19, 2009, 07:17:18 PM by VL »
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: Alarm clock feature [available as plugin ;-)]
« Reply #9 on: June 19, 2009, 07:46:41 PM »
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.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Feature Ideas
| | |-+  Alarm clock feature [available as plugin ;-)]
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.101 seconds with 14 queries.