Avid Pro Audio Community

Avid Pro Audio Community

How to Join & Post  •  Community Terms of Use  •  Help Us Help You

Knowledge Base Search  •  Community Search  •  Learn & Support


Avid Home Page

Go Back   Avid Pro Audio Community > Search Forums
Register FAQ Today's Posts Search

Showing results 1 to 25 of 54
Search took 0.01 seconds.
Search: Posts Made By: JamieHardt
Forum: Pro Tools Scripting SDK Toolkit 03-18-2024, 12:45 PM
Replies: 9
Views: 701
Posted By JamieHardt
Re: CreateMemoryLocation and track name

The problem is the SwiftProtobuf JSON encoder doesn't include keys in the model object that are set to values like "0" or "false" or "", so if you set a field like `zoomSettings` to "false" it simply...
Forum: Pro Tools Scripting SDK Toolkit 02-28-2024, 09:41 AM
Replies: 9
Views: 701
Posted By JamieHardt
Re: CreateMemoryLocation and track name

This was resolved, the problem was the implementation of SwiftProtobuf I was using.
Forum: Pro Tools Scripting SDK Toolkit 01-18-2024, 01:34 PM
Replies: 9
Views: 701
Posted By JamieHardt
Re: CreateMemoryLocation and track name

My fix doesn't actually seem to have fixed the problem, Pro Tools just creates an erroneous marker instead of not making one at all. Can you tell me what field is missing? It looks like I have every...
Forum: Pro Tools Scripting SDK Toolkit 01-17-2024, 12:38 PM
Replies: 4
Views: 605
Posted By JamieHardt
Re: Potential CreateMemoryLocation bug

Hi Artem-


