--- OSA_system2/OSAS_helpers.py 2005/03/03 20:41:00 1.7 +++ OSA_system2/OSAS_helpers.py 2005/03/17 19:26:52 1.9 @@ -4,7 +4,8 @@ from types import * import xml.dom.minidom import zLOG -OSASObjectTypes=['OSAS_metaDataFile','OSAS_dir','OSAS_file','OSAS_imageFolder','OSAS_dir_archive','OSAS_file_archive','OSAS_videoFolder','OSAS_videoFile'] +OSASObjectTypes=['OSAS_metaDataFile','OSAS_dir','Osas_file','OSAS_imageFolder','OSAS_dir_archive','OSAS_file_archive','OSAS_videoFolder','OSAS_videoFile','OSAS_videoFolder'] +OSASDirObjects=['OSAS_dir','OSAS_imageFolder',] OSASExcludedFiles=['TheVolumeSettingsFolder','TheFindByContentFolder'] @@ -133,7 +134,7 @@ def isImageFolder(path,indexMeta): def isVideoFolder(path,indexMeta): """check if folder contains images without metadata or with metadata""" # metadaten ergeben imagefolder - print "test video",path + if dirHasProperty(path,indexMeta,'media-type','video'): return 1