Python - Import file sequence into MediaPool (.dng)
Hi All,
is there a way to import a file sequence (BMCC .dng) via python into a specific folder in the media pool?
I tried this via terminal:
import DaVinciResolveScript as dvr
resolve = dvr.scriptapp('Resolve')
pm = resolve.GetProjectManager()
proj = pm.GetCurrentProject()
tl = proj.GetCurrentTimeline()
mp = proj.GetMediaPool()
ms = resolve.GetMediaStorage()
ms.AddItemsToMediaPool('/Volumes/RAID/DATA/MEDIA/TWO_CHAIRS/DAY02/FW_A01_2020-12-08_2051_C0000/FW_A01_2020-12-08_2051_C0000_[000000-032898].dng')
... and that didn't work of course
DNG Folder File Structure is:
FW_A01_2020-12-01_2000_C0021_000000
FW_A01_2020-12-01_2000_C0021_000001
FW_A01_2020-12-01_2000_C0021_000002
FW_A01_2020-12-01_2000_C0021_000003
...etc.
Thank you so much!
Jens
_______________
macOS 10.13.2
DVR 15.3.1
python 3.6
is there a way to import a file sequence (BMCC .dng) via python into a specific folder in the media pool?
I tried this via terminal:
import DaVinciResolveScript as dvr
resolve = dvr.scriptapp('Resolve')
pm = resolve.GetProjectManager()
proj = pm.GetCurrentProject()
tl = proj.GetCurrentTimeline()
mp = proj.GetMediaPool()
ms = resolve.GetMediaStorage()
ms.AddItemsToMediaPool('/Volumes/RAID/DATA/MEDIA/TWO_CHAIRS/DAY02/FW_A01_2020-12-08_2051_C0000/FW_A01_2020-12-08_2051_C0000_[000000-032898].dng')
... and that didn't work of course
DNG Folder File Structure is:
FW_A01_2020-12-01_2000_C0021_000000
FW_A01_2020-12-01_2000_C0021_000001
FW_A01_2020-12-01_2000_C0021_000002
FW_A01_2020-12-01_2000_C0021_000003
...etc.
Thank you so much!
Jens
_______________
macOS 10.13.2
DVR 15.3.1
python 3.6