MediaStorage
MediaStorage
GetMountedVolumeList()
返回值:[paths...]
Returns list of folder paths corresponding to mounted volumes displayed in Resolve’s Media Storage.
注意
旧版本 GetMountedVolumes()
已弃用
GetSubFolderList(folderPath)
返回值:[paths...]
Returns list of folder paths in the given absolute folder path.
注意
旧版本 GetSubFolders(folderPath)
已弃用
GetFileList(folderPath)
返回值:[paths...]
Returns list of media and file listings in the given absolute folder path. Note that media listings may be logically consolidated entries.
注意
旧版本 GetFiles(folderPath)
已弃用
RevealInStorage(path)
返回值:None
Expands and displays a given file/folder path in Resolve’s Media Storage.
AddItemListToMediaPool(item1, item2, ...)
返回值:[clips...]
Adds specified file/folder paths from Media Store into current Media Pool folder. Input is one or more file/folder paths.
Returns a list of the MediaPoolItems
created.
注意
旧版本 AddItemsToMediaPool(item1, item2, ...)
已弃用
AddItemListToMediaPool([items...])
返回值:[clips...]
Adds specified file/folder paths from Media Store into current Media Pool folder. Input is an array of file/folder paths.
Returns a list of the MediaPoolItems
created.
注意
旧版本 AddItemsToMediaPool([items...])
已弃用
AddClipMattesToMediaPool(MediaPoolItem, [paths], stereoEye)
返回值: Bool
Adds specified media files as mattes for the specified MediaPoolItem
.
StereoEye
is an optional argument for specifying which eye to add the matte to for stereo clips ("left" or "right").
Returns True if successful.
AddTimelineMattesToMediaPool([paths])
返回值: [MediaPoolItems]
Adds specified media files as timeline mattes in current media pool folder.
Returns a list of created MediaPoolItems
.