Doing the production work remotely

You have a question or need an advice about how to do something? Ask it here!
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: Doing the production work remotely

Post by hdradio »

Can you please tell me how to send the above commands from a slave instance to master ?
I can't find any info on that.
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Doing the production work remotely

Post by radio42 »

Sure, that is explained here: viewtopic.php?f=9&t=12#p21
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: Doing the production work remotely

Post by hdradio »

I feel so stupid.
I want to update the Additional Script Libraries on a Master PF. This file has been edited from a slave PF.
I 've tried the next commands on slave machine:

Code: Select all

EXEC_SEND_TCP ONAIR2:8052|AUTHORIZATION 12345${CRLF}${CRLF}SHOW_ALERT_WINDOW ONLINE|Test that command is working!${CRLF}${CRLF}
It Works.

Code: Select all

EXEC_SEND_TCP ONAIR2:8052|AUTHORIZATION 12345${CRLF}${CRLF}MAIN_RELOAD_LIBRARY${CRLF}${CRLF}MAIN_RESCAN_LIBRARY${CRLF}${CRLF}SCHEDULER_REFRESH${CRLF}${CRLF}ADVERTLIB_REFRESH${CRLF}${CRLF}
It does not work

Code: Select all

EXEC_SEND_TCP ONAIR2:8052|AUTHORIZATION 12345${CRLF}${CRLF}SCHEDULER_REFRESH${CRLF}${CRLF}
It does not work.

I 've set -globalconfig to a shared drive on both pf instances.
On a second pf instance I add an additional script library.
I check and confirm that the file "ProppFrexx ONAIR.scriptlibs" has the new script.

I issue the above commands but the master pf instance does not update the additional script libraries.
Even of master I tried to run the SCHEDULER_REFRESH command with no luck.

How additional script libraries can be updated on master pf to the updated global "ProppFrexx ONAIR.scriptlibs" file REMOTELY ?

What am I doing wrong ?

If I go to settings and click Rescan/Reload button the file is updated. But can it be done remotely ?
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Doing the production work remotely

Post by radio42 »

No, you are definitely not!
It is again a couple of dependencies, which might prevent the script reloading...I am afraid.

a) The SCHEDULER_REFRESH command only has an effect if the related calendar has been changed.
or in other words, if the calendar has NOT been changed the command does nothing.
If the calendar would have been changed, it would also reload the media, cartwall and script libs as well and then refresh the scheduler.

b) The MAIN_RELOAD_LIBRARY command would reload the scripts only, if the general setting "also reload Script Libraries" in the section 'Folders/Libraries' is checked!
else it would only reload the media and cartwall libs.
So in your case you need to check the above mentioned "also reload Script Libraries" option.

c) The ADVERTLIB_REFRESH always reloads the entire advert lib.

d) The MAIN_RESCAN_LIBRARY command manually rescans the media and cartwall libs.

So there is currently no direct command to force a reload of the script libs (see answer b).
I might add one in the next release. In the meantime use the option as mentioned in b).
User avatar
hdradio
Posts: 625
Joined: 10 Apr 2012 17:36
Location: Crete, Hellas
Re: Doing the production work remotely

Post by hdradio »

"also reload Script Libraries" was already checked but unfortunately the "Additional Script Libraries" did not rescanned/reloaded (updated to the latest version of "ProppFrexx ONAIR.scriptlibs")
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Doing the production work remotely

Post by radio42 »

That's strange - I need to check that here...
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Doing the production work remotely

Post by radio42 »

Please try the following:

Code: Select all

EXEC_SEND_TCP ONAIR2:8052|AUTHORIZATION 12345${CRLF}${CRLF}MAIN_RELOAD_LIBRARY ${CRLF}${CRLF}MAIN_RESCAN_LIBRARY ${CRLF}${CRLF}SCHEDULER_REFRESH ${CRLF}${CRLF}ADVERTLIB_REFRESH ${CRLF}${CRLF}
Note the space after each command and the first ${CRLF}! This is actually needed for parameter less commands.
User avatar
radio42
Site Admin
Posts: 8926
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Doing the production work remotely

Post by radio42 »

The new v3.0.13.24 now also contains a dedicated "MAIN_RELOAD_SCRIPTLIBRARY" control-command.

Post Reply