Baselight
1import FilmLightAPI
2
3# Connect to the current scene
4scene = FilmLightAPI.Scene()
5
6# Access timeline
7timeline = scene.timeline
8
9# Start processing shots
10for shot in timeline.shots:
11    grade_version = shot.gradeVersion
12    keywords = shot.keywords
13    flag = shot.flag
14    duration = shot.duration
15
16    # Filtering logic
17    if grade_version == "ungraded" and "review" in keywords and flag == "blue":
18        print(f"Shot: {shot.name}")
19        print(f"Duration: {duration} frames")
20        print("Status: Needs grading & marked for review\n")
21
22

Share link

Anyone who has the link will be able to view this.