Discussion:
[BitPim-devel] Re: [bitpim-cvs-checkins] bitpim conversions.py,1.21,1.22 midifile.py,1.2,1.3
Roger Binns
2005-01-17 01:36:37 UTC
Permalink
pvconv=gethelperbinary('pvconv')
- run(pvconv, shortfilename(wavfile), shortfilename(qcpfile))
+ w_name=shortfilename(wavfile)
+ q_name=common.stripext(w_name)+'.qcp'
+ os.remove(q_name)
+ pass
+ # Have not figured out how to specify output file for pvconv
+ run(pvconv, w_name)
+ # mv output file to qcpfile
+ os.remove(qcpfile)
+ pass
+ os.rename(q_name, qcpfile)
Joe, What is the actual reason behind making this change? The code as it
was worked perfectly! The only place calling these functions was in
ringers and it worked fine, and quite easily got the relevant filename
by calling common.gettempfilename("extension").

Roger

Loading...