|
Avid Pro Audio CommunityHow to Join & Post • Community Terms of Use • Help Us Help YouKnowledge Base Search • Community Search • Learn & Support |
|
|
Thread Tools | Search this Thread | Display Modes |
#11
|
|||
|
|||
Re: "Invalid signature" response when authorising connection from C++ SDK
Can confirm, that's working for me on macOS 10.15 now. Seems that each command and the subsequent params must be on a single line, with every command separated by a newline character. So I'm getting output like:
andrewmoore@Andrews-MBP Release % ./ptslcmd -file ~/Desktop/command.txt AuthorizeConnection Response: is authorized: 1 message: Success GetPTSLVersion Response: PTSL Host version: 1 GetSessionPath Response: session path: Macintosh HD:Users:andrewmooreocuments:PTSL_ImportTest:PTS L_ImportTest.ptx session path is online: No GetSessionName Response: session name: PTSL_ImportTest [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from Client [ RUN ] Client.Result [ OK ] Client.Result (0 ms) [----------] 1 test from Client (0 ms total) [----------] Global test environment tear-down [==========] 1 test from 1 test suite ran. (0 ms total) [ PASSED ] 1 test. Aside from how impractical it is to write your commands to a file on disk in order to be able to do anything, the results are pretty unusable anyway, so I don't quite understand what the expectation is here when it comes to actually doing anything meaningful with it. |
#12
|
|||
|
|||
Re: "Invalid signature" response when authorising connection from C++ SDK
Wow. Good sleuthing! Would be good to have the docs improved for sure!
|
#13
|
|||
|
|||
Re: "Invalid signature" response when authorising connection from C++ SDK
Ummm. Is the session path returning in OS 9 format?!? Sheesh! I haven’t seen a : in a path for 16 years!
|
#14
|
|||
|
|||
Re: "Invalid signature" response when authorising connection from C++ SDK
Ha! Why were you using OS 9 that late
__________________
~Will |
#15
|
||||
|
||||
Re: "Invalid signature" response when authorising connection from C++ SDK
Hi all - to clarify, ptslcmd is an example application only. Its command line interface is intended as a way to test out interactions with Pro Tools via the scripting APIs, not as a production application.
__________________
Rob Majors Avid Software Engineering |
#16
|
|||
|
|||
Re: "Invalid signature" response when authorising connection from C++ SDK
Should it not then, both in the docs and the built in help specify to use a -file to issue test commands, and forgo the other "usage".
Sorry for sounding harsh, but this wasn't put out as a developer preview, and yet I feel that's what we're all wasting time doing... |
#17
|
||||
|
||||
Re: "Invalid signature" response when authorising connection from C++ SDK
If you wish to build an application that interacts with Pro Tools then you can use ptslcmd as an example of how to implement your own application to interact with the PTSL SDK.
We will definitely clarify the usage and purpose of the ptslcmd application in the next revision. Thanks for pointing this out.
__________________
Rob Majors Avid Software Engineering |
#18
|
|||
|
|||
Re: "Invalid signature" response when authorising connection from C++ SDK
Quote:
But seriously I'm following along here as I think this is a very nice move by Avid. (and it was me who shot off his mouth recently about Avid not being open/having open APIs... this is a nice kind of "open" and especially with support from Avid to developers to get things kick started). |
#19
|
||||
|
||||
Re: "Invalid signature" response when authorising connection from C++ SDK
Starting with the Pro Tools Scripting SDK 2023.3, PTSL now uses POSIX style file paths on macOS.
__________________
Rob Majors Avid Software Engineering |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PT12: Ilok2 "result frame is in invalid size" | Ryan.Smiley | Pro Tools 12 | 4 | 03-19-2017 10:08 AM |
Has "Some regions had invalid bounds and were adjusted or deleted" been fixed? | meech | Pro Tools TDM Systems (Mac) | 22 | 06-21-2014 12:47 AM |
FS: Waves "Maserati Signature" and "CLA Classic Compressors" | lowlights | Buy & Sell | 2 | 08-12-2013 09:36 AM |
OK... MDW EQ RTAS v3 not authorising... it's officially an "issue" on this end! | whitecat | Pro Tools 9 | 5 | 11-06-2010 04:26 AM |
Digidesign engineering's response to the HD "bass-lite" criticism is .... | ngisedigid | Pro Tools TDM Systems (Mac) | 58 | 04-28-2002 10:01 PM |