Help - Search - Members - Calendar
Full Version: Automatically Fill Values - does it understand underscores?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
larry_llama
I used masstagger for many years to process my naming convention:

Artist_Year_Album[Encoder,Comment]\## - Track Title

But the new version is having trouble with what I am telling it ;-)

Example folder and file:

Odds_1996_Good Weird Feeling[MPD,]\01 - Truth Untold.mp3

My string is as follows:
%artist%_%date%_%album%[%encoder%,%comment%]\%tracknumber% - %title%

And automatically fill values gives me only one column.. Artist Name.. and it's filled like so:

Odds 1996 Good Weird Feeling[MPD,]\01 - Truth Untold

The reason I think the underscores are the problem is that it's replaced them with spaces without telling me.

If I change the string to:
%album%[%encoder%,%comment%]\%tracknumber% - %title%

I get more columns:
Album Title: Odds 1996 Good Weird Feeling
<ENCODER>: MPD
Track Number: 01
Track Title: Truth Untold

So it appears that the major roadblock is the interpretation of underscores. I tried putting the underscores between single quotes and (understandably) it didn't help. I really think there is a bug with underscores (or punctuation in general -- maybe in combination with subfolders? or something like that)

Can anyone duplicate this and/or give me some ideas?

Thanks!
kanak
Underscores are automatically interpreted to mean space. So use space instead of underscores in your code.
larry_llama
But that's no good. What if the artist has a space?

For instance the following folder:

The Beatles_1967_Abbey Road\01 - Come Together.mp3

if i use space in my code, it will read artist as "The", date as "Beatles"

Underscore is not the same as space -- so the code should not interpret them the same...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.