Hi.
I found that at least 2 commands do not work in the
MediaStorage module:
1.
GetSubFolderList(folderPath)2.
GetFileList(folderPath)None of these commands returned the existing contents of the specified directories.
The code in the screenshot:
- Code: Select all
Py2>
root = os.path.abspath('\\omega\catsdogs\3_post\ep039\sh0206\out')
mediaStorage = resolve.GetMediaStorage()
subFolders = mediaStorage.GetSubFolderList(root)
print subFolders
[]
Py2>
folderPath = os.path.abspath('\\omega\catsdogs\3_post\ep039\sh0206\out\v002')
fileList = mediaStorage.GetFileList(folderPath)
print fileList
[]
P.S. it's too bad that the font size cannot be changed in the Сonsole.
I have identified the cause of the dysfunction of this commands. It
don't understand network paths. The commands work fine on local paths only. This is very sad and strange given the specifics of the industry.