Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_scheduler (Read 437743 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

foo_scheduler

Reply #525
Hi Andrew,
in the last few weeks I did everything to get the right timing in foobar-scheduler.
...
Maybe I can give you my scheduler-cfg-file, to check this out more in detail?

Hi! Thanks for your investigation! It seems that I should rework some parts of the scheduler, though I'm still not sure about the reasons of such misbehavior.
Anyway, you gave me very useful information! Cfg file is not necessary, thx!

A new thing I also noticed, is that the active Task stays in the Date-/Time-Eventlist until its actions are executed.
Is this new with 4.11 or just for me?

Hmm, nothing has changed, probably you never noticed this before.

foo_scheduler

Reply #526
Hi Andrew and thanks for your answer!

If I find enough time, I'm going to change the PC in the next weeks.
I give you feedback, if I find something out.

For the Date-/Time-Eventlist-Topic: Looks like this has been like this before. I didn't notice years ago ;-)

Thanks for your work!

foo_scheduler

Reply #527
Andrew, what about the new option "start convert.." to schedule online radio recording?
QC, QA

foo_scheduler

Reply #528
Hi Andrew and thanks for your answer!

If I find enough time, I'm going to change the PC in the next weeks.
I give you feedback, if I find something out.

For the Date-/Time-Eventlist-Topic: Looks like this has been like this before. I didn't notice years ago ;-)

Thanks for your work!


I replaced the PC, and switched from WinXP to Win2003Server and my foobar2000-scheduler still looses time and starts 5-20 secs to early.
This time I did not touch any NTP-Values in Windows just for testing purposes. I will add a W32Time-Command tomorrow and see whats happening.


Andrew, what about the new option "start convert.." to schedule online radio recording?


If you know how to use foobars commandline-tools or runcmd, you are afaik already able to record on the fly.

foo_scheduler

Reply #529
I replaced the PC, and switched from WinXP to Win2003Server and my foobar2000-scheduler still looses time and starts 5-20 secs to early.
This time I did not touch any NTP-Values in Windows just for testing purposes. I will add a W32Time-Command tomorrow and see whats happening.

Soon I'll rework internals of scheduler and this problem will be resolved! I don't promise it will happen very quickly but the fix will appear!

foo_scheduler

Reply #530
I replaced the PC, and switched from WinXP to Win2003Server and my foobar2000-scheduler still looses time and starts 5-20 secs to early.
This time I did not touch any NTP-Values in Windows just for testing purposes. I will add a W32Time-Command tomorrow and see whats happening.

Soon I'll rework internals of scheduler and this problem will be resolved! I don't promise it will happen very quickly but the fix will appear!


good to hear! don't get stressed! I just wanted to complete my report.

foo_scheduler

Reply #531
Hi,

Just wanna say thank YOU for this handy little plug. Great work!

foo_scheduler

Reply #532
Hi Andrew,

Would you please add function of Export/Import event list & action lists?

Thanks a lot.

foo_scheduler

Reply #533
  • 4.01
    Volume fade in/out now uses logarithmic scale.

Bug: Logarithmic fade broken
Scheduler 4.11, fb2k v1.3.1, Windows 7 x64 (Ult, SP1)

To reproduce:
For example create an action which does the following:
  • Set the volume to -30dB
  • Set the volume to 0dB with 30 sec fade


Resulting volume in dB each second:
-30, -23, -20, -17, -15, -14, ...
Nonlinear on the logarithmic scale.

(Animation is at 1FPS, with delay of 2 seconds after the -30dB change to clarify the steps.)

Expected volume increase of 1dB per second:
-30, -29, -28, -27, -26, -25, ...
Linear on the logarithmic scale.

Comment:
This bug/"feature"(?) makes long fades very misleading. For example in a 30 min fade most of the volume change (what you hear) happens in the first few minutes. So it would be really nice if the fade was logarithmic to equally spread the perceived change of volume (dB) during longer fades.

Is the source for this plugin available? If so I could probably send you a patch to fix this if you don't have the time.

Other than that thanks again for the useful plugin.

foo_scheduler

Reply #534
Version 4.11 (download)

Changelog:
  • 4.11
    • "Scheduler enabled" checkbox has been added.
  • 4.10
    • Removed useless stop reason in player stop event.
    • Dropped packing of executable to be able to analyze crash dumps.
    • Rebuild with more stable versions of internal libraries.
  • 4.09
    • Completely fixed keyboard shortcuts assignment problem.
  • 4.08
    • Fixed tab order in "Wait until N tracks played" configuration dialog.
    • Fixed a bug with menu items, when keyboard shortcuts couldn't be assigned to them correctly. Please recreate your menu item events!
  • 4.07
    • Added a new command "Stop all action lists" to the status window and to the main menu.
    • Header restyling to conform the style of preferences page.
    • New action "Wait until N tracks played".
  • 4.06
    • Next/previous track actions added.
  • 4.05
    • Preferences window fix due to changes in fb2k 1.1.
  • 4.04
    • Added items reordering in events list.
    • The width of each column in events list window is stored in configuration.
  • 4.03
    • Bug fix release.
  • 4.02
    • Added more detailed config of "On playback stop" event.
    • Remaining time of "Delay" and "Set volume" actions is now displayed in status window.
  • 4.01
    • Added keyboard context menu invocation in events list view and action lists view.
    • Volume fade out bug fix.
    • Volume fade in/out now uses logarithmic scale.
    • Final action combo-box has been returned in date/time event.
    • New "Mute/unmute" action.
  • 4.0
    The plugin is rewritten from scratch. Short list of changes:
    • New "OK, Cancel, Apply" preferences page style, introduced in fb2k 1.0.
    • "Reset page" button works correct now.
    • Scheduler isn't stopped while its preferences page is opened. It's running all the time.
    • Added new status window, where you can see pending date/time events and manage running action lists.
    • Fixed crash with concurrently running action lists.
    • Fixed incorrect handling of date/time events in some cases.
    • Date/time events: completely new configuration dialog, added title support, "remove/disable event" option removed.
    • No more annoying message boxes, now only balloons are used.
    • Menus, treeviews and listviews use native Windows Vista/7 style.
    • New player events: on playback start, stop, pause, unpause, track change.
    • New actions: Pause/Unpause, Change playlist, Launch application.
    • For "Delay" and "Set volume" actions duration units can be selected.
    • New File/Scheduler menu.
    • No more configuration reset during version upgrade.



Hi. I use foobar to listen web radios.
With Scheduler i could continues to listen after a network problem. But when occurs 2 or more network problems, the scheduler doesn't works.
I've put to playback after a stop or end-of-file signal events and to re-enable event.
Works fine for the first  and second networks failures, but then the event doesn't appear in the status window  after this.
Could this be solved to works always?

Thanks.

foo_scheduler

Reply #535
VERY USEFUL PLUGIN THANK YOU.

I try some task and it works perfect.

Now i need reminder at 10:00 am every day. I need a music high volume but it must be not so agressive. After that after hour i wanna to shotdown my foobar. So how it lok likes?

File - Preferences - Scheduler

I need 2 task: first - play file and second to shotdown the player or comp or launch the app


Event list - Add: Add date/time event:  (Type names)

For example:
Alarm 1 (right mouse click) - daily - 10:00 AM
Alarm 2 (right mouse click)- daily - 11:00 AM

Action list - Add: (Type names)
A1
A2

Now we go:
A1 (right mouse click) - Add action:

Start playback
Set active playlist - choose the one from the playlist switcher (you can create any playlist and load it to playlist switcher)
Set playback order - (mine is repeat)
Set volume to -10 db with fade during 180 seconds

A2 -(right mouse click) - Add action:
shotdown the player or comp or launch the app (mine: exit foobar 2000)

And finaly:

Event list:

Alarm 1 (right mouse click) - assign with A1 (play file)
Alarm 2 (right mouse click)- assign with A2 (shotdown the player or comp or launch the app)

foo_scheduler

Reply #536
Is there any way to play a playlist then shutdown?


VERY USEFUL PLUGIN THANK YOU.

I try some task and it works perfect.

Now i need reminder at 10:00 am every day. I need a music high volume but it must be not so agressive. After that after hour i wanna to shotdown my foobar. So how it lok likes?

File - Preferences - Scheduler

I need 2 task: first - play file and second to shotdown the player or comp or launch the app


Event list - Add: Add date/time event: (Type names)

For example:
Alarm 1 (right mouse click) - daily - 10:00 AM
Alarm 2 (right mouse click)- daily - 11:00 AM

Action list - Add: (Type names)
A1
A2

Now we go:
A1 (right mouse click) - Add action:

Start playback
Set active playlist - choose the one from the playlist switcher (you can create any playlist and load it to playlist switcher)
Set playback order - (mine is repeat)
Set volume to -10 db with fade during 180 seconds

A2 -(right mouse click) - Add action:
shotdown the player or comp or launch the app (mine: exit foobar 2000)

And finaly:

Event list:

Alarm 1 (right mouse click) - assign with A1 (play file)
Alarm 2 (right mouse click)- assign with A2 (shotdown the player or comp or launch the app)

foo_scheduler

Reply #537
Hello!

I can't get scheduler to work the way I want it to...
Basically, I need following to happen:

At 12:30 change to different playlist with 1 song
Play a song
Wait for song to end
Switch back to the previous playlist
Set random playback order
Start playback

I need this setup to play every day of the week once an hour
I've setup this schedule:

The only problem is that, after changing playlist, foobar2000 plays a song, and that is it, nothing else happens...
Can anyone help?


foo_scheduler

Reply #539
Have you enabled "Stop after current"?

No, I have not.
Can you recreate this schedule on your player and see if it works?
EDIT: I think, I know what is the problem - "Wait until N tracks have played" function is not working...

foo_scheduler

Reply #540
So I just downloaded it and tried it out last night, however it doesn't seem to be working.
I fiddled with it this morning to make sure everything was correct, however even when I set the time to something nearby to test it nothing seems to happen.

Perhaps I've missed a step or something isn't working right. I'll post a picture of my events and actions lists in-case I'm missing something.

http://i.imgur.com/ymz367r.png

EDIT: So I just got the scheduler to finally play some music. Looks like I'm receiving about a minute or two of delay however. -I may have also mistaken put it on PM by accident for previous trails....

foo_scheduler

Reply #541
Sorry if this has already been addressed but, is there a way to schedule Convert? I'm trying to use foo_record to record a live radio broadcast, through Line In, when I'm not home. Thanks.

foo_scheduler

Reply #542
Hello.
I would like to ask if it is possible to scheadule events hourly.
The only options that i see are "daily", "weekly" and "once".
Is it possible with any other way (ex repeater)?

foo_scheduler

Reply #543
Hello.
I would like to ask if it is possible to scheadule events hourly.
The only options that i see are "daily", "weekly" and "once".
Is it possible with any other way (ex repeater)?


Look in

Action lists >  Add action > add delay (set your required duration time)

foo_scheduler

Reply #544
4.12 with fix of wrong firing time for repeated date time events. Please test and report if anything not right with date time events!

foo_scheduler

Reply #545
Windows XP, foobar crashed.


foo_scheduler

Reply #547
4.14 is ready. Now must work on WinXP too.

foo_scheduler

Reply #548
The source code of plugin is opened. You can find it here. Everyone is welcome to contribute!

foo_scheduler

Reply #549
Thank you for new version.