let r1 = try Self.buildRequest(command: .createMemoryLocation,
taskId: "",
sessionId:...
Forum: Pro Tools Scripting SDK Toolkit 01-09-2024, 08:50 PM
Replies: 9
Views: 701
Posted By JamieHardt
Re: CreateMemoryLocation and track name

I fixed this by just replacing this line:

$0.generalProperties = Ptsl_MemoryLocationProperties.with {

With this...

$0.generalProperties = Ptsl_MemoryLocationProperties()

This suits me...
Forum: Pro Tools Scripting SDK Toolkit 01-08-2024, 05:03 PM
Replies: 4
Views: 605
Posted By JamieHardt
Re: Potential CreateMemoryLocation bug

I'm noticing this problem as well.

EDIT: Tried it both with timecodes and sample counts from session start.
Forum: Pro Tools Scripting SDK Toolkit 01-08-2024, 04:37 PM
Replies: 9
Views: 701
Posted By JamieHardt
Re: CreateMemoryLocation and track name

One oddity though, when I click on the memory location and call up the dialog box it says in Marker Properties that it's a track marker, and the field says the track I told it to be on, it's just the...
Forum: Pro Tools Scripting SDK Toolkit 01-08-2024, 04:34 PM
Replies: 9
Views: 701
Posted By JamieHardt
CreateMemoryLocation and track name

I'm having trouble creating a memory location on a track, if I fill out a CreateMemoryLocationRequestBody and enter a track name, it creates the marker, but puts it on the Marker track and returns a...
Forum: Pro Tools Scripting SDK Toolkit 11-24-2023, 09:17 PM
Replies: 3
Views: 727
Posted By JamieHardt
Re: Py-Ptsl Python PTSL Package 'Pository Posted Publicy

Look at the build_proto.sh (https://github.com/iluvcapra/py-ptsl/blob/master/build_proto.sh) script, you just need the .proto file for 2023.9 and it will update the PTSL_pb2*.py files, that stub out...
Forum: Pro Tools Scripting SDK Toolkit 10-31-2023, 10:42 AM
Replies: 6
Views: 1,914
Posted By JamieHardt
Re: Commands wishlist for video games workflow.

It can be done now mostly, though something I've been needing is more documentation of the video bounce options.
Forum: Pro Tools Scripting SDK Toolkit 10-31-2023, 10:40 AM
Replies: 4
Views: 561
Posted By JamieHardt
Re: Create a custom menu item with the SDK / API (or other suggestions ?)

I've definitely hankered for something like this here and there, what I've done is add a menu item to Keyboard Maestro, that seems to be the best solution for now.

The scripting interface right...
Forum: Pro Tools Scripting SDK Toolkit 09-09-2023, 11:42 PM
Replies: 5
Views: 531
Posted By JamieHardt
Re: ExportClipsAsFiles filepath string format

On a Mac this should be an absolute path with slashes, assuming you’re working with a 2023 Pro Tools (the first PTSL release wanted colon-delimited paths).

So like it would be something like...
Forum: Pro Tools Scripting SDK Toolkit 09-09-2023, 11:39 PM
Replies: 2
Views: 464
Posted By JamieHardt
Re: Request for Script

I don’t think you can rewind and fast-forward right now, you can get the current play location and then command a stop, locate the selection, and then play, but that isn’t exactly the same thing or...
Forum: Pro Tools Scripting SDK Toolkit 08-12-2023, 10:34 AM
Replies: 1
Views: 613
Posted By JamieHardt
Enhanced Marker Support

Hey y'all,

I hope the advanced marker features, like for example a marker's track placement, will be exposed to PTSL in an upcoming version. I'm sure it's in process just wanted to make sure...
Forum: Pro Tools Scripting SDK Toolkit 07-27-2023, 01:46 PM
Replies: 9
Views: 1,073
Posted By JamieHardt
Re: Sending commands causes app to lose focus

Yeah you’d need a belt and suspenders approach, get some information via PTSL and other information with a virtual MMC slave, a bit like how Kraken appears to work.
Forum: Pro Tools Scripting SDK Toolkit 07-27-2023, 10:41 AM
Replies: 9
Views: 1,073
Posted By JamieHardt
Re: Sending commands causes app to lose focus

For this particular case could you just monitor record arm state with MMC?
Forum: Pro Tools Scripting SDK Toolkit 07-24-2023, 08:05 AM
Replies: 9
Views: 1,073
Posted By JamieHardt
Re: Sending commands causes app to lose focus

In the ClientConfig did you try setting the skipHostLaunch argument to true?
Forum: Pro Tools Scripting SDK Toolkit 06-30-2023, 10:59 AM
Replies: 0
Views: 392
Posted By JamieHardt
Feature Request: Access To Session Info, Persist State

Firstly, it would be desirable if there were PTSL commands that would allow getting and perhaps setting of the Session Info fields in the File menu. These don't seem to have any current purpose and...
Forum: Pro Tools Scripting SDK Toolkit 06-24-2023, 05:06 PM
Replies: 1
Views: 380
Posted By JamieHardt
Request: Rename TrackAttributeState member "None"

Hey so the TrackAttributeState enumeration has the following values:

enum TrackAttributeState
{
None = 0;
SetExplicitly = 1;
SetImplicitly = 2;
SetExplicitlyAndImplicitly = 3;
}
Forum: Pro Tools Scripting SDK Toolkit 06-17-2023, 06:22 PM
Replies: 3
Views: 727
Posted By JamieHardt
Py-Ptsl Python PTSL Package 'Pository Posted Publicy

Hi anyone!

I've gone through my py-ptsl project and scrubbed all Avid vendor files from the history so I think it's okay to post it to a public repo, you can access it here:
...
Forum: Pro Tools Scripting SDK Toolkit 06-17-2023, 09:47 AM
Replies: 6
Views: 1,680
Posted By JamieHardt
Re: How to use SDK with Pro Tools Intro

I went through the repository today and deleted all of the files from Avid that I'm not allowed to distribute, so now I can make it public.

https://github.com/iluvcapra/py-ptsl

You can see my...
Forum: Pro Tools Scripting SDK Toolkit 06-02-2023, 06:55 PM
Replies: 6
Views: 1,680
Posted By JamieHardt
Re: How to use SDK with Pro Tools Intro

Butters if it'd help I'm happy to give you access to my py-ptsl repository on GitHub, it's a clean reimplementation of the PTSL client in Python so if you can read that it'll give you an idea how...
Forum: Pro Tools Scripting SDK Toolkit 05-11-2023, 11:03 AM
Replies: 3
Views: 535
Posted By JamieHardt
Re: Python gRPC client registration issue

Like, just hypothetically, you might write it like this:



import grpc
from google.protobuf import json_format

request_body_json = \
...
Forum: Pro Tools Scripting SDK Toolkit 05-11-2023, 11:00 AM
Replies: 3
Views: 535
Posted By JamieHardt
Re: Python gRPC client registration issue

In order to send a command to Pro Tools, you have to pass SendGrpcRequest the parameters it’s expecting, which means sending it a Request, with a filled-out RequestHeader and then, if the command is...
Forum: Pro Tools Scripting SDK Toolkit 05-10-2023, 06:19 PM
Replies: 4
Views: 778
Posted By JamieHardt
Re: python - how to check if PTSL is available?

Good to hear! If you have questions about the py-ptsl library specifically definitely use the issue tracker there.
Showing results 1 to 25 of 54

 
Forum Jump

All times are GMT -7. The time now is 11:49 AM.


Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited. Forum Hosted By: URLJet.com