Help - Search - Members - Calendar
Full Version: foo_scheduler for 0.9.x
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6
andrew_smolko
It's not a port of foo_scheduler for 0.8.x, it's successor of foo_alarm for 0.9.x.
New code, new interface, new features.

Version 3.54 (download)
Version 3.53 (download)

Changelog:
  • 3.54
    Removed "Rescan media library" and "Select track" actions.
    Now "Start playback" action allows to set the track to start playback from.
    Dependency from "Playback follows cursor" removed.
  • 3.53
    Added: keyboard shortcuts for menu items (experimental)
    Improved: "No entries" and "Scheduler is stopped" menu items have been removed (to avoid misunderstanding in keyboard shortcuts page). The menu item "Trigger scheduler event" appears only if there is at least one scheduler menu item event.
  • 3.52
    Added: new action "Set playback order"
    Improved: the setting whether to stop schedule execution on event like play, next is now action list specific
  • 3.5
    "Cosmetic" fixes
  • 3.5 RC
    Added: now it's possible to assign one action list to several events
    Fixed: bug with "Remove after done"
    Warning: configuration format has been changed, so after this update your previous config will be erased
  • 3.11
    Fixed: incorrect wake up time from standby/hibernate if wake up time changed twice
  • 3.1
    Added: actions "Rescan media library" and "Select track"
    Added: check-box "Play, pause, stop, next/previous track buttons, seekbar usage stop action list execution"
  • 3.07
    Added: warning if the user tries to save an event for a past date
  • 3.06
    Added: Set mixer volume action (sets master volume of windows mixer)
  • 3.05
    Improved: created events enabled by default
    Added: new actions (Next playlist and Exit foobar)
    Added: quick access to scheduler page via File/Scheduler preferences
    Added: new event type - Menu item event
  • 3.01
    Fixed: date/time formatting
  • 3.0
    Initial release
Shinsou
very useful features. Thanks a lot!
NeXT
Wow, I waited this so long! =) Thanks! Trying to migrate from foo_scheduler for 0.8.. smile.gif

Will there be any significant interface modifications? Most of all I miss quick access to events via Components -> Scheduler and current inability to use once-defined action to multiple events (and lack of choosing exact track of playlist to play wink.gif)..

And, there' s the first founded bug smile.gif :

Andreasvb
Yes, thank you wub.gif

I only miss a timer instead of using exact time.

Good work!
12zmcnvow1277
Nice work, i had a bulky freeware program that woke from standby but now i can rely on this thanks a lot man.

Would be fantastic if you could intergrate a shutdown timer into it aswell, but I do understand that this is in it's early stages.
Andreasvb
Tried it this night and it worked perfectly, it started fade the volume and play in the morning. happy.gif
vbguy
A "resume playback" or "unpause" option would be nice. Currently, the "Start playback" option restarts to the beginning of the file if it is paused.

Other than that, this is a nice plugin.
pIv
It is very good if "Exit foobar" action will be added.
By example, when Foobar reach the end of playlist - it must close, but not system shutdown as made in action "Shutdown".
Matyas
I think the long wait for scheduler was worthy. And knowing the development progress^quality of foo_alarm, this will also be a fantastic plugin! Keep up the good work!
philipshu
i didn't see anything,
what's wrong?
i just reinstalled foobar and it's still not working
Andreasvb
When it's enabled, like in your screenshot, you just rightclick somewhere on the white =)
philipshu
thanks,
i get it now
maybe something like "right click here" when it's empty next update?
Melomane
QUOTE (philipshu @ Oct 26 2006, 10:41) *
thanks,
i get it now
maybe something like "right click here" when it's empty next update?


you can see this: "use context menu to customise the task tree".
context menu mean "right click"
nobody born sage
please buy a book and learn
biggrin.gif
Melomane
2 requests:
- shortcut to customise page
- timer ( action after xx time)

thank you for your plugin, now i can delete my autohotkey script...
gren
Great plugin. When I first saw it I was ambivalent about the design--and I still can't tell whether its cleanliness is a great advantage or a disadvantage smile.gif It's most likely because I've been using this Winamp plugin for the past three plus years until a few months ago I started using foo_alarm. So, my reluctance is meaningless--in fact, it took me quite some time to get me used to foobar and now I look at Winamp and wonder how I used it.

