Jump to content

SAM Broadcaster is not my PAL right now


Recommended Posts

Almost forgot, one more thing....

 

All my PAL scripts I'm using are to schedule programs. (ie: Sock Hop Soda Shoppe, Takin' Ya Back, Rewind, FM Odyssey, etc) They work great, and I've really had no problems, other than my own stupidity in forgetting a line of code.

 

But here's the thing... Saturday night at midnight, I air Late Night Nathan's show, and the PAL script is supposed to queue the files into the queue beginning at 11:58pm (23:58). But at midnight when the show kicked off, it had placed the Rewind Show and Sock Hop Soda Shoppe in the queue, followed by the Late Night Nathan files.

 

I quickly fixed the problem... as I was monitoring the stream, but there's no PAL script in my system to tell it to do that. Has SAM Broadcaster lost it's mind or did I do something perhaps to cause this?

 

Inquiring minds want to know.

 

Comments and suggestions are welcome. I can post my PAL scripting if you'd like.

 

Thanks.

Link to comment
Share on other sites

Hi Fozzy,

I think you make it to difficult for yourself

 

If you have a daily or weekly sheduled set .. you can shedule that set for example "every + day" and add the time

To queue sets on ipTop I learned that its better to set your time as following :

load your file on ipTop at 11:59:49 ... If you use a TOTH (top of the hour) your set gonna start perfect right after your TOTH

and load your TOTH file with the "PAL for TOTH on the hour" who can be found in my topic at this link :

http://forums.broadcastingworld.net/showthread.php?t=7199

copy the full code to a new PAL script and let it RUN (do not use Event Sheduler for this) .. This script fades out the playing Deck A or B

Notice : to leave the written time ('xx:59:35') .. this way your TOTH gonna be heard on the stream right "on" the hour ... At the internet there is always some delay between the source and the listener

Small detail is : if you need to make 2 commands at "almost" the same time .. leave about 10 seconds space between both (loading time)

 

Hope this works out for you

Good luck !

Visit and listen @ BW !

http://i.imgur.com/Ggmw4ub.gif

 

Link to comment
Share on other sites

Hi Philippe,

 

Hmmm. Not sure this reply is meant for me. Here's my code I use for the shows. It's pretty straightforward, and doesn't seem to have a thing to do with the system dumping the wrong shows in my play queue.

 

 

PAL.Loop := True;

var mytime : DateTime;

var I : Integer;

 

var start_time, end_time : DateTime;

 

mytime := now;

start_time := T['23:57:00'];

end_time := T['23:57:30'];

 

{Check if this is the right day of the week}

if DayOfWeek(Now) = Saturday then

begin

if( mytime >= start_time) and (mytime

begin

WriteLn('Late Nite Nathan');

//

// Lock to run faster

//

PAL.LockExecution;

 

Cat['LNN-H1'].QueueTop(smLRP, NoRules);

cat['Station IDs (All)'].QueueTop(smRandom,NoRules);

//

// Unlock after complete

//

PAL.UnlockExecution; //unlock SAM

{ Wait a while to make sure time is AFTER end_time }

PAL.WaitForTime(T['+00:01:00']);

end;

end;

Link to comment
Share on other sites

Reading your script .. I think you can achieve a better result by using the details into my first reply

Shedule of a set is best done as I wrote on top of this

.. and its easy to do

Just overwrite the excisting file with your new file and you never have to change the details into your Event Sheduler

To your settings at your Event Sheduler you can also add a Station ID in front of it

To make sure that it is played first on ipTop load first your ID after that load your set

The line who is at the bottom of your Event Sheduler script loads as first

so written looks like :

file 1 > aired as 3rd

file 2 > aired as 2nd

file 3 > aired as first

Visit and listen @ BW !

http://i.imgur.com/Ggmw4ub.gif

 

Link to comment
Share on other sites

Your code is fine. I would just move the lock / unlock so it has a chance to be effective and run faster.

 

PAL.Loop := True;
var mytime : DateTime;
var I : Integer;

var start_time, end_time : DateTime;

mytime := now;
start_time := T['23:57:00'];
end_time := T['23:57:30'];

//
// Lock to run faster
//
PAL.LockExecution;

{Check if this is the right day of the week}
if DayOfWeek(Now) = Saturday then
begin
 if( mytime >= start_time) and (mytime     begin
      WriteLn('Late Nite Nathan');

      cat['LNN-H1'].QueueTop(smLRP, NoRules);
      cat['Station IDs (All)'].QueueTop(smRandom,NoRules);
//
// Unlock after complete
//
PAL.UnlockExecution; //unlock SAM

{ Wait a while to make sure time is AFTER end_time }

PAL.WaitForTime(T['+00:01:00']);

   end;
end;

Spacial SVS Support Team

http://support.spacialaudio.com/forums/

Get help with PAL Scripts at http://www.palscripts.com

Link to comment
Share on other sites

Thanks for the info guys. I'll check into this, but I'm not sure still if I got the answer I'm looking for. I didn't think I had a problem with my scripts. The question was more why SAM Broadcaster has decided to play programs that the script doesn't call for. ie: the script is for Late Nite Nathan, but it queues up the Rewind show!

 

None of the scripts I have in my system call for any shows to play midnight Saturdays, save for the one I posted earlier.

 

That's what is confusing me, unfortnately. Philippe, my TOTH ID is embedded to play normally in my clocks. The only reason it is included in the script is to ensure it plays at the top of the hour before the show.

 

I would think that if the system has an issue reading and understanding these few lines of programming, and consistently does not perform, it's time to look for better automation software.

 

Sorry, just me being a bit frustrated.

 

Thanks again!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...