Syncs the DaVinci Resolve timeline with Kitsu production tracking (Python). Part of the beneath pipeline.
- Python 97.1%
- Batchfile 2.9%
| config | ||
| daVinciFiles | ||
| DaVinciPipe | ||
| launcher | ||
| scripts | ||
| ui | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
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
- Install dependencies somewhere Resolve's Python can see them:
pip install --target <vendor-folder> -r requirements.txt - 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.
- Copy
daVinciFiles/launch.pyinto%APPDATA%\Blackmagic Design\DaVinci Resolve\Support\Fusion\Scripts\Utility\— it then appears in Resolve under Workspace → Scripts. - 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, seescripts/fixPipelinePaths.py). DavinciHandle.updateTimeline()only considers clips whose file path starts with the studio's project root (N:\00_tik\beneath\— adjust this filter inDaVinciPipe/DavinciHandle.pyfor your own project).- The ShotGrid interface is an empty stub — only Kitsu is implemented.