RU
EN
Main Page
Download
Addons
Forum
Blog
Feedback
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
News:
AIMP для Android — политика доступа к файлам
AIMP Forum
»
AIMP for Windows
»
Bugs
»
Processed
»
[x] [2338] New scheduler isnt working correctly
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [x] [2338] New scheduler isnt working correctly (Read 2547 times)
0 Members and 1 Guest are viewing this topic.
[x] [2338] New scheduler isnt working correctly
«
on:
October 26, 2021, 04:18:01 »
Shebaaa
Новичок
Posts: 2
Карма: +0/-0
Aimp 5.00 build 2338
New scheduler isnt working correctly. The first time set up a task it works for the first instance then the time goes off for the next run. It does it if set up for repeat for every day or for every week (and choose all the days). Example is I have one set up pause play back and put computer to sleep at 2:04 AM (name is "1am sleep" this is due to playing with it trying to get it working). It ran correctly the first time and now it says next run time is 12:58:52 PM and other number says -3:43:43 PM and is counting down. I go into the task and shows the time still set to run at 2:04 AM. The next change time changes each time it does fire.
Also when it does fire when I go to play something it pops up saying its about to put the computer to sleep.
Below is the info from the aimp_scheduler.xml
<?xml version="1.0" encoding="utf-8"?>
<scheduler mode="0">
<tasks>
<task id="{B0E70580-A36F-45D8-87C7-45312A269E03}" name="1am sleep" enabled="1">
<event type="0" value="2021-10-23T06:02:43.000Z" lastActionTime="2021-10-26T16:58:52.978Z" wttf="1" wakeUp="0"/>
<recurrenceThroughoutDay enabled="0" mode="0" startTime="0" finishTime="0" value="1"/>
<recurrence type="1" every="1" dayOfmonth="23" weekDays="127" enabled="1"/>
<actions>
<action class="TSchedulerPausePlaybackAction"/>
<action class="TSchedulerSleepAction"/>
</actions>
</task>
<task id="{1AEC12A6-38C4-447B-A4BC-E3DD606E26CA}" name="pause " enabled="1">
<event type="0" value="2021-10-23T05:04:45.000Z" lastActionTime="2021-10-26T05:04:45.000Z" wttf="1" wakeUp="0"/>
<recurrenceThroughoutDay enabled="0" mode="0" startTime="0" finishTime="0" value="1"/>
<recurrence type="1" every="1" dayOfmonth="23" weekDays="127" enabled="1"/>
<actions>
<action class="TSchedulerPausePlaybackAction"/>
</actions>
</task>
</tasks>
</scheduler>
«
Last Edit: October 26, 2021, 11:04:08 by Artem
»
Logged
Re: [2338] New scheduler isnt working correctly.
«
Reply #1 on:
October 26, 2021, 10:13:04 »
Artem
Администратор
Супермен
Posts: 15928
Карма: +2929/-56
1. Countdown label has a wrong format string (it should not display AM/PM). Fixed.
2. Timer calculates a next time based on last action time. Seems the "wait for playing track to finish" option made a trick. It shift last action time, so timer uses incorrect base value for calculation. I will try to fix it soon.
«
Last Edit: October 26, 2021, 10:53:53 by Artem
»
Logged
Re: [2338] New scheduler isnt working correctly.
«
Reply #2 on:
October 26, 2021, 11:04:03 »
Artem
Администратор
Супермен
Posts: 15928
Карма: +2929/-56
Here is a nightly build that includes a fix:
https://disk.yandex.ru/d/LBuiI8x2pAuDfQ
Note you need to re-save all tasks after install the update.
Logged
Re: [x] [2338] New scheduler isnt working correctly
«
Reply #3 on:
October 26, 2021, 21:36:20 »
Shebaaa
Новичок
Posts: 2
Карма: +0/-0
Thank you. Downloaded and installed and test I have made are working correctly.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
AIMP Forum
»
AIMP for Windows
»
Bugs
»
Processed
»
[x] [2338] New scheduler isnt working correctly