Help - Search - Members - Calendar
Full Version: A (I hope) quick question about the autoplaylist
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Support - (fb2k)
bonemachine
I'm sitting here trying out various things with
the autoplaylist (using v0.9 RC). My goal is to
generate playlist from directories. Say that I
want a playlist that includes everything from
x:\elektro\ambient\.

I tried using
CODE
(%_directoryname% HAS "- ambient -")

and it actually did something, but not quite what
I had in mind. I got two albums from ".\ambient\- va -\"
and the lone track in "\ambient\". There are about
15 albums in that dir, why were they not included?

Is it actually possible? I sure wouldn't mind being
able to update a few playlist without having to do
it manually.

I looked over a few guides on tagz but is that
what autoplaylist uses as well?

Thanks for any help.

hunted
firstly, %_directoryname% (same as %directory%) is only the parent directory, so it won't match nested albums.
You probably want %path%, ideally, you could use $replace(%path%,%_filename_ext%,) but autoplaylist didn't seem to like that.
I tried matching my Beatles albums, using
CODE
%path% HAS Beatles\
and that worked fine.
bonemachine
That seemed to do the trick.
But I got two tracks with ambient
in it's filename. Can I do something
about that?
hunted
well thats why I have a slash, like ambient\ or you can use a query such as:
CODE
%path% HAS Ambient AND NOT %filename% HAS Ambient
but if you have a file with Ambient in the filename in the Ambient directory, then it won't be matched
bonemachine
Thank you. Now it works like a charm.
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.