main
anastasia Premiere Pro Bridge 0.1.0: Rust bridge, UXP plugin, CEP helper, skills, macOS manifest 32fb583 10d ago
#!/usr/bin/env bash
# Dev helper: compact dump of the active sequence's tracks/clips.
"$(dirname "$0")/pb.sh" premiere_get_sequence '{"detail":false}' | python3 -c '
import json,sys; d=json.load(sys.stdin)
if not d.get("success"): print(d.get("error")); sys.exit()
print(d["name"], d["width"],"x",d["height"], d["fps"],"fps dur", d["duration"]["seconds"])
for t in d["videoTracks"]+d["audioTracks"]:
    if t["clips"]: print(" ",t["track"], [(c["ref"],c["name"][:14],c["start"]["seconds"],c["end"]["seconds"],"in",c["inPoint"]) for c in t["clips"]])'