Request: I would second the request for a "timer". While you can do it by setting a one time schedule for a certain time that is not preferable. What I think would be ideal is a third option, the timer, added to date/time event and player event. It would be a one time event of X minutes and it would start counting down whenever you enabled it. So, whenever I want my music on before I go to bed I just click the check box and it goes on for 60 minutes. Then, that same event will be ready for me to click for tomorrow night (unless I chose the remove after done option).

The ability to check the same event night after night and have it count down is what makes it useful since if it was a one time 60 minute event you could very well set a one time alarm. But being able to check the box and get the same 60 minutes would be very useful (to me).

Two less important issues: When you add new events should the be checked by default (I almost didn't check it)? and, would anyone else find it useful to be able to add a label to each event? Such as "class alarm", "shutdown for the weekend" or whatever. It could be right aligned or whatnot. and I think it might provide an easier way to navigate many events rather than reading the times.
andrew_smolko
QUOTE (NeXT @ Oct 26 2006, 00:32) *
And, there' s the first founded bug smile.gif :


Windows version please and language settings. Something is wrong with GetTimeFormat...

And now about the timer: IT'S ALREADY IMPLEMENTED!!! smile.gif See "Delay" action. It pauses action list for a certain amount of time.
Andreasvb
Well, you still need to enter an exact time for an action to start, don't you? wink.gif

It should be like gren said, enable it and it starts ticking happy.gif
gren
QUOTE
And now about the timer: IT'S ALREADY IMPLEMENTED!!! smile.gif See "Delay" action. It pauses action list for a certain amount of time.


But... that's only under a player event or a date/time event. What I think is useful is delay from right now. Did what I was saying make sense? Having a timer of 60 minutes with events under it and whenever you checked the box it would start the timer going? While I see that it's possible to do timer actions now... you first have to create a date/time that goes off right away to enact the delay which will lead to whatever other actions you schedule. It assumes that a timer must be started at a certain time event instead of starting a timer 'now'.

Here is what I envisioned:



The event waits there until you want to click on it... and when you do the timer for those actions starts. Maybe this is laziness... but using your delay you create a date/time event for one minute from now with those actions and then delay X minutes and each time you want to use this you have to change the time to being a minute from now to get the delay timer started.
andrew_smolko
QUOTE (Andreasvb @ Oct 26 2006, 14:18) *
Well, you still need to enter an exact time for an action to start, don't you? wink.gif

It should be like gren said, enable it and it starts ticking happy.gif


Ok, understood.
andrew_smolko
QUOTE (gren @ Oct 26 2006, 14:29) *
Here is what I envisioned:



The event waits there until you want to click on it... and when you do the timer for those actions starts.


It will be impossible to start timer after click. While you edit options scheduler is stopped. It starts when the preferences window of scheduler is closed.

As for the idea... I'll think about it.
pIv
Andrew!

Do you know about russian Foobar forum (http://www.foobar2000.ru/forum/)?

If you want joint to this forum, we can discussed with you on russian.
foosion
QUOTE (andrew_smolko @ Oct 26 2006, 13:49) *
It will be impossible to start timer after click. While you edit options scheduler is stopped. It starts when the preferences window of scheduler is closed.

As for the idea... I'll think about it.
Why not introduce named events that can be triggered by main menu commands (one command for each named event)?
andrew_smolko
QUOTE (foosion @ Oct 26 2006, 15:57) *
QUOTE (andrew_smolko @ Oct 26 2006, 13:49) *
It will be impossible to start timer after click. While you edit options scheduler is stopped. It starts when the preferences window of scheduler is closed.

As for the idea... I'll think about it.
Why not introduce named events that can be triggered by main menu commands (one command for each named event)?

Great idea! Thanks, foosion!
Chaser
Would you please consider adding the possiblity to add a event like "Do xxx on start of foobar?"

Thank you for you effort!
huythuy
thanks alot. I've been waiting for this one for too long smile.gif

I have 2 requests:
- is it possible to have an option : On playback end -> Proceed to the next playlist. I have many playlists for single artists or albums and it would be great if scheduler simply rolls to next playlist. With the current settings, it seems I could only specify 1 next playlist.
- An option to specify which track should be played would be very nice smile.gif

again, thanks for your effort. most wanted components smile.gif
Sphix
Request:
- Option to shutdown the machine after a period of time or songs played
mpioner
QUOTE (Sphix @ Oct 27 2006, 08:53) *
Request:
- Option to shutdown the machine after a period of time or songs played

+1
andrew_smolko
QUOTE (Sphix @ Oct 27 2006, 01:53) *
Request:
- Option to shutdown the machine after a period of time or songs played


Why not to use such config:

[x] On playback end, disable after done
...some actions...
2 minutes delay
Shutdown
RogerG
QUOTE (andrew_smolko @ Oct 27 2006, 17:02) *
QUOTE (Sphix @ Oct 27 2006, 01:53) *

Request:
- Option to shutdown the machine after a period of time or songs played


Why not to use such config:

[x] On playback end, disable after done
...some actions...
2 minutes delay
Shutdown


There is no playback end when listening to internet radio streams.
vader897
Just thought of this, dunno if it will work... could you just set the time to run the task in 1 min then have the task as something like
-delay for X minutes
-shutdown..

I agree that an option would be better but I think this should work as a temporary work around
Matyas
Request:
Besides setting the foobar2000 volume, setting the Windows MASTER volume would be very useful.
For example, you can end the day listening the music through your headphones, where a lower windows master volume is necessary, but want to be woken up the next morning - in which case a higher windows master volume is vital.
Of course, if you forget to unplug the headphones.... But that is something you can do even if the notebook is already off...
fabiospark
Is already there a way to create these actions I had with 0.8:

1) Shutdown on track end

2) Change playlist to "playlist_name" after 2h:00m

