diff --git a/ptsl/engine.py b/ptsl/engine.py index 65fdcca..9f5f361 100644 --- a/ptsl/engine.py +++ b/ptsl/engine.py @@ -442,7 +442,9 @@ def get_memory_locations(self) -> List[pt.MemoryLocation]: """ Get a list of all memory locations in currently-open session. """ - op = ops.GetMemoryLocations() + op = ops.GetMemoryLocations( + pagination_request=pt.PaginationRequest(limit=1000, offset=0) + ) self.client.run(op) return op.response.memory_locations diff --git a/ptsl/ops/__init__.py b/ptsl/ops/__init__.py index ad3cca0..5fe1464 100644 --- a/ptsl/ops/__init__.py +++ b/ptsl/ops/__init__.py @@ -84,7 +84,8 @@ TogglePlayState, ToggleRecordEnable, \ PlayHalfSpeed, RecordHalfSpeed -from .memory_locations import EditMemoryLocation, GetMemoryLocations +from .memory_locations import EditMemoryLocation, \ + GetMemoryLocations, CreateMemoryLocation # Pro Tools 2023.9