Post Reply 
Feature Request: trim whitespace
26-04-2012, 16:12
Post: #2
RE: Feature Request: trim whitespace
(26-04-2012 15:33)KoS Wrote:  Hi

once i had a problem with files that had in the front of some metadata whitespace and then the music didn't show up as expected.
e.g. "Madonna" vs " Madonna" .. the second one will be sorted according to the first character, a space, and will show up at the top of the list.
would it be possible to add a trim function that removes whitespace at the beginning of all metadata fields? so that misspelled fields won't mix up the lists? thanks.

KoS

I think this is a good idea. I'll also put a warning in the log so that people will know this has happened and can fix the metadata if they want.

You didn't mention trailing spaces. I think these should also be trimmed (with a warning), as this will produce a duplicated entry in the artist index.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Feature Request: trim whitespace - simoncn - 26-04-2012 16:12

Forum Jump:


User(s) browsing this thread: 1 Guest(s)