Setup import option using Python

Hi,

I would like to set the No Cache and Sequence option (vs frame) to the mediahub before to load a clip using python.
I try to understand how to setup it using

class PyMediaHubFilesTabOptions( )

It seems to have all the feature I want, but I can’t manage to make it works.

Is it possible ? Can somebody share an exemple ?

Thans

Franck

I’m pretty sure that you just set those options and then check your preference files.

Then you can just copy that pref to every user.

Or there may be an ENV VAR?

Let me check:

It’s got to be something to do with:

BUTTON : [Frames] MediaImportSequenceMode(ON)
BUTTON : [Cache] MediaImportStoreLocalCopy(ON)

BUTTON : [File Sequence] MediaImportSequenceMode(ON)
BUTTON : [Cache] MediaImportStoreLocalCopy(OFF)

Can you extract those attributes with your python script?

Salut Phil.

I want to change these options via python on the fly.
I need to import multiple open clips. I don’t want to cache them and I need to be sure the user didn’t turn on the frame option.
I need to set back the button as it was after the import.
All of that in python

Thx

F