batch FLAC encoding crashes

Bug #995862 reported by Michael Schwendt
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fix Released
soundconverter (Ubuntu)
Fix Released

Bug Description

The fixes for -m and -s applied, current code in git crashes when encoding to FLAC. The reason is that only the GUI calls set_flac_compression() to set the needed self.flac_compression level:

$ soundconverter -b -s .flac -m audio/x-flac test.ogg

Traceback (most recent call last):
  File "/usr/bin/soundconverter", line 171, in <module>
  File "/usr/lib/soundconverter/python/soundconverter/", line 96, in cli_convert_main
  File "/usr/lib/soundconverter/python/soundconverter/", line 513, in init
    encoder = self.encoders[self.output_type]()
  File "/usr/lib/soundconverter/python/soundconverter/", line 594, in add_flac_encoder
    s = 'flacenc mid-side-stereo=true quality=%s' % self.flac_compression
AttributeError: Converter instance has no attribute 'flac_compression'

Related branches

Changed in soundconverter:
assignee: nobody → GautierPortet (kassoulet)
importance: Undecided → Critical
status: New → Confirmed
Changed in soundconverter:
status: Confirmed → Fix Committed
milestone: none → 2.0.4
Changed in soundconverter:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package soundconverter - 2.0.4-0ubuntu1

soundconverter (2.0.4-0ubuntu1) raring; urgency=low

  * New upstream release (LP: #1077508).
    - Disable common path when creating folders using tags (LP: #972158).
    - Increase Low pass filter frequency when converting to MP3 (LP: #881413).
    - Use original filename as title when tags are not present (LP: #984790).
    - Fix command line arguments parsing (LP: #995862).
    - Fix problem with AAC settings (LP: #954555).
    - Fix yet another problem with URIs handling (LP: #998371).
 -- Logan Rosen <email address hidden> Wed, 21 Nov 2012 12:38:13 -0500

Changed in soundconverter (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.