GNOME Bugzilla – Bug 526649
Default filename pattern shoud include disc number
Last modified: 2009-04-12 13:02:58 UTC
Reported on Launchpad (https://bugs.edge.launchpad.net/ubuntu/+source/sound-juicer/+bug/212846): "Binary package hint: sound-juicer sound-juicer: 2.22.0-0ubuntu1 Sound-juicer has gained knowledge of the disc number in a multi-disc set (in 2.21.3 according to NEWS.gz) unfortunately it doesn't include this in the extracted filename; this results in a very strange ordering; i.e. I have it set to create files as Artist/Disc Name/TrackNumber - Trackname - e.g. Stallman/Free songs/01 - Free Software Song.ogg Now lets say that was the first track of the first CD, when I extract the 2nd CD I would get Stallman/Free songs/01 - Guantanamero.ogg So the two discs merge together and aren't seperable; the disc number needs to be included somewhere in the file name - e.g. Stallman/Free songs [1]/01 - Free Software Song.ogg"
If you change the filename templates to %dn or %dN instead of %tn or %tN, then you get the disk number embedded in the filename: %dn: Disc 1 - 2 - Foo %dN: d1t2 - Foo
Hi Ross, Thanks - is this possible in the path rather than the track (I tend to have the different CDs in a set as different directories at the moment)? It would be nice to have this on one of the user selectable options; although I'm not sure it feels right to have the disc numbers there for a case where there is just 1 CD.
It might be useful to document these extra file_patterns from src/sj-extracting.c in data/sound-juicer.schemas.in
*** Bug 555433 has been marked as a duplicate of this bug. ***
Fixed in svn.
Thanks - is it the intention that %dn doesn't 0 pad the track number, and hence they aren't ASCII ordered? (Where as %dN does). (In 2.26.0)