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

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
m
(Add more Notes and Examples)
Line 7: Line 7:
 
== Example usage ==
 
== Example usage ==
  
'''Note''' code goes to Query: field
+
'''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%.
 +
- HAS query only works right on string with no white space. If string has white spaces whether you
 +
put it in double quotation marks or not, the query will always returns songs that have all the words
 +
(not in any order)in it.
  
 
All songs in database
 
All songs in database
Line 13: Line 20:
 
  1
 
  1
  
Never Played Songs (using [[Foobar2000:Components_0.9/Play_Count_(official)_(foo_playcount)|official plugin]])
+
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 [[Foobar2000:Components_0.9/Play_Count_(official)_(foo_playcount)|the official one]] (tagnames below are what it uses)''
 +
 
 +
Never Played Songs
  
 
  %play_count% LESS 1
 
  %play_count% LESS 1
 +
or
 +
%play_count% IS ?
  
Missing Replaygain Album
+
A history playlist with songs played recently first
  
  NOT "[%__replaygain_album_gain%]" IS ?*
+
  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 [[Foobar2000:Components_0.9/Cwbowron's_Title_formating_(foo_cwb_hooks)|foo_cwb_hooks]])
 +
 
 +
(NOT (%added% IS ?)) AND (%last_played% IS ?)
  
 
=Link=
 
=Link=
 
* [http://www.foobar2000.com/components/index.html Official Website]
 
* [http://www.foobar2000.com/components/index.html Official Website]
 
* [http://eolindel.free.fr/foobar0.9/autoplaylist.php Autoplaylist] From BB's Manual
 
* [http://eolindel.free.fr/foobar0.9/autoplaylist.php Autoplaylist] From BB's Manual
 +
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=45794 Discussion Thread]

Revision as of 05:17, 23 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%.
- HAS query only works right on string with no white space. If string has white spaces whether you
put it in double quotation marks or not, the query will always returns songs that have all the words
(not in any order)in it.

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