Foobar2000:Components 0.9/Autoplaylist Manager (foo autoplaylist): Difference between revisions

From Hydrogenaudio Knowledgebase
(Add more Notes and Examples)
(Make change to HAS note.)
Line 12: Line 12:
  - You can sort recursively by dividing each sort term by '|'. e.g. %artist% | %title%
  - You can sort recursively by dividing each sort term by '|'. e.g. %artist% | %title%
  - MISSING query doesn't work with %tagname%.
  - MISSING query doesn't work with %tagname%.
  - HAS query only works right on string with no white space. If string has white spaces whether you
  - The HAS operator searches for words, so it splits up the second operand at spaces; quotation
  put it in double quotation marks or not, the query will always returns songs that have all the words
  marks serve mainly to delimit the argument, they do not imply that it is treated as a single unit.
(not in any order)in it.


All songs in database
All songs in database

Revision as of 12:53, 27 July 2007

Description

Presents a Media Library query in a dynamically-generated playlist (under development).

Example usage

Note
- Code goes to Query: field.
- If you use Sort format then you need to check "Keep entire playlist sorted".
- You can sort recursively by dividing each sort term by '|'. e.g. %artist% | %title%
- MISSING query doesn't work with %tagname%.
- The HAS operator searches for words, so it splits up the second operand at spaces; quotation 
marks serve mainly to delimit the argument, they do not imply that it is treated as a single unit.

All songs in database

1

Missing Replaygain Album

NOT "[%__replaygain_album_gain%]" IS ?*

Add songs in a folder for example "Album Music"

%path% IS *Album Music\*

Those queries below require a playback statistic component like the official one (tagnames below are what it uses)

Never Played Songs

%play_count% LESS 1
or
%play_count% IS ?

A history playlist with songs played recently first

NOT %last_played% IS ?
Sort format: $sub(99999999999999,$replace(%last_played%,'-',,':',,' ',))

Newly added songs that haven't been played (also need added metadata provided by foo_cwb_hooks)

(NOT (%added% IS ?)) AND (%last_played% IS ?)

Link