soundkonverter mishandles files with special characters (#, ?) in filename

Bug #153370 reported by Jennifer Richards
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
soundkonverter (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: soundkonverter

soundKonverter does not properly handle files with special characters (at least # and ?, probably others) in their filenames. It truncates the files, resulting in 0-length files for FLAC and 1.3 kB files for MP3. The names of these files cuts off just before the first special character.

For example, when transcoding from FLAC to MP3, "Dave Matthews Band - #34.flac" becomes a 1.3 kB file called "Dave Matthews Band - " containing just an ID3 tag. If transcoding from FLAC to FLAC, it would have the same name munging but the output file would be 0 bytes.

I have observed this with specifically the # and ? symbol, but I suspect it would have a similar effect for other "special" characters. I am running a Gutsy Gibbon Beta system, completely updated. My soundKonverter version is 0.3.6-0ubuntu1. I'm using flac/metaflac for FLAC en/decoding and lame/mp3gain for MP3 en/decoding.

Revision history for this message
Jennifer Richards (jenny-borkbork) wrote :

One correction - it seems that FLAC->FLAC may be ok for filenames with '?' but not '#'. FLAC->MP# does not work for either '?' or '#', as originally reported.

Revision history for this message
Daniel Faust (hessijames) wrote :

i rewrote the filename handling, now # and ? and many more characters are handled correctly.

Changed in soundkonverter:
status: New → Fix Committed
Changed in soundkonverter:
status: Fix Committed → 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.