Superseded by foo_scheduler (topic (http://www.hydrogenaudio.org/forums/index.php?showtopic=49589))
Simple plugin that starts playback at the specified period of time. Just set up the period on Preferences/Playback/Alarm page.
I'd like to use my computer as alarm clock but I am tired of waiting scheduler plugin. And I don't want to use any external schedulers. Now I select playlist that should be played early in the morning and switch computer to sleep mode. When computer wakes up, playback is started. Of course, it's possible to start playback and then switch to sleep mode, but usually I power off the computer late at night and I don't want to disturb anybody with loud music.
Version 1.61 (download (http://asmo.at.tut.by/foo_alarm.zip))
Changelog:
- 1.61
Fixed: playback queue isn't cleared before starting playback - 1.6
Added: computer wake up from stand-by/hibernate mode - 1.55
Fixed: playback isn't started from paused state
Added: playback of the specified playlist - 1.5
Added: alarm startup type
Added: it's possible to disable fade in
Added: fade in range configuration
Added: buttons to pick current player volume
Code is rewritten from scratch. - 1.05
Added: fade in - 1.03
Added: checkbox to enable/disable alarm - 1.02
Changed the appearance of the preferences page - 1.01
Fixed: preferences page isn't displayed under win 2k - 1.0
Initial release
[/size]
Just intalled it and got
(http://xs204.xs.to/xs204/06305/untitledjfalk9.png)
foobar2000 0.9.3 beta 3, win 2k sp 4
Just intalled it and got
...
foobar2000 0.9.3 beta 3, win 2k sp 4
Fixed. Thanks for information about your windows version. Under WinXP this bug doesn't appear.
now it's working, btw if i set it to start time 2mins ago for instance, and then chage end time to after an hour foobar starts playing.
btw would be nice also to change days, and shutdown at end time options
now it's working, btw if i set it to start time 2mins ago for instance, and then chage end time to after an hour foobar starts playing.
It happens because alarm is restarted when you change "start time" or "end time".
btw would be nice also to change days, and shutdown at end time options
I'll think about it. If scheduler plugin doesn't appear in nearly future, I'll begin developing my own foo_scheduler
Thanks for the plugin.
Bug report: Start (e.g. 12:20PM) works fine. End (e.g. 12:23PM) doesn't stop playing. Also, if foobar2000 is stopped and closed, and reopened, the songs start playing. Is this intended behavior?
Thanks for the plugin.
Bug report: Start (e.g. 12:20PM) works fine. End (e.g. 12:23PM) doesn't stop playing.
Perhaps I should change descriptions for edit-boxes. "End time" doesn't mean "stop playing at this time". "Start" and "end time" describe time interval. If the current time is between "start" and "end" then playback is started.
I've done that way because sometimes I change wake up time in BIOS and I don't want to change it every time in foobar. In alarm preferences I set my usual wake up time, e.g 6:00-9:00, and then I change BIOS alarm, e.g 7:30. When computer wakes up from sleep mode, foo_alarm starts playback, because current time 7:30 is between 6:00 and 9:00. The next day I want to set alarm at 6:30, so I just change it in BIOS, not in foobar. But when computer is powered on manually at 13:00 there is no need to start playback, because most likely that I'm not sleeping
Also, if foobar2000 is stopped and closed, and reopened, the songs start playing. Is this intended behavior?
Yes.
Bud,thanks so much,couse i was still using the 0.8.3 couse i was waiting for scheduler,now i can switch to new one as simply wake up alarm is all what i need
Thanks once again!!
Good job on the plugin, been looking for a foo_scheduler replacement ! THANK YOU
Thanks for the initiative. Just a request: for me, it is most important to have the alarm activate after a given delay, rather than at a specific time. I have now moved up from 8.3, however.
FInally this day has come. I'm, too, the one who has been waiting for an updated of scheduler only before upgrade to 0.9 . I use it every day.
I have not tested yet, but may I raise a stupid question. I think your mainboard is a new one so that it support wake up time in BIOS, but mine doesn't . Can the plugin wakes up the PC itself if I turn my PC to sleep mode ?
GRAET GREAT GREAT , You have made my day !
I think your mainboard is a new one so that it support wake up time in BIOS, but mine doesn't .
Well, Epox 8RDA3I on nForce2 chipset. It's not a new mainboard, I've bought it 2 years ago.
Can the plugin wakes up the PC itself if I turn my PC to sleep mode?
No, it's impossible. Only BIOS controls this functionality.
LOL mine is ... my brain erased the chipset name already ... ESC mobo for my 6years old PIII 1.2G . So there is no hope, but it's ok for me anyway, I have my PC on for 24/7 and it's been like this long ago.
I hope you would add more functions to the component or your scheduler clone. As I said, my PC runs all day long and with ssheduler, I set a rule set :
- turn down volume at 11pm
- turn down a little bit more at 3am (about this time I go to sleep) . and keep playing during my sleep time.
- prepare all steps like: choose playlist, tracks, [the tracks after that], ... and RELEASE the volume to 0 , loud enough for me to wake up, then after 10mins reduce the volume to -10 (or someone would kill me )
I'm looking forward for any development of this must have component
thanks again
Wait, so does this only work with sleep modes, or can I just specify a time at which it starts playing x song?
Wait, so does this only work with sleep modes, or can I just specify a time at which it starts playing x song?
Plugin doesn't work with sleep modes, it only starts playback at specified period of time.
Could you add a feature in the preferences, like a checkbox or something, to activate and deactivate the plugin? Don't want it going off on the weekends, and I tend to leave fb2k open most of the time.
Could you add a feature in the preferences, like a checkbox or something, to activate and deactivate the plugin? Don't want it going off on the weekends, and I tend to leave fb2k open most of the time.
I need such checkbox too, so download version 1.03, I've added this feature
Now only fade in-out, and auto shutdown is missing. Having the skeleton, this can't be too difficult to implement. Please
Fade in has been added in 1.05.
Superb, thanks!
Is there a way not to reach the 0.0 dB volume? I don't want to wake up my neighboors at the same time as me
(the only way I found is to enter 3600 seconds of delay before reaching 0dB). Maybe a slider for the target volume could be perfect.
Anyway: very nice plugin. Thanks!
Edit: another request: could the second time be de-activated?
I allow myself to make another suggestion. Few words, a pic:
(http://membres.lycos.fr/norbert/divers/foo_alarm_prop.png)
And thanks again for your useful plugin, Andrew.
I allow myself to make another suggestion. Few words, a pic:
....
I wish everybody describe their requests the way you've done! Thanks!
Wait for a few days, version 1.5 is on the way.
I allow myself to make another suggestion. Few words, a pic:
....
I wish everybody describe their requests the way you've done! Thanks!
Wait for a few days, version 1.5 is on the way.
*thumbsup*
this would be the perfect options menu for this plugin!
i cant already wait for this update )) *pushpush*
1.5 is ready!
Thanks Andrew, it works very well!
I will bother you with a last thing (after that, it will be perfect IMHO ):
once the fade-in is started, if one change the volume (or mute it), then this action is canceled and the fade-in process goes on its way. Could it be avoided, in order to "take control" of the volume quickly ? (it's not a big deal though: pause then un-pause does the trick). Anyway: already a good job!
Wonderful, i very liked the new features.
Maybe is possible to add a button or/and symbol that u can click to apply alarm or to identify is alarm are in progress.
Maybe this is a lame question, but anyway :-)
I understand, that foobar should be running during the timeframe the alarm is set to start. What if at that time my notebook is in sleep (or power off) mode and/or foobar is not running? Is there a way to tell the computer - either through this plugin, or otherwise - that it shall wake up a minute before the scheduled time and start foobar?
well, some mainboards have a wakeup function. You can set it up in the BIOS. Best is you search for it in your mainboard manual. I have seen this future in the manual of an ASUS mainboard but not all BIOS have this feature
And when your computer has started you can set up the time with the windows task scheduler when you want foobar to start
So essentially it would be a three step approach:
1. set BIOS wake up
2a. set windows scheduler to start foobar
2b. Tell foobar to open a certain playlist
3. set foo_alarm
It would be great if steps 2a, 2b could be done by foo_alarm, and hence save a step. I made a little experiment, and it seems a scheduled JOB in Windows XP is able to get the machine out of the standby/sleep mode, which would be an ideal solution, because in that case there does not have to be a BIOS option for power on.
But essentially, implementing option 2b, i.e. telling foo_alarm which playlist to play would also be satisfactory! That way we could have a playlist for sleep, and a playlist for wake/up. And having the basic features, maybe it could be expanded to allow for multiple alarms based on weekdays...
Matyas
Matyas:
a scheduled task could be able to launch foobar and make it play, with a command line such as:
foobar2000.exe /play
(I dont remember if such command lines need a plug-in to work, though)
(and you won't get the fade-in effect)
Or, you can set a Foobar2000 link in your startup folder - no need then to use the task manager.
Your workaround is just not the right way of doing it. The alarm is a great plugin, and I don't see reasons why not to improve it further. I have already tried the following command line:
foobar2000.exe /activate-playlist:MorningList /play
but the problem is, the playlist is just activated, but the next song in the queue is still from the old one, so this is not a solution. Therefore it would begreat if the alarm plugin would allow to select the playlist to start playing, and additionaly, yeah, it would be great if it could handle the task scheduling.
I am WILLING to help coding this - if help is needed!
...it seems a scheduled JOB in Windows XP is able to get the machine out of the standby/sleep mode, which would be an ideal solution, because in that case there does not have to be a BIOS option for power on.
Well, seems to me that it's impossible to get the computer out of the SLEEP mode by using windows scheduler. In sleep mode memory is unpowered. In STANDBY mode memory is powered so this is the only mode in which application is able to wake up the computer. But this mode is useless for long periods cause a lot of electrical schemes is working on the motherboard. And I don't like when there is working electronic device near me when I'm sleeping.
Therefore it would begreat if the alarm plugin would allow to select the playlist to start playing
I'll add this.
Yet another request:
could you add a "Run only once" button ?
It would allow the choice between an "daily" alarm or a "one time" alarm (since one could easily forget to manually disable it after it ran...). Thanks !
@could you add a "Run only once" button:
...and make it possible to use a toggle button on the toolbar for this.
Like, for example:
1. Add a checkbox in the settings for "Run only once".
2. Add a toolbar button doing the same as the main enable/disable checkbox on the options page.
And the idea would be the following:
If "Only once" is enabled, it would turn the plugin automatically off after the first run. This would effectively change the state of the toolbar button as well, hence the next time I wanted to set it to alarm only once, the only thing I had to do was click the toolbar button. It would wake me up the next day, + disable itself afterwards, and so on.
foo_alarm doesn't seem to work if fb2k has been paused, only if its stopped. If it is paused, it won't start playing at the time you specify.
Version 1.55 fixes this issue + adds alarm playlist.
@1.55: Yeeeehaaaaaoo
Thanks!
Thanks.
Would it be possible to implement fade out and stop after specified time?
I use that with 0.8, set to pause after 30 min and then resume on the morning.
Thanks.
Would it be possible to implement fade out and stop after specified time?
I use that with 0.8, set to pause after 30 min and then resume on the morning.
You wanna say it's time for foo_alarm 2.0 (codename foo_scheduler )? I hope I'll find time to start and maintain the development of this plugin...
WOW! Thanks on beforehand!
As for me the main disadvantage of foo_alarm is inability of creation many alarm events at different times. Also I can't specify what song in alarm playlist should be played..
You wanna say it's time for foo_alarm 2.0 (codename foo_scheduler )? I hope I'll find time to start and maintain the development of this plugin...
That would be awesome! Many users would appreciate that.
1.6 is out. Now foo_alarm can wake up your computer from stand-by/hibernate mode. Use "Start playback beеtween ..." option, cause if you use "Start playback at %time%" your computer will wake up at this time and when it completes fast boot it will be %time%+fast_boot_time, so playback won't be started. Hope you've understood
P.S.
I've found myself mistaken in understanding how stand-by/hibernate modes work I thought it's impossible to wake up computer from hibernate (sleep) mode but it's not true!
@andrew:
Great job! I knew you could do it :-)
Edit: It seems that Fade-in does not work properly when using the wake-up.
Edit2: and though the playlist is changed, the played song remains from the old queue (playlist)
Edit3 - Request: and option to set the master volume (Windows volume) to a predefined level. This isimportant, because if I hibernate the notebook with a very low volume level (probably because I was using my headphones), I might not hear the alarm the next morning. Of course if I leave the headphones plugged in - then yeah, bad luck...
Edit: It seems that Fade-in does not work properly when using the wake-up.
Strange, I've test several times and everything worked...
Edit2: and though the playlist is changed, the played song remains from the old queue (playlist)
Fixed in 1.61
Edit3 - Request: and option to set the master volume (Windows volume) to a predefined level.
Well, currently I'm working on foo_scheduler, so possibly 1.61 is the last version of foo_alarm. I've decided to release 1.6 version because of the discovery wakeup from hibernate. All requests will be taken into consideration in foo_scheduler.
possibly 1.61 is the last version of foo_alarm... All requests will be taken into consideration in foo_scheduler.
I nevertheless allow myself to ask a last feature: a "run once" option.
I prefer foo_alarm for its simplicity. IIRC, in order to make the same action as foo_alarm (play + fade-in), you must set multiple events and tweak the time for each one. So if you want to
change your alarm time, you must
change the time of several events (or I did not understant the plug-in...)
Or... a solution would be to have the possibility with foo_scheduler to be able change the time for multiple actions.
possibly 1.61 is the last version of foo_alarm... All requests will be taken into consideration in foo_scheduler.
I nevertheless allow myself to ask a last feature: a "run once" option.
I prefer foo_alarm for its simplicity. IIRC, in order to make the same action as foo_alarm (play + fade-in), you must set multiple events and tweak the time for each one. So if you want to change your alarm time, you must change the time of several events (or I did not understant the plug-in...)
Or... a solution would be to have the possibility with foo_scheduler to be able change the time for multiple actions.
Yuo will not need multiple events. In my foo_scheduler there is an action list which is assigned to certain event. Ok, there is the teaser of the configuration tree:
- On monday, tuesday at 8:00 (wake up from stand-by/hibernate)
| * Raise signal "Wake me up!!!"
- On wed, thu, fri at 7:00 (wake up from stand-by/hibernate)
| * Raise signal "Wake me up!!!"
- Daily at 23:00
| * Fade out to -20.00 dB
- On signal "Wake me up!!!"
* Set volume to -50.00 dB
* Set playing playlist "Wakeup"
* Start playback
* Start fade in till 0.00 dB during 120 secs
I'm so glad to here that you're working on foo_scheduler . I can't wait to see and test it .
Keep on good work
thanks
That looks very slick!
Even better than the original scheduler =)
I also have the fade in problem, it works sometimes, but most when it's a long time before it starts, like a night. It worked in 0.9.3, but not in 0.9.4 beta 3. What I remember.
Thank you again.
up up up with more hope . Is there any development for us to test out ?
Work is in progress. It's not as easy as it seemed at first. When there will be something to test, a new thread will be started.
Thanks andrew. Just please make sure you post the link to the new post into this thread.
Great work! Thank you very much!
Expecting multi-timers like those in "Scheduler"....
Thanks again!
I have solved the problem with multiple alarms (for example starting playback of a specified playlist on weekdays and at the weekend at the different time) this way:
1. downloading foo_cmd_playlist component, that enables activating of specified playlist by name
2. making simple batch file named foobar.cmd with this: start /d"C:\Program Files\foobar2000\" foobar2000.exe /playlist-activate:"<SpecifiedPlaylist>" /play
3. setting windows task scheduler to execute foobar.cmd
Maybe this will help someone.....
Good news for those waiting for foo_scheduler! I've almost completed the development. During the next week you'll see foo_alarm 2.0 (or it's better to say foo_scheduler 2.0 )! Stay tuned!
good news!
Great news, thanks soo much
thanks,
i need something like that badly
No more foo_alarm, foo_scheduler is better! (topic (http://www.hydrogenaudio.org/forums/index.php?showtopic=49589))
Yeeeehaaaaao!
Goodbye foo_alarm. Our time together was short but sweet.
(thank you andrew)
Sounds good, looking forward to it!
bug: foo_alarm.dll
doesen't work start-stop 23:59-0:01 i like to go to bed with music (radio streaming), and i don't like to switch it off.
suggestion: make button [start playing right now and stop after] xx hours xx minutes
bug: foo_alarm.dll
doesen't work start-stop 23:59-0:01 i like to go to bed with music (radio streaming), and i don't like to switch it off.
suggestion: make button [start playing right now and stop after] xx hours xx minutes
Have you read the first red message in the first post? foo_alarm development is stopped, use foo_scheduler instead.
Have you read the first red message
good work;) i thought it will be long delayed development project
thank you.