Warning: Undefined array key "name_orig" in /home/clients/a70cbb4a74edf8105da5fd7e142fb9de/web/forum/includes/vb5/template/bbcode.php on line 1484 OSC messages to TCP commands over network. - OSCulator Forum

Announcement

Collapse
No announcement yet.

OSC messages to TCP commands over network.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • OSC messages to TCP commands over network.

    Is it possible to use OSC commands that come into Osculator to send out TCP command messages such as:

    Code:
    curl -s [URL]http://2.0.0.100/backend.php/?action=stop[/URL]
    I've a project with QLab that will send out OSC network cues, hopefully into Osculator and then out over the network to Raspberry Pi's.

    Thanks for the help.

  • #2
    Hi,

    OSCulator does not support HTTP requests directly, but you can execute curl through an AppleScript:

    Code:
    [B]do shell script[/B] "/usr/bin/curl -s http://2.0.0.100/backend.php/?action=stop"
    See attached file, and open the Parameters window, then the AppleScript tab.

    I would strongly limit the script execution time to avoid any catastrophic blocking with the --max-time option as used in the attached file (see man curl).

    Best,
    Cam
    Attached Files

    Comment

    Working...
    X