Results 1 to 13 of 13

Thread: Create Events via http post

  1. #1
    Registered User
    Join Date
    Sep 2016
    Location
    Germany
    Posts
    7

    Create Events via http post

    Hi,

    I created a feature request via e-Mail at Area51 Tech Support.

    I requested a possibility to create named events vie URL. I figured out that it is possible to create an Event by executing an URL like this: http://3play-XXXXXXXX/v1/shortcut?name=mark-out
    This is a very helpful solution!

    My Request is to add the posibility to create named events via URL like this http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=<NAME_OF_EVENT>
    This would give us a powerful solution to create automatic events for Basketball games triggerd by an action scout.

    I just wanted to add this request here in the Forum as well.

    Thanks and best regards from Germany!

  2. #2
    You can't name them in a single command, but there are other commands to add name to the clips. I'm not in front of a 3PLAY right night to find out what they are, but if I recall you can make a macro of manually entering a name on a clip to get the commands that would be needed to do this via web control.
    Kane Peterson
    Solutions Architect
    NewTek, Inc.

  3. #3
    'the write stuff' SBowie's Avatar
    Join Date
    Feb 2003
    Location
    The stars at night are big and bright
    Posts
    19,396
    You can do this now, I think, by resorting to a different shortcut. The attached image shows a macro I recorded. When executed, it sets the memo field for the second clip in the currently selected Clip List to the value "MyTag". (By the way, the full syntax for this and other 3Play shortcuts can be found in the Automation and Integration Guide.)

    Click image for larger version. 

Name:	3P_setprop.png 
Views:	227 
Size:	20.8 KB 
ID:	134524
    --
    Regards, Steve
    Forum Moderator
    ("You've got to ask yourself one question ... 'Do I feel lucky?' Well, do ya, spammer?")

  4. #4
    Registered User
    Join Date
    Sep 2016
    Location
    Germany
    Posts
    7
    mhhh... Maybe my description was not not detiled enough.
    I plan to create events from a external interface by executing the url with parameters.

    No human is sitting in front of the 3play at this moment. There is a live scouting during the game and on every game event like "assist", "3point", "rebound" ... there is a trigger on a flat file wich triggers the interface.

    So my target ist to have events at real time the command is triggerd like:
    http://3play-XXXXXXXX/v1/shortcut?na...=START-OF-GAME
    http://3play-XXXXXXXX/v1/shortcut?na...:JUMP-BALL-WON
    http://3play-XXXXXXXX/v1/shortcut?na...E::3POINT-MADE
    http://3play-XXXXXXXX/v1/shortcut?na...:2POINT-FAILED
    http://3play-XXXXXXXX/v1/shortcut?na...ENSIVE-REBOUND
    http://3play-XXXXXXXX/v1/shortcut?na...LD-BY-PLAYER10
    http://3play-XXXXXXXX/v1/shortcut?na...FREETHROW-MADE
    http://3play-XXXXXXXX/v1/shortcut?na...EETHROW-FAILED
    http://3play-XXXXXXXX/v1/shortcut?na...ENSIVE-REBOUND
    ... and so on...

    My interface could also execute more then one URL in a row, thats not the problem. But the online support told me itīs not possible to create "named events" through http-post.
    I would be very happy if somebody has an idea how it could work.

    thanks

  5. #5
    'the write stuff' SBowie's Avatar
    Join Date
    Feb 2003
    Location
    The stars at night are big and bright
    Posts
    19,396
    I may be missing your point, but you can execute most any supported shortcut (including the one I illustrated) using http. (This is basically how the 440 'surface' works).
    --
    Regards, Steve
    Forum Moderator
    ("You've got to ask yourself one question ... 'Do I feel lucky?' Well, do ya, spammer?")

  6. #6
    You would use your first HTTP GET command to mark an event. Then send another HTTP GET command to set the tag information.

    Here is an example to the picture that Steve posted above.

    http://3play-xxxx/v1/shortcut?name=set_item_prop&type=cliplist&prop=Ali ases[1]&value=MyTag

    Replace 'MyTag' with information you want to tag the clip with.

    (I'm not sure why a space is appearing in the word 'Aliases' above, there should be no space there)
    Last edited by kanep; 09-21-2016 at 07:33 PM.
    Kane Peterson
    Solutions Architect
    NewTek, Inc.

  7. #7
    Registered User
    Join Date
    Sep 2016
    Location
    Germany
    Posts
    7
    Thank you very much for this explaination! This is exactly what Iīm looking for.
    I will test this.

  8. #8
    Great, let us know how it works out. I'm excited to see people building stuff using web control!
    Kane Peterson
    Solutions Architect
    NewTek, Inc.

  9. #9
    Registered User
    Join Date
    Sep 2016
    Location
    Germany
    Posts
    7
    Wohoo! I got it!

    The URL is: http://3play-5e83c71c/v1/shortcut?na...t&prop=Aliases[0]&value=<<MY-TAG>>

    I tried a bit with macros and all the stuff and found some nice features in the automation guide. Thanks a lot for your help!

    I will go on with developing a small interface between action scout from the basketball live scouting.

  10. #10
    Registered User
    Join Date
    Dec 2007
    Location
    Germany
    Posts
    173
    just to confirm: As stated in the "Automation & Integration Guide" - http communication is available still only for the mini version of 3Play?
    For TriCaster Advanced Edition and 3Play Mini (only), TCP/IP communication is augmented by HTTP methods that are easily accessed by advanced end users.
    If yes, any chance that as well 3Play 440 and 4800 will be updated in future?

  11. #11
    Quote Originally Posted by matthias-web View Post
    just to confirm: As stated in the "Automation & Integration Guide" - http communication is available still only for the mini version of 3Play?


    If yes, any chance that as well 3Play 440 and 4800 will be updated in future?
    You can do it on a 440/4800, just need to direct your HTTP commands to port 5952 (it will not respond on port 80). For example:

    http://3play-xd:5952/v1/shotcut?name=mark-out

    Also, HTTP support on 440/4800 isn't as extensive as you will find on the Mini, but you can still send it commands or trigger macros via HTTP.
    Kane Peterson
    Solutions Architect
    NewTek, Inc.

  12. #12
    Registered User
    Join Date
    Dec 2015
    Location
    Green Bay, WI
    Posts
    18
    Is there any documentation anywhere on how you can set this up on a 4800?

  13. #13
    I think there is information if you sign up for the SDK. I also teach a class in San Antonio on how to do the HTTP commands.

    I can try to answer questions, but the first question is are you familiar with REST API?
    Kane Peterson
    Solutions Architect
    NewTek, Inc.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •