Syncs the DaVinci Resolve timeline with Kitsu production tracking (Python). Part of the beneath pipeline.
  • Python 97.1%
  • Batchfile 2.9%
Find a file
2026-07-17 20:22:25 +02:00
config init 2026-07-17 20:22:25 +02:00
daVinciFiles init 2026-07-17 20:22:25 +02:00
DaVinciPipe init 2026-07-17 20:22:25 +02:00
launcher init 2026-07-17 20:22:25 +02:00
scripts init 2026-07-17 20:22:25 +02:00
ui init 2026-07-17 20:22:25 +02:00
.gitignore init 2026-07-17 20:22:25 +02:00
LICENSE init 2026-07-17 20:22:25 +02:00
README.md init 2026-07-17 20:22:25 +02:00
requirements.txt init 2026-07-17 20:22:25 +02:00

DaVinciPipe

Syncs the DaVinci Resolve timeline with Kitsu production tracking — built for the beneath student film pipeline.

From a panel inside Resolve you can:

  • Import shots from Kitsu — pulls every shot of the project (frame ranges + the newest published preview file) and assembles them into the timeline at the right record frames.
  • Update the timeline — walks the clips already in the timeline and swaps each one for the newest published version on disk, if there is one.
  • Push timeline data back to Kitsu — uploads start/end/duration per shot.

Login happens through a small Qt dialog (Kitsu email + password via gazu); the session token and chosen config path are cached per-user (via appdirs), so you stay logged in between Resolve sessions.

Structure

Path What it is
DaVinciPipe/main.py Entry point — builds the Qt UI inside Resolve.
DaVinciPipe/DavinciHandle.py All Resolve API access (timeline, media pool, import/update).
DaVinciPipe/PipelineInterfaces.py AbstractPipelineInterface + KitsuPipeline implementation (a ShotGrid stub exists as an extension point).
DaVinciPipe/storage/ Session-token + config-path caching in the user data dir.
ui/ Qt widgets (main panel, login dialog, stylesheet).
daVinciFiles/launch.py The bootstrap script you copy into Resolve's Scripts folder.
launcher/Resolve_Launcher.bat Starts Resolve with the scripting env vars set.
scripts/fixPipelinePaths.py One-off helper: writes the expected preview path into every Kitsu shot.
config/default.json Config template — fill in the placeholders.

Setup

  1. Install dependencies somewhere Resolve's Python can see them: pip install --target <vendor-folder> -r requirements.txt
  2. Fill in the placeholders (all marked X:\path\to\... / your-...):
    • config/default.json — Kitsu API URL, project name, vendor folder.
    • daVinciFiles/launch.py — vendor folder + where this repo is checked out.
    • launcher/Resolve_Launcher.bat — Resolve install path + vendor folder.
  3. Copy daVinciFiles/launch.py into %APPDATA%\Blackmagic Design\DaVinci Resolve\Support\Fusion\Scripts\Utility\ — it then appears in Resolve under Workspace → Scripts.
  4. Start Resolve (optionally via launcher/Resolve_Launcher.bat), run the script, sign in.

Assumptions / known limitations

  • Shot previews are found via a versioned file pattern (<camera>_<shot>_v###.<ext>) inside the per-shot publish folder that Kitsu knows about (data.absolutepath, see scripts/fixPipelinePaths.py).
  • DavinciHandle.updateTimeline() only considers clips whose file path starts with the studio's project root (N:\00_tik\beneath\ — adjust this filter in DaVinciPipe/DavinciHandle.py for your own project).
  • The ShotGrid interface is an empty stub — only Kitsu is implemented.