Author Topic: Event Pause  (Read 474 times)

RFU

  • Hero Member

  • Offline
  • *****
  • 787
    • Radio Free Ukraine
Event Pause
« on: February 27, 2022, 12:04:06 PM »
Every half hour I'm running alerts for the war.

I set up the event as
Pause
Load track
Play
UnPause

Shouldn't PAUSE just pause what's playing and UNPAUSE whatever was playing and let it continue playing? Because that's not what's happening. PAUSE stops what's playing but after the track has been loaded it goes to the next tract in the rotation
Гордий бути українцем, Ми - Радіо Вільної України.

Kiwi

  • Full Member

  • Offline
  • ***
  • 147
Re: Event Pause
« Reply #1 on: February 27, 2022, 12:42:21 PM »
You don't need the Play command. I tested your event without play and it worked fine. RadioDJ is already in Automated mode so it plays the track (your alert) at the top of the cue then will go back to the rotation.

My thoughts are with you and the people of Ukraine. Take care.

RFU

  • Hero Member

  • Offline
  • *****
  • 787
    • Radio Free Ukraine
Re: Event Pause
« Reply #2 on: February 27, 2022, 12:52:52 PM »
You don't need the Play command. I tested your event without play and it worked fine. RadioDJ is already in Automated mode so it plays the track (your alert) at the top of the cue then will go back to the rotation.

My thoughts are with you and the people of Ukraine. Take care.

Using what version of RadioDJ? It's been my experience that it doesn't work without the play command
Гордий бути українцем, Ми - Радіо Вільної України.

Kiwi

  • Full Member

  • Offline
  • ***
  • 147
Re: Event Pause
« Reply #3 on: February 27, 2022, 01:06:44 PM »
I tested in 2.0.0.6. When I used the Play! command, the track (war alert) played over the top of the song playing then went to the next song in the playlist. Without the Play! command, the Alert played at the end of the previous song then the next song in rotation played after the alert announcement had finished. RadioDJ was in AutoDJ and Automated for both tests.

Hope this helps...


RFU

  • Hero Member

  • Offline
  • *****
  • 787
    • Radio Free Ukraine
Re: Event Pause
« Reply #4 on: February 27, 2022, 01:28:44 PM »
I'm using 1.8.2

Without the play command the only thing it does is add the event to the top of the playlist. So it will play after the current file is finished playing

Please pay attention to the forum I'm posting in
Гордий бути українцем, Ми - Радіо Вільної України.

Kiwi

  • Full Member

  • Offline
  • ***
  • 147
Re: Event Pause
« Reply #5 on: February 27, 2022, 04:09:23 PM »
Does this help...

https://www.radiodj.ro/community/index.php?topic=14266.0

I have used 1.8.2 Hence my comments. I also noted that RadioDJ was in AutoDJ and Automated mode when I tested the Event. If AutoDJ has been disabled then Play! will have to be used.

RFU

  • Hero Member

  • Offline
  • *****
  • 787
    • Radio Free Ukraine
Re: Event Pause
« Reply #6 on: February 27, 2022, 08:11:43 PM »
I've been using RadioDJ 1.8.2 for 6 years

That forum link you posted is mine

Every piece of advice you have tried to give me has been wrong
Гордий бути українцем, Ми - Радіо Вільної України.

stevewa

  • Hero Member

  • Offline
  • *****
  • 1065
    • RadioDJ Remote Support Link to Pay for Help
Re: Event Pause
« Reply #7 on: February 28, 2022, 08:21:57 PM »
no, when you use PLAY from an event, it appears to knock out the current item, and play the item at the top of the queuelist.

if your alerts are for a fixed duration, i.e. 15 seconds, then you could

PAUSE!
Play track from folder or category on an AUX player,
WAIT X seconds (the duration of your alert, ie.. 15 seconds)
then UN-PAUSE! (which would continue playing the track which was paused.

the tricky part is if you don't have a fixed duration, you won't know how long you need to delay while the track plays in the AUX player.
RadioDJ Remote Support Link to Pay For Personal Help: https://www.paypal.com/donate/?hosted_button_id=8RMWTFAWCX7WS

stevewa

  • Hero Member

  • Offline
  • *****
  • 1065
    • RadioDJ Remote Support Link to Pay for Help
Re: Event Pause
« Reply #8 on: March 01, 2022, 01:01:05 AM »
Another thing I thought of, you could attach an event to the actual track on aux player, and that event would wait for the length of the track, then do action unpause.

I can’t recall if you can attach event at the end of the song or just when it starts
RadioDJ Remote Support Link to Pay For Personal Help: https://www.paypal.com/donate/?hosted_button_id=8RMWTFAWCX7WS

RFU

  • Hero Member

  • Offline
  • *****
  • 787
    • Radio Free Ukraine
Re: Event Pause
« Reply #9 on: March 01, 2022, 12:37:14 PM »
I have a general alert message being broadcast every 30 minutes. It's 01:21 in duration

The problem is I am still broadcasting our syndicated shows. I wanted the event to pause what was playing then when it was finished I want it to unpause and continue with whatever file/event/playlist was playing

Air Raid Alerts and Missile attack alerts, as well as the all clear, will be broadcast on an as needed basis using the auxiliary players (and at the moment those alerts seem to be about every 10 minutes)

Where's Marius? Maybe he can explain how I can do it
Гордий бути українцем, Ми - Радіо Вільної України.

Kiwi

  • Full Member

  • Offline
  • ***
  • 147
Re: Event Pause
« Reply #10 on: March 01, 2022, 03:01:50 PM »
After getting a better idea of what you are trying to achieve and picking up on "stevewa" comments I propose you try the following:-

This will play a track from an Instant Player pausing AutoDJ and restarting AutoDJ once the Instant Player track ends.
 
Create an event

Pause!
AutoDJ Disabled!
Assisted Enabled!
PluginAction!CartPlayer!PlayCart 2 (cart where Alert message is)
Seconds To Wait!81 (the number of seconds is entered in the "Argument" field)
Assisted Disabled!
AutoDJ Enabled!
UnPause!

I know I created this in a different version than you but I believe this is all in 1.8.2.

Hope it achieves what you are looking for.


stevewa

  • Hero Member

  • Offline
  • *****
  • 1065
    • RadioDJ Remote Support Link to Pay for Help
Re: Event Pause
« Reply #11 on: March 02, 2022, 03:26:33 PM »
did you try my suggestion?
RadioDJ Remote Support Link to Pay For Personal Help: https://www.paypal.com/donate/?hosted_button_id=8RMWTFAWCX7WS

RFU

  • Hero Member

  • Offline
  • *****
  • 787
    • Radio Free Ukraine
Re: Event Pause
« Reply #12 on: March 03, 2022, 02:39:27 PM »
I took out the play command and left it as

pause
load
unpause

That puts the alert at the top of the rotation so it will play when the currently running file has finished
Гордий бути українцем, Ми - Радіо Вільної України.

stevewa

  • Hero Member

  • Offline
  • *****
  • 1065
    • RadioDJ Remote Support Link to Pay for Help
Re: Event Pause
« Reply #13 on: March 03, 2022, 09:01:44 PM »
Then you don’t need those pause un-pauses.

Just load track to top of queuelist
RadioDJ Remote Support Link to Pay For Personal Help: https://www.paypal.com/donate/?hosted_button_id=8RMWTFAWCX7WS