Deactivationg overlays from extern

You are missing a feature or need an enhancement? Post your suggestion here!
Post Reply
User avatar
Andreas Duswald
Posts: 59
Joined: 09 Apr 2012 09:43
Location: Landsberg
Contact:
Deactivationg overlays from extern

Post by Andreas Duswald »

Have not found it anymore in the saveaty copy of the old Forum, but i have developed a Trafficlight for the Moderation streaming in from outside with the Modstream Player:

http://radio-lechtal.de/ampel

Somehow the Pf is not placing the correct http gets there, but this is another theme. I will search for the Forum entry or post the script newly in here soon for thouse intrested

Now i want to ask/whish something different.

Is it possible, that a moderator from outside can cancle overlays if he sees it comming.

Does PF accept commands from the internet via a special port?`- We have a fix ip

Thanks
Everything is possible ....
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Deactivationg overlays from extern

Post by radio42 »

Yes, you might use the "OVERLAY_DOCANCEL" control-command for that.
From a 'Web-Site' (e.g. using PHP) you might send such control-command via a standard TCP/IP connectionto ProppFrexx (assuming you have enabled under GPIO the 'Remote TCP Server').
Some more info about that can be found here:
viewtopic.php?f=9&t=12
User avatar
Andreas Duswald
Posts: 59
Joined: 09 Apr 2012 09:43
Location: Landsberg
Contact:
Re: Deactivationg overlays from extern

Post by Andreas Duswald »

I understand - Thats cool, bot how do i now send this commands with php , could not find how to send tcp commands to my PF server
Everything is possible ....
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Deactivationg overlays from extern

Post by radio42 »

I am not really en expert in web programming nor in PHP.
But something like this should do the job:
http://php.net/manual/en/function.fsockopen.php
http://www.php.net/manual/en/function.s ... onnect.php
http://www.php.net/manual/en/function.socket-write.php

Note: TCP/IP is plain socket communication.
Use your ProppFrexx ONAIR machine IP or DNS name as the 'host' and specify as the 'Port' number the one as defined in the GPIO 'TCP Server' settings of ProppFrexx ONAIR.
User avatar
Andreas Duswald
Posts: 59
Joined: 09 Apr 2012 09:43
Location: Landsberg
Contact:
Re: Deactivationg overlays from extern

Post by Andreas Duswald »

Mhhh ich frag mich gerade, ob es nicht für das Projekt sinnvoll wäre, wenn Du ein extra externes windows Tool schreibst, mit dem man diese Steuerungen machen kann.

Das stell ich mir so vor, dass es ähnlich wie meine Ampel aussieht und dem externen Moderastor Zeigt welchen status der ModStream Watcher hat, und wleche Layouts gerade hochkommen oder laufen, und das er sieht was als nächstes so kommt in der playliste und im sheduler, und der Mod dann, je nach Rechten die im Overlay festgelegt sind, die Möglichkeit hat ein Overlay zu delayen oder zu canceln.

Das würde auch bei einer Schwachen Leitung nicht notwendig machen, dass er so eine Ampel-Webseite ständig reloaden lassen mus.

Liebe Grüße: Andy
Everything is possible ....
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Deactivationg overlays from extern

Post by radio42 »

An external tool might be an option.
I'll put that on the WishList...but I guess there are other items with a higher priority comming first, since it's just a nice add-on ;-)
User avatar
Andreas Duswald
Posts: 59
Joined: 09 Apr 2012 09:43
Location: Landsberg
Contact:
Re: Deactivationg overlays from extern

Post by Andreas Duswald »

:D :-) - YEAAA f.Ex the News Redaktion :P :-) - But its good to have it on the List as it makes external Live shows from outside much easier than it is now

Thanks for considering
Everything is possible ....

Post Reply