Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
capisuite
capisuite-0.4.5-sox.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File capisuite-0.4.5-sox.diff of Package capisuite
Index: capisuite-0.4.5/scripts/cs_helpers.pyin =================================================================== --- capisuite-0.4.5.orig/scripts/cs_helpers.pyin +++ capisuite-0.4.5/scripts/cs_helpers.pyin @@ -229,7 +229,7 @@ def sendMIMEMail(mail_from,mail_to,mail_ elif (mail_type=="la"): # voice file # la -> wav # don't use stdout as sox needs a file to be able to seek in it otherwise the header will be incomplete - ret = os.spawnlp(os.P_WAIT,"sox","sox",attachment,"-w",basename+"wav") + ret = os.spawnlp(os.P_WAIT,"sox","sox","-r","8000","-c","1",attachment,basename+"wav") if (ret or not os.access(basename+"wav",os.R_OK)): raise "conv-error","Error while calling sox. Not installed?" filepart = email.MIMEAudio.MIMEAudio(open(basename+"wav").read(),"x-wav",email.Encoders.encode_base64,name=os.path.basename(basename)+"wav")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor