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

Deactivationg overlays from extern

Post by Andreas Duswald » 23 Jun 2012 09:34

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: 5728
Joined: 05 Apr 2012 16:26

Re: Deactivationg overlays from extern

Post by radio42 » 23 Jun 2012 22:10

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

Re: Deactivationg overlays from extern

Post by Andreas Duswald » 24 Jun 2012 12:42

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: 5728
Joined: 05 Apr 2012 16:26

Re: Deactivationg overlays from extern

Post by radio42 » 24 Jun 2012 12:59

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

Re: Deactivationg overlays from extern

Post by Andreas Duswald » 25 Jun 2012 09:28

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: 5728
Joined: 05 Apr 2012 16:26

Re: Deactivationg overlays from extern

Post by radio42 » 25 Jun 2012 13:08

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

Re: Deactivationg overlays from extern

Post by Andreas Duswald » 25 Jun 2012 14:03

: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

Who is online

Users browsing this forum: No registered users and 1 guest