3) Change playlist to "playlist_name" on playback end

4) Change playlist to "playlist_name" at 10:30 AM

5) Exit Foobar (saving config and database files) after/on/at...

?


Thanks
Generalverdacht
thanks fot that great plugin
!
andrew_smolko
QUOTE (fabiospark @ Nov 1 2006, 20:02) *
Is already there a way to create these actions I had with 0.8:

1) Shutdown on track end

2) Change playlist to "playlist_name" after 2h:00m

3) Change playlist to "playlist_name" on playback end

4) Change playlist to "playlist_name" at 10:30 AM

5) Exit Foobar (saving config and database files) after/on/at...

?

Thanks

1) on playback end
2) yes
3) yes
4) yes
5) no (will be in the next version)

Why not to download and try yourself? smile.gif
fabiospark
QUOTE (andrew_smolko @ Nov 1 2006, 20:08) *
QUOTE (fabiospark @ Nov 1 2006, 20:02) *

Is already there a way to create these actions I had with 0.8:

1) Shutdown on track end

2) Change playlist to "playlist_name" after 2h:00m

3) Change playlist to "playlist_name" on playback end

4) Change playlist to "playlist_name" at 10:30 AM

5) Exit Foobar (saving config and database files) after/on/at...

?

Thanks

1) on playback end
2) yes
3) yes
4) yes
5) no (will be in the next version)

Why not to download and try yourself? smile.gif


Sorry, I had a look but, obviously, it had not been a careful one.

Anyway, I can't find the way to do the # 2 in the list above: which event should I start with?
In my post, I was meaning: "change to that playlist after two hours from when I check this command. At least, from when I close the settings window.
In the player list I can only see "On playback end" and in the date/time list I cant see a "delay"
time field. Yes, I saw there is a delay action but I have to start with an event first, so?

Thanks.
TheTravis
Thank you very much andrew_smolko!

Requests:
- Event: Track change
- Action: Foobar command

