Skip to main content

DRRemote is a python modul which offers access to Davinci Resolve Studio.

Project description

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 (not more, not less due to Davinci Resolve restrictions)
  • Davinci Resolve Studio (license is needed for Davinci Resolve's Python API).

Installation

  1. Python
    You need to install version 3.6.x.
  2. PIP
  3. DRRemote
    • pip install drremote
  4. 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

You must execute DRRemote in a command prompt (Windows) or terminal (macOS).
Remarks for Windows:
After you installed drremote with PIP, an executable is created as well:

%APPDATA%\Programs\Python\Python36\Scripts\drremote.exe.

To execute drremote.exe you must use the full path or extend your PATH variable.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drremote-0.1.0.5.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

drremote-0.1.0.5-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file drremote-0.1.0.5.tar.gz.

File metadata

  • Download URL: drremote-0.1.0.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for drremote-0.1.0.5.tar.gz
Algorithm Hash digest
SHA256 e391f5f788b503357042d7617cc59ac9b43349a488387ad28efbeb8d8e37a7ad
MD5 1065b51007adcce9d343b98cc60645e8
BLAKE2b-256 a3072741a75490aa65ee3c99f8079b2531233cd6cb722b625d2719a2120f94c1

See more details on using hashes here.

File details

Details for the file drremote-0.1.0.5-py3-none-any.whl.

File metadata

  • Download URL: drremote-0.1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for drremote-0.1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 65178c1fcd8463b3015266cdbf74bd4b5a0526aca9ed6157d8e2a5fe7a8bbd26
MD5 88d7dd983e20364525d3794832336ce3
BLAKE2b-256 6aa889a248c431988d3dae46fb8557f904e31034aab0b67a09af582647b1c64b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page