Skip to content

Commit

Permalink
Merge pull request #34 from StephenMachete/master
Browse files Browse the repository at this point in the history
Bug fix get_memory_locations
  • Loading branch information
iluvcapra authored May 5, 2024
2 parents 71c25f7 + 5ea5f2f commit 8a3b1e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion ptsl/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion ptsl/ops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8a3b1e0

Please sign in to comment.