Bugzilla – Bug 42
try to put single quotes in a title format and bad things happen
Last modified: 2005-02-05 10:00:24 UTC
From: "chr_ne" Date: Thu Jun 12, 2003 3:01:20 AM US/Pacific Subject: [slimp3-users] Song Title Format wrong without TRACKNUM hi, I have changed the Song Title Format to >TRACKNUM. 'TITLE' von 'ARTIST' aus 'ALBUM'< (without <>). Everything works fine - but if the song has no TRACKNUM-tag than the display looks like >TITLE' von 'ARTIST' aus 'ALBUM'< without the leading character '. Perhaps there is a mistake in the routine? Christoph
This is working correctly according to the current design. When an element of the format string is missing, the results will collapse any spacer characters around the missing element as in the following example, where E# is an element and P# is spacer text (spaces for clarity only) E1 P1 E2 P2 E3 P3 E4 If E1 is missing but everything else is present, the output will be like this: E2 P2 E3 P3 E4 If E2 is missing with everything else present, the output will look like this: E1 P1 E3 P3 E4 If E4 is missing with everything else present, the output will look like this: E1 P1 E2 P2 E3 There are undocumented ways of changing this behaviour, which were considered too difficult to understand for general use.
Marking this as "works as designed".