2 from twisted.internet
import defer, threads
3 from twisted.python
import log
6 import fts.metadata_extractors
9 class sbnd_extractor(fts.metadata_extractors.MetadataExtractorRunCommand):
13 @defer.inlineCallbacks
14 def extract( self, filestate, *args, **kwargs):
16 mddata =
yield self._runCommand(
"/sbnd/app/users/sbndpro/soft/srcs/sbndutil/scripts/poms/sbndpoms_metadata_extractor.sh", filestate.getLocalFilePath())
17 md = json.loads(mddata)