Skip to main content

DRRemote

DRRemote is a python modul which offers access to Davinci Resolve Studio. At the time the functionality is very basic. DRRemote is used in conjunction with LRDavinci. LRDavinci is a Lightroom plug-in for Davinci Resolve Studio

Features

  • Changes the current timeline
  • Retrieves the attributes for the current timeline
    • name, type and ipaddress of database
    • name of project
    • name of timeline

Requirements

  • Python >= 3.6
  • Davinci Resolve Studio (license is needed for Davinci Resolve's Python API).

Installation

  1. Python
    You need to install version >= 3.6
  2. Install/update PIP
  3. DRRemote
    • pip install drremote
  4. Set the Davinci Resolve scripting environment. See readme file:
    macOS
    /Library/Application Support/Blackmagic Design/DaVinci Resolve/Developer/Scripting/README.txt
    Windows
    %PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting\README.txt

Usage

DRRemote must be executed in a command prompt (Windows) or terminal (macOS) window. You can do so by calling the drremote executable/script. To execute drremote you must use the full path or extend your PATH variable.

  • Windows:
%APPDATA%\Programs\Python\Python36\Scripts\drremote.exe
  • macOS
/Library/Frameworks/Python.framework/Versions/3.6/bin/drremote

A simple example:

  • Start Davinci Resolve Studio, open a project and select a timeline
  • Open a Command Prompt/Terminal and type:
drremote -m gettimeline -o out.txt

If successful you find the gathered information in file out.txt in your current directory:

Success
project=Snippets
timeline=2021-12-10-First Snow
database=2021:Disk

If you get an error, you may find some more information in the log logfile:

  • MacOS
    • $TMPDIR/drremote.log
  • Windows
    • %TEMP%/drremote.log

For the commandline arguments see drremote --help:

usage: drremote [-h] -m {settimeline,gettimeline} [-p PROJECT [PROJECT ...]]
                [-t TIMELINE [TIMELINE ...]] [-d DATABASE [DATABASE ...]] -o
                OUTPUT_PATH [OUTPUT_PATH ...] [-w WAIT]

optional arguments:
  -h, --help            show this help message and exit
  -m {settimeline,gettimeline}, --mode {settimeline,gettimeline}
                        The operating mode.
  -p PROJECT [PROJECT ...], --project PROJECT [PROJECT ...]
                        The name of a project
  -t TIMELINE [TIMELINE ...], --timeline TIMELINE [TIMELINE ...]
                        The name of a timeline
  -d DATABASE [DATABASE ...], --database DATABASE [DATABASE ...]
                        The database. The format is: DbName:DbType for disk
                        driven databases and DbName:DbType:IpAddress for
                        PostgreSQL databases
  -o OUTPUT_PATH [OUTPUT_PATH ...], --output-path OUTPUT_PATH [OUTPUT_PATH ...]
                        The name and path of the output file. This file holds
                        the result like timeline attributes or error messages.
  -w WAIT, --wait WAIT  Amounts of seconds to wait between the first and
                        second connection attempt

###Examples

Set the current timeline in Davinci resolve

drremote -m settimeline -t "2021-12-10-First Snow" -p Snippets -d 2021:disk -o out.txt

Get the current timeline IDs

drremote -m gettimeline -o out.txt

The result is written into out.txt:

Success
project=Snippets
timeline=2021-12-10-First Snow
database=2021:Disk

Release files for drremote 0.1.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for drremote 0.1.0.6
File Size Uploaded
drremote-0.1.0.6.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for drremote 0.1.0.6
File Interpreter ABI Platform
drremote-0.1.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 16.0 kB

Release files / drremote-0.1.0.6.tar.gz

Download URL drremote-0.1.0.6.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1bf28d7403670cb6d32c2fae3ea94606f4aaf23248d483e2472ad8296af2f8b8
BLAKE2b-256 checksum
How to use checksums
ac28b1316378ae08be8a5419a6685eb9de8f1243ac5b423bfd23c448dc2f2206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / drremote-0.1.0.6-py3-none-any.whl

Download URL drremote-0.1.0.6-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
54bfb5d9987226e9658453eff7db48006dfef6d6a0cf2bc80b0ab49245384a3f
BLAKE2b-256 checksum
How to use checksums
bb827ee1632e0ed58c388dda251f416c34edc1f86e0d6f1c2f5f78e2a850dd8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.1.0.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page