Help - Search - Members - Calendar
Full Version: Using title formatting in autoplaylist queries
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
Cutter
Hello, thanks for the new release.

Why can't we use functions in Autoplaylist query patterns? Example: $directory_path(%path%) IS D:\blah.
Is there an Autoplaylist query that selects the contents of a folder without its subfolders?

Thanks.

PS: the sort pattern from "Autoplaylist properties" has no effect, but this seems to be a known problem.
foosion
QUOTE(Cutter @ Jun 24 2008, 06:35) *
Why can't we use functions in Autoplaylist query patterns? Example: $directory_path(%path%) IS D:\blah.
You must enclose all but the most trivial title formatting scripts in double quotes, if you want to use them in queries. Unfortunately, it seems that this requirement was lost from the help file. Your example should be written as follows:
CODE
"$directory_path(%path%)" IS D:\blah

Cutter
OK, thank you.
4nt1
QUOTE(foosion @ Jun 24 2008, 15:54) *

QUOTE(Cutter @ Jun 24 2008, 06:35) *
Why can't we use functions in Autoplaylist query patterns? Example: $directory_path(%path%) IS D:\blah.
You must enclose all but the most trivial title formatting scripts in double quotes, if you want to use them in queries. Unfortunately, it seems that this requirement was lost from the help file. Your example should be written as follows:
CODE
"$directory_path(%path%)" IS D:\blah



Foosion, I have tried using
CODE
%path% IS "D:\blah"
and it works fercectly... should I "" around the tag as well? I thought the docs explained that its not needed...

anything withouth a $%# would be treated as metadata

I would prefer to do it properly so if I can make my criteria smoother then im all for it...

my main concern is when you start typing the criteria for an autoplaylist it starts sorting/creating the list before you have finished typing.. now because I have 600gb of music this makes things run very slow.. is it possible maybe to have a button to accept the criteria...

see what others think
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.