def system(self, cmd): return proctools.system("%s >/dev/null 2>&1" % cmd)
def rmd2ogg(src, dst): from pycopia import proctools cmd = 'rmdtopvf "%s" | pvftolin -C -U | oggenc -Q -r -B 8 -C 1 -R 8000 --genre voicemail -o "%s" -' % ( src, dst) if os.path.isfile(src): return proctools.system(cmd)
def rmd2ogg(src, dst): from pycopia import proctools cmd = 'rmdtopvf "%s" | pvftolin -C -U | oggenc -Q -r -B 8 -C 1 -R 8000 --genre voicemail -o "%s" -' % (src, dst) if os.path.isfile(src): return proctools.system(cmd)