HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: metalboy on 2013-01-26 15:57:48

Title: Autoplaylist How-To
Post by: metalboy on 2013-01-26 15:57:48
First off, I see a few questions on autoplaylist here on the forum, is there a FAQ, wiki or How-to written on autoplaylists? If so can you direct me to it.
Secondly, I am trying to create a new playlist based on another playlist. Example would be, I have a playlist of songs that need a rating that I play through.
I want to create a playlist that basically
Code: [Select]
%playlist% IS "name" AND %rating% IS PRESENT
is there a method to do this? Basically, I just want to call another playlist to create a playlist using rating may not be the best example.
Title: Autoplaylist How-To
Post by: db1989 on 2013-01-26 16:03:28
%playlist% IS "name"
No such field exists, as was asked and answered in the last couple of days (http://www.hydrogenaudio.org/forums/index.php?showtopic=99055).

Quote
is there a FAQ, wiki or How-to written on autoplaylists?
There’s always this:
http://wiki.hydrogenaudio.org/index.php?ti...00:Query_syntax (http://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Query_syntax)
And I found a brief illustration (perhaps outdated) on Google:
http://eolindel.free.fr/foobar0.9/autoplaylist.php (http://eolindel.free.fr/foobar0.9/autoplaylist.php)
Title: Autoplaylist How-To
Post by: BenB on 2013-01-26 17:04:35
...
Secondly, I am trying to create a new playlist based on another playlist. Example would be, I have a playlist of songs that need a rating that I play through.
I want to create a playlist that basically
Code: [Select]
%playlist% IS "name" AND %rating% IS PRESENT

is there a method to do this? Basically, I just want to call another playlist to create a playlist using rating may not be the best example.

As far as I'm aware, it isn't possible to create an autoplaylist from the contents of another playlist, but I'm not sure if you were asking that. Anyway...

You can create a static playlist from the contents of another playlist using the Quick Search Toolbar component (http://www.foobar2000.org/components/view/foo_quicksearch). It will allow you to search in foobar's database (as the Library Search does), a playlist or all playlists.

To use it (after adding it, of course), go to the playlist you want to search in, make sure Quick Search is set to Search In Playlist (click on the magnifying glass in the toolbar to set this), then enter your query which could simply be
Code: [Select]
rating PRESENT

The results should be sent to a new playlist.
Title: Autoplaylist How-To
Post by: metalboy on 2013-01-26 17:06:41


Thanks BenB that is very helpful.