Next program does not autostart
Posted: 03 Oct 2024 20:30
I've been learning to use the Scheduler but still don't understand some things.
PROBLEM 1
For example I was testing putting 2 programs one right after the other.

I expected for "Prueba 1" to play for 1 minute and then to fade out as "Prueba 2" started playing automatically.
What happened is that "Prueba 1" did the fade out and closed, but "Prueba 2" did not open. This happened with the scheduler enabled.
These are my scheduler settings:

How could I achieve the desired behavior? What am I doing wrong?
PROBLEM 2
I would like to create 2 user commands:
PROPPFREXX PAUSE
- Disables the Scheduler
- Disables autoplay (so a new track doesn't start playing automatically)
- Pauses the current track with a fade out
- Ejects the current track and loads the next track after the fade out finishes
- Re-enables the Scheduler
- Enables autoplay
- Plays the track that it's ready to play (no necesarily the one we loaded on PROPPFREXX PAUSE because we can have 2 players)
I do think it is good that Proppfrexx creates a playlist if it was supposed to, but didn't because the scheduler was paused, but not if we already have a playlist created for that program (eg: the playlist was created before PROPPFREXX PAUSE gets executed).
I recorded a video showing both problems: https://youtu.be/RmMX5d-MkDk
PROBLEM 1
For example I was testing putting 2 programs one right after the other.

I expected for "Prueba 1" to play for 1 minute and then to fade out as "Prueba 2" started playing automatically.
What happened is that "Prueba 1" did the fade out and closed, but "Prueba 2" did not open. This happened with the scheduler enabled.
These are my scheduler settings:

How could I achieve the desired behavior? What am I doing wrong?
PROBLEM 2
I would like to create 2 user commands:
PROPPFREXX PAUSE
- Disables the Scheduler
- Disables autoplay (so a new track doesn't start playing automatically)
- Pauses the current track with a fade out
- Ejects the current track and loads the next track after the fade out finishes
PROPPFREXX RESUMEASYNC
PROGRAM_SCHEDULER_OFF
PLS_CURRENT_AUTOPLAY_OFF
PLS_CURRENT_PAUSE_CURRENT
SLEEP 5000
PLS_CURRENT_EJECTNOFADE_CURRENT
SLEEP 1000
PLS_CURRENT_LOAD_NEXT
- Re-enables the Scheduler
- Enables autoplay
- Plays the track that it's ready to play (no necesarily the one we loaded on PROPPFREXX PAUSE because we can have 2 players)
The problem is that when PROPPFREXX RESUME is executed the song starts playing but immediatly fades out and a new Playlist gets created. I think this is related to the Scheduler being re-enabled. Is there a way to avoid this from happening?ASYNC
PLS_CURRENT_AUTOPLAY_ON
SLEEP 100
PROGRAM_SCHEDULER_ON
I do think it is good that Proppfrexx creates a playlist if it was supposed to, but didn't because the scheduler was paused, but not if we already have a playlist created for that program (eg: the playlist was created before PROPPFREXX PAUSE gets executed).
I recorded a video showing both problems: https://youtu.be/RmMX5d-MkDk