Then I can use foo_run with cwb_hooks to check wether i have album art for the album and run CoverDownloader if i haven't.
_eclectic_
Wow, just when I think there is nothing else that can be added, somebody creatively comes up with a fantastic idea! Thanks, I will put this to good use, esp. when on the road with my notebook, and one of those hotel alarm clocks that play fuzz and are impossible to set right.
Bobjua
Right now im just using 1 playlist all the time, (i have albums organized with .m3u files). how do i make it so it goes back to the first track of the playlist, its not very useful when it only plays the last song on the playlist. (its on the last song because i played the whole playlist when i fell asleep.

Edit: i kind of fixed it. i just made the last song a really long loud one.
andrew_smolko
QUOTE (fabiospark @ Nov 2 2006, 00:03) *
QUOTE (andrew_smolko @ Nov 1 2006, 20:08) *

QUOTE (fabiospark @ Nov 1 2006, 20:02) *

Is already there a way to create these actions I had with 0.8:
...
2) Change playlist to "playlist_name" after 2h:00m
...

...
2) yes
...

...
Anyway, I can't find the way to do the # 2 in the list above: which event should I start with?


Oops smile.gif It can be done in my development build, not in public release 3.01. Wait for the next version. There it will be possible to start scheduler action lists from main menu. The configuration will look like this:

[x] On menu item "Item identifier"
  • 5 minutes delay
  • Shutdown
Spi
thanks man i waited long for this one,

THANK YOU SO MUCH
trance
Oh lord, thank you! blink.gif

This the only components that keeping me from migrating to v.9.x!!

I'll have to see if its as good as in v.8.x biggrin.gif
andrew_smolko
3.05 is ready!
Andreasvb
Thanks, finally got the "timer" to work, thanks to the menu item addition =)

Unfortunately there's no way to see the remaining time, a title format would be good to use in e.g. Trackinfo or statusbar/caption.

Thanks.
neooffs
hello,
can you make the plugin allow twice or more equal events?
I like to shutdown when the playback ends, but also like to close the player sometimes...

ty anyway
kalmark
Could you add a warning if the user tries to save an event for a past date? Maybe it could even be smart warning, meaning it would offer a correction, too. For example: user tries to save an event for 7am 2nd November on the 5th November, a warning window pops up saying "event date is in the past, would you like to save it for 7am 6th November (so the next day 7am)", and user would be able to either accept the change or go back and edit or even save it with the "useless" setting.
What do you think?
(I almost missed a wake up alarm because of not changing the date on a past event smile.gif )
A very good component, though, I never knew how much I was missing a scheduler until recently smile.gif
andrew_smolko
QUOTE
Unfortunately there's no way to see the remaining time, a title format would be good to use in e.g. Trackinfo or statusbar/caption.

Marked, as TODO for future versions.
QUOTE
can you make the plugin allow twice or more equal events?

Already in TODO list! smile.gif
QUOTE (kalmark @ Nov 8 2006, 10:47) *
Could you add a warning if the user tries to save an event for a past date? ...

No problem, added to TODO list.
jackassbikeco
I can't seem to get a timer that I make to work. I make a new timer, I set a delay for say 5 min, then after that I have it shutdown foobar. I click the menu to run scheduler event click the timer, 5 min passes and nothing happens. Can someone post what they are using for their timer settings so I know if I am doing this right.

oh and i have version 3.05 if that makes a difference.

THanks,
Josh
gren
QUOTE
can you make the plugin allow twice or more equal events?


What does that mean?


jackassbikeco... try it with stopping play (just because I know that has worked for me)... I have 60minute delay and then stop play. The reason I suggest using a more simple function is because I think in the past I have had timers not turn off... and alarms not go on. I haven't verified it because.... normally I'm half asleep and I can't tell if it's a software problem or me not being fully awake ~_~
jackassbikeco
What he means is that if he wants to have the same event twice. He wants it to allow him to setup say two identical alarms. I think that is what he means. Oh and i will try it to make a new timer again, i was kinda tired when i was playing around with it so maybe i missed something.

Thanks,
Josh
2Pacalypse
couple of question.

how are people saying shut down the computer in x mins. i can only seem to have it on playback end. i want it to shut down on a timer dont care if it is playing. your talking about the timer but i cant find it

I would like to request a fade in & fade out volume. Also being able to set the playback order would be cool.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.