<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Neptune</id>
	<title>Hydrogenaudio Knowledgebase - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.hydrogenaudio.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Neptune"/>
	<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Special:Contributions/Neptune"/>
	<updated>2026-04-29T11:43:55Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/ABX_Comparator_(foo_abx)&amp;diff=25679</id>
		<title>Foobar2000:Components/ABX Comparator (foo abx)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/ABX_Comparator_(foo_abx)&amp;diff=25679"/>
		<updated>2014-01-26T21:36:31Z</updated>

		<summary type="html">&lt;p&gt;Neptune: Undo revision 25596 by 178.26.97.174 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Allows users to perform a double-blind listening test between two tracks. &lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
# [[Foobar2000:How_to_install_a_component|Install]] the component&lt;br /&gt;
# Select two files in the playlist&lt;br /&gt;
# Right click - Utilities - ABX Two Tracks...&lt;br /&gt;
&lt;br /&gt;
== Links ==&lt;br /&gt;
[http://en.wikipedia.org/wiki/ABX_test ABX test - Wikipedia]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Foobar2000&amp;diff=24119</id>
		<title>Foobar2000:Foobar2000</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Foobar2000&amp;diff=24119"/>
		<updated>2013-02-12T19:29:43Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* External Guides */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{title|foobar2000}}&lt;br /&gt;
&lt;br /&gt;
{{Software Infobox|&lt;br /&gt;
|name = foobar2000&lt;br /&gt;
|logo = [[Image:foobar2000 Logo.png|48px]]&lt;br /&gt;
|screenshot = [[Image:Foobar2000-1.0-default-ui.png|250px]]&lt;br /&gt;
|caption = Screenshot of foobar2000 v1.0 using the default user interface&lt;br /&gt;
|maintainer = Peter Pawlowski&lt;br /&gt;
|stable_release = v1.2.2&lt;br /&gt;
|preview_release = v1.2.3 beta 3&lt;br /&gt;
|operating_system = Windows&lt;br /&gt;
|use = Media Player&lt;br /&gt;
|license = Proprietary, BSD&lt;br /&gt;
|website = [http://www.foobar2000.org/ www.foobar2000.org]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;foobar2000&#039;&#039;&#039; is an advanced freeware audio player for the Windows platform. Some of the basic features include full unicode support, ReplayGain support and native support for several popular audio formats.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The latest stable version is:&#039;&#039;&#039; [http://www.foobar2000.org/download v1.2.2]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The latest preview version is:&#039;&#039;&#039; [http://www.foobar2000.org/download v1.2.3 beta 3] (2013-02-09)&lt;br /&gt;
&lt;br /&gt;
== Platforms ==&lt;br /&gt;
&lt;br /&gt;
foobar2000 has been written specifically for the Windows platform, and there are no plans to port it to any others.  However, although not officially supported, it is known to run on [http://www.hydrogenaudio.org/forums/index.php?showtopic=54933 Linux] and [http://www.hydrogenaudio.org/forums/index.php?showtopic=77261 Mac OS X] through Wine and WineBottler, respectively.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
* Powerful open component architecture allowing third-party developers to extend functionality of the player, including the ability to fully replace the user interface.&lt;br /&gt;
* Full Unicode support: File names, user interface, tagging, etc.&lt;br /&gt;
* [[ReplayGain]] support: Both playback and writing ReplayGain information to file tags.&lt;br /&gt;
* [[Gapless playback]].&lt;br /&gt;
* Advanced [[tagging]] capabilities - through built-in [[foobar2000:Properties|Properties dialog]] and various optional tagging-related components.&lt;br /&gt;
* Built-in [[foobar2000:Preferences:Media Library|Media Library]] functionality.&lt;br /&gt;
** Intuitive [[foobar2000:Query syntax|query syntax]] for searching the Media Library.&lt;br /&gt;
** [[foobar2000:Autoplaylist|Autoplaylist]] support: Generate dynamically updating playlists based on queries.&lt;br /&gt;
* [[foobar2000:Preferences:General:Keyboard Shortcuts|Customizable keyboard shortcuts]].&lt;br /&gt;
* Support for transcoding all supported audio formats using the [[Foobar2000:Converter|Converter component]] (requires external command-line encoder executables for different output formats).&lt;br /&gt;
* [[Secure_ripping|Secure]] [[foobar2000:Ripping CDs|CD ripping]].&lt;br /&gt;
* Streaming support.&lt;br /&gt;
* Efficient handling of large playlists.&lt;br /&gt;
* [[foobar2000:Components/Default_user_interface_%28foo_ui_std%29|User interface]] with simple configuration to create even complex layouts quickly and easily.&lt;br /&gt;
* Highly customizable display of track information using [[foobar2000:Titleformat_Introduction|title formatting scripts]].&lt;br /&gt;
&lt;br /&gt;
==Supported audio formats==&lt;br /&gt;
Natively supported (&amp;quot;out-of-the-box&amp;quot;):&lt;br /&gt;
* [[MP1]], [[MP2]], [[MP3]], [[MP4]], [[Musepack]], [[AAC]], [[Ogg Vorbis]], [[FLAC]] / Ogg FLAC, [[Speex]], [[WavPack]], [[WAV]], [[AIFF]], [[AU|AU/SND]], [[CDDA]], [[WMA]], [[Matroska]], [[ALAC]], [[MMS]], [[RSTP]], [[Opus]].&lt;br /&gt;
Supported through optional components:&lt;br /&gt;
* [[TTA]], [[Monkey&#039;s Audio]], [[MOD]], [[SPC]], [[Shorten]], [[OptimFROG]], [[AC3]], [[DTS]], [[PSF]], [[NSF]], [[XID]], [[XA]], [[TAK]], [[AMR]], &#039;&#039;etc.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In addition, foobar2000 can also play audio files within ZIP and RAR archives (typically compressed) directly, &#039;&#039;i.e.&#039;&#039; without requiring the user to extract the files first. More archive formats are supported &#039;&#039;via&#039;&#039; additional components: [http://www.foobar2000.org/components/view/foo_unpack_lha LHA/LZH], [http://www.foobar2000.org/components/view/foo_unpack_7z 7-Zip], [http://kode54.foobar2000.org/ JMA]&lt;br /&gt;
&lt;br /&gt;
== Using foobar2000 ==&lt;br /&gt;
&lt;br /&gt;
=== Important pages ===&lt;br /&gt;
* [http://www.foobar2000.org/FAQ foobar2000 FAQ]&lt;br /&gt;
* [[foobar2000:components|foobar2000 Components]]&lt;br /&gt;
* [[foobar2000:Encouraged Tag Standards|foobar2000 Encouraged Tag Standards]]&lt;br /&gt;
* [[foobar2000:FAQ|foobar2000 FAQ (unofficial)]]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=Category:Foobar2000_Guides foobar2000 Guides (category)]&lt;br /&gt;
* [http://wiki.hydrogenaudio.org/index.php?title=Category:Foobar2000_Preferences foobar2000 Preferences (category)]&lt;br /&gt;
&lt;br /&gt;
=== Specific guides ===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Preferences&#039;&#039;&#039;&lt;br /&gt;
* [[foobar2000:Preferences|Preferences dialog]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Metadata&#039;&#039;&#039;&lt;br /&gt;
* [[foobar2000:Properties|Tag editing: the Properties dialog]]&lt;br /&gt;
* [[foobar2000:Query syntax|Query Syntax]]: details of Syntax for querying metadata.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Title formatting&#039;&#039;&#039;&lt;br /&gt;
* [[foobar2000:Title Formatting Introduction|Introduction to titleformat scripts]]&lt;br /&gt;
* [[foobar2000:Title Formatting Reference|Titleformat Reference]]: reference guide to all fields and functions&lt;br /&gt;
* [[foobar2000:Titleformat Examples|Titleformat Examples]]: user-submitted code for various purposes; submit your own!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Others&#039;&#039;&#039;&lt;br /&gt;
* [[foobar2000:File operations|File operations dialog]]: move, copy, rename, and delete files from within foobar2000&lt;br /&gt;
* [[foobar2000:Commandline Guide|Commandline usage]]&lt;br /&gt;
&lt;br /&gt;
=== External Guides ===&lt;br /&gt;
* [http://www.audiohq.de/viewforum.php?id=27 German-language guides]&lt;br /&gt;
* [http://foobar2000.xrea.jp/ fb2k Wiki Page] for Japanese users.&lt;br /&gt;
* [http://winamp2foobar.blogspot.com Winamp To Foobar Guide] with information relevant for general users also.&lt;br /&gt;
&lt;br /&gt;
=== Technical information ===&lt;br /&gt;
* [[foobar2000:ID3 Tag Mapping|ID3 Tag Mapping]]&lt;br /&gt;
* [[foobar2000:Metadata Compatibility|Metadata Compatibility]]: information about compatibility with metadata written by other applications&lt;br /&gt;
&lt;br /&gt;
== Important Links ==&lt;br /&gt;
=== Official Site ===&lt;br /&gt;
* [http://www.foobar2000.org foobar2000.org: Homepage]&lt;br /&gt;
* [http://www.foobar2000.org/download foobar2000.org: Download]&lt;br /&gt;
* [http://www.foobar2000.org/components foobar2000.org: Components]&lt;br /&gt;
&lt;br /&gt;
=== Community ===&lt;br /&gt;
* Official IRC Channel: #foobar2000 on [http://freenode.net/ freenode]&lt;br /&gt;
* [http://forums.foobar2000.org/ Official foobar2000 forum]&lt;br /&gt;
* [http://foobar-users.de/ German Support Forum]&lt;br /&gt;
* [http://foobar2000.pl/ Polish Support Forum]&lt;br /&gt;
* [http://www.fforum.ru/index.php?showforum=59 Russian-language forum]&lt;br /&gt;
* [http://www.foobar2000.ru/forum/ Another Russian-language forum]&lt;br /&gt;
&lt;br /&gt;
=== Appearance ===&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=61333 Default UI .fth Thread] Fast way to clone another&#039;s DUI Configuration.&lt;br /&gt;
* [[foobar2000:Preferences:Columns UI/Appearance|Columns UI appearance customization guides]]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=31027 Columns UI configurations]&lt;br /&gt;
&lt;br /&gt;
[[Category:foobar2000]]&lt;br /&gt;
[[Category:Media Players|foobar2000]]&lt;br /&gt;
[[Category:CD Rippers]]&lt;br /&gt;
[[Category:Software]]&lt;br /&gt;
[[Category:Tag editors]]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v3.png&amp;diff=22981</id>
		<title>File:Foobar2000-SimPlaylist-Groups-v3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v3.png&amp;diff=22981"/>
		<updated>2011-09-04T18:29:45Z</updated>

		<summary type="html">&lt;p&gt;Neptune: uploaded a new version of &amp;quot;File:Foobar2000-SimPlaylist-Groups-v3.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v2.png&amp;diff=22980</id>
		<title>File:Foobar2000-SimPlaylist-Groups-v2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v2.png&amp;diff=22980"/>
		<updated>2011-09-04T18:29:39Z</updated>

		<summary type="html">&lt;p&gt;Neptune: uploaded a new version of &amp;quot;File:Foobar2000-SimPlaylist-Groups-v2.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v1.png&amp;diff=22979</id>
		<title>File:Foobar2000-SimPlaylist-Groups-v1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v1.png&amp;diff=22979"/>
		<updated>2011-09-04T18:28:57Z</updated>

		<summary type="html">&lt;p&gt;Neptune: uploaded a new version of &amp;quot;File:Foobar2000-SimPlaylist-Groups-v1.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22978</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22978"/>
		<updated>2011-09-04T18:05:40Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Search */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v1.png|thumb|none|Artist - album / cover]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v2.png|thumb|none|Artist / cover + album info]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v3.png|thumb|none|Artist / cover / album]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Layout===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Search.png|thumb|Playlist search]]&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22977</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22977"/>
		<updated>2011-09-04T18:05:31Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v1.png|thumb|none|Artist - album / cover]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v2.png|thumb|none|Artist / cover + album info]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v3.png|thumb|none|Artist / cover / album]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Layout===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Search.png|thumb|Playlist search]]&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22976</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22976"/>
		<updated>2011-09-04T18:05:20Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v1.png|thumb|none|Artist - album / cover]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v2.png|thumb|none|Artist / cover + album info]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v3.png|thumb|none|Artist / cover / album]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Layout===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22975</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22975"/>
		<updated>2011-09-04T18:04:52Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v1.png|thumb|none|Artist - album / cover]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v2.png|thumb|none|Artist / cover + album info]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v3.png|thumb|none|Artist / cover / album]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Search.png|thumb|none|Playlist search]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Layout===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22974</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22974"/>
		<updated>2011-09-04T18:04:40Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Search */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v1.png|thumb|none|Artist - album / cover]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v2.png|thumb|none|Artist / cover + album info]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v3.png|thumb|none|Artist / cover / album]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Layout===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22973</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22973"/>
		<updated>2011-09-04T18:03:55Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Manual integration */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v1.png|thumb|none|Artist - album / cover]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v2.png|thumb|none|Artist / cover + album info]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v3.png|thumb|none|Artist / cover / album]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Layout===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Search.png|thumb|SimPlaylist search]]&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22972</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22972"/>
		<updated>2011-09-04T17:49:52Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v1.png|thumb|none|Artist - album / cover]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v2.png|thumb|none|Artist / cover + album info]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v3.png|thumb|none|Artist / cover / album]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Search.png|thumb|SimPlaylist search]]&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22971</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22971"/>
		<updated>2011-09-04T17:46:39Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Screenshots */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v1.png|thumb|none|Artist - album / cover]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v2.png|thumb|none|Artist / cover + album info]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v3.png|thumb|none|Artist / cover / album]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Save the current playlist configuration===&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Search.png|thumb|SimPlaylist search]]&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22970</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22970"/>
		<updated>2011-09-04T17:46:19Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Screenshots==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot; cellpadding=&amp;quot;0&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v1.png|thumb|none|Artist - album / cover]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v2.png|thumb|none|Artist / cover + album info]]&lt;br /&gt;
|[[Image:Foobar2000-SimPlaylist-Groups-v3.png|thumb|none|Artist / cover / album]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Save the current playlist configuration===&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Search.png|thumb|SimPlaylist search]]&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v3.png&amp;diff=22969</id>
		<title>File:Foobar2000-SimPlaylist-Groups-v3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v3.png&amp;diff=22969"/>
		<updated>2011-09-04T17:42:21Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v2.png&amp;diff=22968</id>
		<title>File:Foobar2000-SimPlaylist-Groups-v2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v2.png&amp;diff=22968"/>
		<updated>2011-09-04T17:42:14Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v1.png&amp;diff=22967</id>
		<title>File:Foobar2000-SimPlaylist-Groups-v1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Groups-v1.png&amp;diff=22967"/>
		<updated>2011-09-04T17:41:58Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Default_User_Interface:List_of_UI_Elements&amp;diff=22963</id>
		<title>Foobar2000:Default User Interface:List of UI Elements</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Default_User_Interface:List_of_UI_Elements&amp;diff=22963"/>
		<updated>2011-08-27T06:20:39Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Third-party UI Elements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page lists available UI Elements for use with foobar2000&#039;s [[Foobar2000:Components_0.9/Default_user_interface_%28foo_ui_std%29|Default User Interface]].&lt;br /&gt;
&lt;br /&gt;
== Bundled UI Elements ==&lt;br /&gt;
The following UI elements are bundled with official installer and they are always available unless noted.&lt;br /&gt;
&lt;br /&gt;
=== Containers ===&lt;br /&gt;
* &#039;&#039;&#039;Splitter (left/right or top/bottom)&#039;&#039;&#039;&lt;br /&gt;
A simple container which divides its area to two panes horizontally or vertically. The child elements can be resized by dragging the border between them. Moreover, size of each side can be locked, so that it will stay the same when the whole window is resized - this feature is available in splitter&#039;s popup menu.&lt;br /&gt;
* &#039;&#039;&#039;Tabs&#039;&#039;&#039;&lt;br /&gt;
This container uses the well-established concept of a tabbed document. It can have any number of pages, each page containing another child element(s). The popup menu have commands to add, remove, rename and reorder the individual tabs.&lt;br /&gt;
* &#039;&#039;&#039;Playlist Tabs&#039;&#039;&#039;&lt;br /&gt;
A tabbed container automatically populated with tabs corresponding to available playlists. Note that the child area is the same regardless of the active tab (playlist). Commonly used to host a &amp;quot;Playlist view&amp;quot; element.&lt;br /&gt;
* &#039;&#039;&#039;Toolbar Header&#039;&#039;&#039;&lt;br /&gt;
Shows a toolbar which can be filled with various buttons and controls, configurable in its popup menu. Additional options include whether to be shown at the top or bottom of assigned area, or if the toolbar should be locked to avoid rearranging the items. It can contain only one static child element.&lt;br /&gt;
&lt;br /&gt;
=== Media Library Viewers ===&lt;br /&gt;
* &#039;&#039;&#039;Album List&#039;&#039;&#039; &#039;&#039;(available if selected during installation)&#039;&#039;&lt;br /&gt;
UI element version of the Album List viewer, as available in the &amp;quot;Main menu &amp;gt; Library &amp;gt; Album List&amp;quot;.&lt;br /&gt;
* &#039;&#039;&#039;Media Library Search&#039;&#039;&#039;&lt;br /&gt;
UI element version of the Media Library search, as available in the &amp;quot;Main menu &amp;gt; Library &amp;gt; Search&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
=== Playback Visualisation ===&lt;br /&gt;
* &#039;&#039;&#039;Oscilloscope&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Peak Meter&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Spectrogram&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;Spectrum&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&#039;VU Meter&#039;&#039;&#039;&lt;br /&gt;
Various visualisations providing some graphical feedback. Most of them have their additional style, color or quality settings available in their popup menu.&lt;br /&gt;
&lt;br /&gt;
=== Playlist Renderers ===&lt;br /&gt;
* &#039;&#039;&#039;Playlist View&#039;&#039;&#039;&lt;br /&gt;
Shows items of currently active playlist. Note that any number of &amp;quot;Playlist View&amp;quot; elements will all show the same content. Format of displayed columns and item grouping can be customized.&lt;br /&gt;
&lt;br /&gt;
=== Selection Information ===&lt;br /&gt;
* &#039;&#039;&#039;Album Art Viewer&#039;&#039;&#039;&lt;br /&gt;
Shows album (cover) art image for the selected or currently playing track. Looks both for embedded images in the file itself and in its folder.&lt;br /&gt;
* &#039;&#039;&#039;Selection Properties&#039;&#039;&#039;&lt;br /&gt;
An element capable of displaying various information about the selected track(s). Popup menu allows customization of what kind of information to show.&lt;br /&gt;
&lt;br /&gt;
=== Utility ===&lt;br /&gt;
* &#039;&#039;&#039;Console&#039;&#039;&#039;&lt;br /&gt;
UI element version of the Console window, as available in the &amp;quot;Main menu &amp;gt; View &amp;gt; Console&amp;quot;.&lt;br /&gt;
* &#039;&#039;&#039;Equalizer&#039;&#039;&#039;&lt;br /&gt;
UI element version of the Equalizer window, as available in the &amp;quot;Main menu &amp;gt; View &amp;gt; Equalizer&amp;quot;.&lt;br /&gt;
* &#039;&#039;&#039;Playlist Manager&#039;&#039;&#039;&lt;br /&gt;
UI element version of the Playlist Manager window, as available in the &amp;quot;Main menu &amp;gt; View &amp;gt; Playlist Manager&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Third-party UI Elements ==&lt;br /&gt;
The components providing these UI elements must be installed separately before use. See their respective article for more information.&lt;br /&gt;
&lt;br /&gt;
* [[Foobar2000:Components_0.9/Facets_%28foo_facets%29|Facets (foo_facets)]] &amp;amp;ndash; Flexible media library viewer based on linked lists.&lt;br /&gt;
* [[Foobar2000:Components_0.9/Infospect_%28foo_infospect%29|Infospect (foo_infospect)]] &amp;amp;ndash; Displays low level playback information.&lt;br /&gt;
* [[Foobar2000:Components/Playlist_Organizer_(foo_plorg)|Playlist Organizer (foo_plorg)]] &amp;amp;ndash; Advanced playlist manager to organize playlists in a treeview.&lt;br /&gt;
* [[Foobar2000:Components/Podcatcher_(foo_podcatcher)|Podcatcher (foo_podcatcher)]] &amp;amp;ndash; A component for subscribing to, downloading, and playing RSS and Atom podcast feeds in foobar2000.&lt;br /&gt;
* [[Foobar2000:Components/Queue_Contents_Editor_(foo_queuecontents)|Queue Contents Editor (foo_queuecontents)]] &amp;amp;ndash; Enables the user to edit and view playback queue contents.&lt;br /&gt;
* [[Foobar2000:Components/Quicksearch_UI_Element_(foo_quicksearch)|Quicksearch UI Element (foo_quicksearch)]] &amp;amp;ndash; Basic search toolbar that will send results of the search to a playlist of your choice.&lt;br /&gt;
* [[Foobar2000:Components_0.9/Screen_Saver_Host_%28foo_vis_screensaver%29|Screen Saver Host (foo_vis_screensaver)]] &amp;amp;ndash; Displays a screen saver inside foobar2000 main window.&lt;br /&gt;
* [[Foobar2000:Components_0.9/Shpeck_%28foo_vis_shpeck%29|Shpeck (foo_vis_shpeck)]] &amp;amp;ndash; Allows running Winamp visualisations embedded into the player&#039;s window.&lt;br /&gt;
* [[Foobar2000:Components/SimPlaylist (foo_simplaylist)|SimPlaylist (foo_simplaylist)]] Playlist view with album art.&lt;br /&gt;
* [[Foobar2000:Components/SimPlaylist Manager (foo_simplaylist_manager)|SimPlaylist Manager (foo_simplaylist_manager)]] Playlist manager replacement with additional columns.&lt;br /&gt;
* [[Foobar2000:Components_0.9/Text_Display_%28foo_textdisplay%29|Text Display (foo_textdisplay)]] &amp;amp;ndash; Displays information about the playing or selected track.&lt;br /&gt;
* [[Foobar2000:Components/UPnP/DLNA_Renderer,_Server,_Control_Point_(foo_upnp)|UPnP/DLNA Renderer, Server, Control Point (foo_upnp)]] &amp;amp;ndash; Browser and controller elements for working with UPnP/DLNA devices.&lt;br /&gt;
* [[Foobar2000:Components/Waveform_Seekbar_(foo_wave_seekbar)|Waveform Seekbar (foo_wave_seekbar)]] &amp;amp;ndash; Provides seekbar functionality on top of a pretty image of a waveform of the currently playing song.&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22952</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22952"/>
		<updated>2011-08-18T17:26:18Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Panes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one. The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements.&lt;br /&gt;
&lt;br /&gt;
Panes can be arranged next or below each other. To toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;125&amp;quot;|Toolbar&lt;br /&gt;
!Remarks&lt;br /&gt;
|-&lt;br /&gt;
|Source&lt;br /&gt;
|Toggles between browsing the media library and the current playlist. Can be set to &amp;quot;automatic&amp;quot; to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
|-&lt;br /&gt;
|Filter&lt;br /&gt;
|Filters panes according to one or multiple predefined filters. Once a filter has been selected, the button can be clicked to quickly disable or re-enable it. Some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
|-&lt;br /&gt;
|Search&lt;br /&gt;
|Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] (e.g. Ctrl+F) to [main] / Library / Facets.&lt;br /&gt;
|-&lt;br /&gt;
|Search results&lt;br /&gt;
|Displays a menu for filter or search results. When browsing the library, clicking the button has the same effect as the double-click action defined at Preferences, Media Library, Facets. For playlists, it plays the first track in the search results.&lt;br /&gt;
|-&lt;br /&gt;
|Search help&lt;br /&gt;
|Opens query syntax reference in the browser.&lt;br /&gt;
|-&lt;br /&gt;
|Layout editing mode&lt;br /&gt;
|Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. &lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and play count. Note that while playback statistics counts tracks as played after one minute, this counts tracks as fully played each time, even if playback was stopped before the track finished playing.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. By default, to prevent selection changes from interrupting playback, this playlist is preserved if the playing track is no longer selected, and the selection is sent to a new playlist instead.&lt;br /&gt;
Note: Settings at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] are ignored.&lt;br /&gt;
&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically locked if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Middle-click action===&lt;br /&gt;
By default, middle-clicking is used for scrolling, but can be assigned to other actions.&lt;br /&gt;
&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a list selection, or, if available, open the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option, unless the filter or search query includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar has to be activated. When closing the window, a dialog asks if the changes should be saved.&lt;br /&gt;
&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Selection and focus changes are applied to the current playlist.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=88410 Discussion thread]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Change log]]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22951</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22951"/>
		<updated>2011-08-18T17:25:34Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Panes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one. The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements.&lt;br /&gt;
&lt;br /&gt;
Panes can be arranged next or below to another; to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;125&amp;quot;|Toolbar&lt;br /&gt;
!Remarks&lt;br /&gt;
|-&lt;br /&gt;
|Source&lt;br /&gt;
|Toggles between browsing the media library and the current playlist. Can be set to &amp;quot;automatic&amp;quot; to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
|-&lt;br /&gt;
|Filter&lt;br /&gt;
|Filters panes according to one or multiple predefined filters. Once a filter has been selected, the button can be clicked to quickly disable or re-enable it. Some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
|-&lt;br /&gt;
|Search&lt;br /&gt;
|Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] (e.g. Ctrl+F) to [main] / Library / Facets.&lt;br /&gt;
|-&lt;br /&gt;
|Search results&lt;br /&gt;
|Displays a menu for filter or search results. When browsing the library, clicking the button has the same effect as the double-click action defined at Preferences, Media Library, Facets. For playlists, it plays the first track in the search results.&lt;br /&gt;
|-&lt;br /&gt;
|Search help&lt;br /&gt;
|Opens query syntax reference in the browser.&lt;br /&gt;
|-&lt;br /&gt;
|Layout editing mode&lt;br /&gt;
|Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. &lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and play count. Note that while playback statistics counts tracks as played after one minute, this counts tracks as fully played each time, even if playback was stopped before the track finished playing.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. By default, to prevent selection changes from interrupting playback, this playlist is preserved if the playing track is no longer selected, and the selection is sent to a new playlist instead.&lt;br /&gt;
Note: Settings at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] are ignored.&lt;br /&gt;
&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically locked if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Middle-click action===&lt;br /&gt;
By default, middle-clicking is used for scrolling, but can be assigned to other actions.&lt;br /&gt;
&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a list selection, or, if available, open the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option, unless the filter or search query includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar has to be activated. When closing the window, a dialog asks if the changes should be saved.&lt;br /&gt;
&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Selection and focus changes are applied to the current playlist.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=88410 Discussion thread]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Change log]]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22950</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22950"/>
		<updated>2011-08-17T22:56:52Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another; to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;125&amp;quot;|Toolbar&lt;br /&gt;
!Remarks&lt;br /&gt;
|-&lt;br /&gt;
|Source&lt;br /&gt;
|Toggles between browsing the media library and the current playlist. Can be set to &amp;quot;automatic&amp;quot; to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
|-&lt;br /&gt;
|Filter&lt;br /&gt;
|Filters panes according to one or multiple predefined filters. Once a filter has been selected, the button can be clicked to quickly disable or re-enable it. Some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
|-&lt;br /&gt;
|Search&lt;br /&gt;
|Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] (e.g. Ctrl+F) to [main] / Library / Facets.&lt;br /&gt;
|-&lt;br /&gt;
|Search results&lt;br /&gt;
|Displays a menu for filter or search results. When browsing the library, clicking the button has the same effect as the double-click action defined at Preferences, Media Library, Facets. For playlists, it plays the first track in the search results.&lt;br /&gt;
|-&lt;br /&gt;
|Search help&lt;br /&gt;
|Opens query syntax reference in the browser.&lt;br /&gt;
|-&lt;br /&gt;
|Layout editing mode&lt;br /&gt;
|Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. &lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and play count. Note that while playback statistics counts tracks as played after one minute, this counts tracks as fully played each time, even if playback was stopped before the track finished playing.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. By default, to prevent selection changes from interrupting playback, this playlist is preserved if the playing track is no longer selected, and the selection is sent to a new playlist instead.&lt;br /&gt;
Note: Settings at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] are ignored.&lt;br /&gt;
&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically locked if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Middle-click action===&lt;br /&gt;
By default, middle-clicking is used for scrolling, but can be assigned to other actions.&lt;br /&gt;
&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a list selection, or, if available, open the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option, unless the filter or search query includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar has to be activated. When closing the window, a dialog asks if the changes should be saved.&lt;br /&gt;
&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Selection and focus changes are applied to the current playlist.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=88410 Discussion thread]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Change log]]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22949</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22949"/>
		<updated>2011-08-17T22:43:31Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Playlist interaction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another; to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;125&amp;quot;|Toolbar&lt;br /&gt;
!Remarks&lt;br /&gt;
|-&lt;br /&gt;
|Source&lt;br /&gt;
|Toggles between browsing the media library and the current playlist. Can be set to &amp;quot;automatic&amp;quot; to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
|-&lt;br /&gt;
|Filter&lt;br /&gt;
|Filters panes according to one or multiple predefined filters. Once a filter has been selected, the button can be clicked to quickly disable or re-enable it. Some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
|-&lt;br /&gt;
|Search&lt;br /&gt;
|Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] (e.g. Ctrl+F) to [main] / Library / Facets.&lt;br /&gt;
|-&lt;br /&gt;
|Search results&lt;br /&gt;
|Displays a menu for filter or search results. When browsing the library, clicking the button has the same effect as the double-click action defined at Preferences, Media Library, Facets. For playlists, it plays the first track in the search results.&lt;br /&gt;
|-&lt;br /&gt;
|Search help&lt;br /&gt;
|Opens query syntax reference in the browser.&lt;br /&gt;
|-&lt;br /&gt;
|Layout editing mode&lt;br /&gt;
|Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. &lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and play count. Note that while playback statistics counts tracks as played after one minute, this counts tracks as fully played each time, even if playback was stopped before the track finished playing.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. By default, to prevent selection changes from interrupting playback, this playlist is preserved if the playing track is no longer selected, and the selection is sent to a new playlist instead.&lt;br /&gt;
Note: Settings at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] are ignored.&lt;br /&gt;
&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically locked if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Middle-click action===&lt;br /&gt;
By default, middle-clicking is used for scrolling, but can be assigned to other actions.&lt;br /&gt;
&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a list selection, or, if available, open the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option, unless the filter or search query includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar has to be activated. When closing the window, a dialog asks if the changes should be saved.&lt;br /&gt;
&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Selection and focus changes are applied to the current playlist.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=88410 Discussion thread]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Change log]]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22948</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22948"/>
		<updated>2011-08-17T22:31:15Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Toolbar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another; to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;125&amp;quot;|Toolbar&lt;br /&gt;
!Remarks&lt;br /&gt;
|-&lt;br /&gt;
|Source&lt;br /&gt;
|Toggles between browsing the media library and the current playlist. Can be set to &amp;quot;automatic&amp;quot; to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
|-&lt;br /&gt;
|Filter&lt;br /&gt;
|Filters panes according to one or multiple predefined filters. Once a filter has been selected, the button can be clicked to quickly disable or re-enable it. Some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
|-&lt;br /&gt;
|Search&lt;br /&gt;
|Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] (e.g. Ctrl+F) to [main] / Library / Facets.&lt;br /&gt;
|-&lt;br /&gt;
|Search results&lt;br /&gt;
|Displays a menu for filter or search results. When browsing the library, clicking the button has the same effect as the double-click action defined at Preferences, Media Library, Facets. For playlists, it plays the first track in the search results.&lt;br /&gt;
|-&lt;br /&gt;
|Search help&lt;br /&gt;
|Opens query syntax reference in the browser.&lt;br /&gt;
|-&lt;br /&gt;
|Layout editing mode&lt;br /&gt;
|Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. &lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and play count. Note that while playback statistics counts tracks as played after one minute, this counts tracks as fully played each time, even if playback was stopped before the track finished playing.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=88410 Discussion thread]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Change log]]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22947</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22947"/>
		<updated>2011-08-17T22:26:35Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Layout */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another; to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;125&amp;quot;|Toolbar&lt;br /&gt;
!Remarks&lt;br /&gt;
|-&lt;br /&gt;
|Source&lt;br /&gt;
|Toggles between browsing the media library and the current playlist. Can be set to &amp;quot;automatic&amp;quot; to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
|-&lt;br /&gt;
|Filter&lt;br /&gt;
|Filters panes according to one or multiple selected criteria. Once a filter has been selected, the button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
|-&lt;br /&gt;
|Search&lt;br /&gt;
|Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
|-&lt;br /&gt;
|Search results&lt;br /&gt;
|Displays a menu for filter or search results. When browsing the library, clicking the button has the same effect as the double-click action defined at Preferences, Media Library, Facets. For playlists, it plays the first track in the search results.&lt;br /&gt;
|-&lt;br /&gt;
|Search help&lt;br /&gt;
|Opens query syntax reference in the browser.&lt;br /&gt;
|-&lt;br /&gt;
|Layout editing mode&lt;br /&gt;
|Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. &lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and play count. Note that while playback statistics counts tracks as played after one minute, this counts tracks as fully played each time, even if playback was stopped before the track finished playing.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=88410 Discussion thread]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Change log]]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22946</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22946"/>
		<updated>2011-08-17T22:12:35Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another; to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. &lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and play count. Note that while playback statistics counts tracks as played after one minute, this counts tracks as fully played each time, even if playback was stopped before the track finished playing.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;br /&gt;
* [http://www.hydrogenaudio.org/forums/index.php?showtopic=88410 Discussion thread]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Release notes|Release notes]]&lt;br /&gt;
* [[Foobar2000:Components/Facets (foo_facets)/Change log|Change log]]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)/Change_log&amp;diff=22945</id>
		<title>Foobar2000:Components/Facets (foo facets)/Change log</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)/Change_log&amp;diff=22945"/>
		<updated>2011-08-17T22:11:14Z</updated>

		<summary type="html">&lt;p&gt;Neptune: Created page with &amp;quot;{{fb2k}} Facets (foo facets)  ==Change log== ===1.0=== User interface: * New Album art display modes * Themed selection style with de…&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)/Release_notes&amp;diff=22944</id>
		<title>Foobar2000:Components/Facets (foo facets)/Release notes</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)/Release_notes&amp;diff=22944"/>
		<updated>2011-08-17T22:09:26Z</updated>

		<summary type="html">&lt;p&gt;Neptune: Created page with &amp;quot;{{fb2k}} Facets (foo facets)  ==Facets 1.0 release notes== ===Upgrading from older versions=== All settings should be carried over to…&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22943</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22943"/>
		<updated>2011-08-17T22:03:28Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Playback statistics */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another; to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. &lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and play count. Note that while playback statistics counts tracks as played after one minute, this counts tracks as fully played each time, even if playback was stopped before the track finished playing.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22942</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22942"/>
		<updated>2011-08-17T21:58:01Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Panes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another; to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played. Based on %play_count%.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and %play_count%. Note that this counts tracks as fully played each time, even if playback was stopped after playback statistics counted the track as played (usually after one minute).&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22941</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22941"/>
		<updated>2011-08-17T21:51:27Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Panes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be inserted before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another, to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played. Based on %play_count%.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and %play_count%. Note that this counts tracks as fully played each time, even if playback was stopped after playback statistics counted the track as played (usually after one minute).&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22940</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22940"/>
		<updated>2011-08-17T21:50:23Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Panes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Panes layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be insert before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another, to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played. Based on %play_count%.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and %play_count%. Note that this counts tracks as fully played each time, even if playback was stopped after playback statistics counted the track as played (usually after one minute).&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22939</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22939"/>
		<updated>2011-08-17T21:26:14Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Toolbar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Facets layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be insert before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another, to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played. Based on %play_count%.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and %play_count%. Note that this counts tracks as fully played each time, even if playback was stopped after playback statistics counted the track as played (usually after one minute).&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22938</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22938"/>
		<updated>2011-08-17T21:25:48Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Toolbar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Facets layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be insert before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another, to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played. Based on %play_count%.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and %play_count%. Note that this counts tracks as fully played each time, even if playback was stopped after playback statistics counted the track as played (usually after one minute).&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22937</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22937"/>
		<updated>2011-08-17T21:25:24Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Facets layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be insert before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another, to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played. Based on %play_count%.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and %play_count%. Note that this counts tracks as fully played each time, even if playback was stopped after playback statistics counted the track as played (usually after one minute).&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22936</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22936"/>
		<updated>2011-08-17T21:24:00Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Custom columns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Save the current playlist configuration===&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Search.png|thumb|SimPlaylist search]]&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|Custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22935</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22935"/>
		<updated>2011-08-17T21:23:46Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Custom columns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Save the current playlist configuration===&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Search.png|thumb|SimPlaylist search]]&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|SimPlaylist custom columns]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22934</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22934"/>
		<updated>2011-08-17T21:05:59Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Save the current playlist configuration===&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
===Search===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Search.png|thumb|SimPlaylist search]]&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|SimPlaylist columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22933</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22933"/>
		<updated>2011-08-17T21:03:13Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Search */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Save the current playlist configuration===&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|SimPlaylist columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Search==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Search.png|thumb|SimPlaylist search]]&lt;br /&gt;
&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Search.png&amp;diff=22932</id>
		<title>File:Foobar2000-SimPlaylist-Search.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Search.png&amp;diff=22932"/>
		<updated>2011-08-17T21:02:14Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22931</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22931"/>
		<updated>2011-08-17T21:01:06Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Groups */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Save the current playlist configuration===&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|SimPlaylist columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v1.png|thumb|Artist - album / cover]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v2.png|thumb|Artist / cover + album info]]&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Groups-v3.png|thumb|Artist / cover / album]]&lt;br /&gt;
&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Search==&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Preferences-Groups-v3.png&amp;diff=22930</id>
		<title>File:Foobar2000-SimPlaylist-Preferences-Groups-v3.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Preferences-Groups-v3.png&amp;diff=22930"/>
		<updated>2011-08-17T20:59:52Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Preferences-Groups-v2.png&amp;diff=22929</id>
		<title>File:Foobar2000-SimPlaylist-Preferences-Groups-v2.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Preferences-Groups-v2.png&amp;diff=22929"/>
		<updated>2011-08-17T20:59:43Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Preferences-Groups-v1.png&amp;diff=22928</id>
		<title>File:Foobar2000-SimPlaylist-Preferences-Groups-v1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Preferences-Groups-v1.png&amp;diff=22928"/>
		<updated>2011-08-17T20:59:30Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22927</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22927"/>
		<updated>2011-08-17T20:55:16Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Default columns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Save the current playlist configuration===&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|SimPlaylist columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Search==&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22926</id>
		<title>Foobar2000:Components/SimPlaylist (foo simplaylist)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/SimPlaylist_(foo_simplaylist)&amp;diff=22926"/>
		<updated>2011-08-17T20:54:07Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Custom columns */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|SimPlaylist (foo_simplaylist)]]&lt;br /&gt;
Playlist view with multiple grouping levels, album art, smart column resizing, smooth scrolling, and clickable rating columns for tags and playback statistics.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Save the current playlist configuration===&lt;br /&gt;
To be able to revert to the previous playlist view, export the current main layout at Preferences, Display, Default User Interface, Export Theme.&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
&lt;br /&gt;
===Preconfigured layout===&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select &amp;quot;SimPlaylist&amp;quot; under &amp;quot;Playlist Layout&amp;quot;. Note that this replaces your current playlist view, all its settings will be lost.--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Manual integration===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] to manually add SimPlaylist as a UI element. For example, right-click on the current playlist view, choose Replace UI Element, and select SimPlaylist from the list of elements.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
===Default columns===&lt;br /&gt;
Several columns are included by default, some of which do not have a corresponding title formatting pattern:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Album&lt;br /&gt;
|%album%&lt;br /&gt;
|-&lt;br /&gt;
|Artist&lt;br /&gt;
|%artist%&lt;br /&gt;
|-&lt;br /&gt;
|Codec&lt;br /&gt;
|[%codec%]&lt;br /&gt;
|-&lt;br /&gt;
|Date&lt;br /&gt;
|[%date%]&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Displays playback time / length. Click on playing item to toggle between elapsed and remaining time.&amp;lt;br /&amp;gt;Pattern: [%playback_time%]$if($and(%playback_time%,%length%), / )[%length%]&lt;br /&gt;
|-&lt;br /&gt;
|Playing&lt;br /&gt;
|Displays playback status icon.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Displays clickable metadata rating.&lt;br /&gt;
|-&lt;br /&gt;
|Title&lt;br /&gt;
|%title%&lt;br /&gt;
|-&lt;br /&gt;
|Title / track artist&lt;br /&gt;
|%title%[ &#039;(&#039;%track artist%&#039;)&#039;]&lt;br /&gt;
|-&lt;br /&gt;
|Track&lt;br /&gt;
|[%tracknumber%]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Playback statistics columns===&lt;br /&gt;
The following columns require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;120&amp;quot;|Name&lt;br /&gt;
! Pattern / remarks&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|[%play_count%]&lt;br /&gt;
|-&lt;br /&gt;
|Rating (database)&lt;br /&gt;
|Displays clickable rating from playback statistics database.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Custom columns===&lt;br /&gt;
[[Image:Foobar2000-SimPlaylist-Preferences-Columns.png|thumb|SimPlaylist columns preferences]]&lt;br /&gt;
&lt;br /&gt;
Custom columns based on [[Foobar2000:Title_Formatting_Introduction|title formatting]] can be added at Preferences, Display, SimPlaylist.&lt;br /&gt;
&lt;br /&gt;
====Column colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Columns are automatically resized to use the full width. To avoid frequent readjustments, columns named *album*, *artist*, or *title* are resized if present, while others keep their current size.&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
Playlist tracks are grouped by comparing each track with the next one according to a [[Foobar2000:Title_Formatting_Introduction|title formatting]] pattern. If the results differ, a group is inserted into the playlist. Groups are not displayed if the pattern returns an empty result, unless tracks need to be separated from a previous group on the same level. Groups do not change the order of playlist items.&lt;br /&gt;
&lt;br /&gt;
===Presets===&lt;br /&gt;
* Group presets include group headers, a group column, and subgroups.&lt;br /&gt;
* Presets can be edited from the context menu (i.e. right-click in the presets list).&lt;br /&gt;
* Checked presets appear in the Groups context menu.&lt;br /&gt;
&lt;br /&gt;
===Group headers===&lt;br /&gt;
* Headers display text and a separating line, with an optional image at the left.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
&lt;br /&gt;
===Group column===&lt;br /&gt;
* Displays album art, text, or both in separate columns at the left side.&lt;br /&gt;
* New lines can be inserted with the | character.&lt;br /&gt;
* Image sizes change with the column width.&lt;br /&gt;
* Only one column pattern can be added for each group preset.&lt;br /&gt;
&lt;br /&gt;
====Sorting pattern====&lt;br /&gt;
This pattern is used to sort the playlist when clicking on a group column.&lt;br /&gt;
&lt;br /&gt;
===Subgroups===&lt;br /&gt;
* Subgroups are listed within the tracks next to group columns.&lt;br /&gt;
* The default [Disc %discnumber%] subgroups are only displayed for albums with discnumbers.&lt;br /&gt;
* The image size is the same as for headers.&lt;br /&gt;
&lt;br /&gt;
===Group statistics===&lt;br /&gt;
The following title formatting fields can be used in the group patterns to display statistics for all tracks contained in a group. Their results are ignored when comparing tracks to determine groups.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%bitrate%&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize%&lt;br /&gt;
|Total size in bytes.&lt;br /&gt;
|-&lt;br /&gt;
|%filesize_natural%&lt;br /&gt;
|Total size, automatically formatted in appropriate units such as MB or GB.&lt;br /&gt;
|-&lt;br /&gt;
|%first_release%&lt;br /&gt;
|First date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%items%&lt;br /&gt;
|Number of group tracks.&lt;br /&gt;
|-&lt;br /&gt;
|%last_modified%&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|%last_release%&lt;br /&gt;
|Last date or release date from metadata.&lt;br /&gt;
|-&lt;br /&gt;
|%length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%length_seconds%&lt;br /&gt;
|Total length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%lossless_ratio%&lt;br /&gt;
|Number of lossless tracks, in percent without %.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from playback statistics or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|-&lt;br /&gt;
|%replaygain_track_peak%&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group playback statistics===&lt;br /&gt;
The following fields require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;175&amp;quot;|Field&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%first_added%&lt;br /&gt;
|First time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%first_played%&lt;br /&gt;
|First time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%last_added%&lt;br /&gt;
|Last time a track has been added.&lt;br /&gt;
|-&lt;br /&gt;
|%last_played%&lt;br /&gt;
|Last time a track has been played.&lt;br /&gt;
|-&lt;br /&gt;
|%play_count%&lt;br /&gt;
|Total play count.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length%&lt;br /&gt;
|Total played length, formatted as [hh:]mm:ss.&lt;br /&gt;
|-&lt;br /&gt;
|%played_length_seconds%&lt;br /&gt;
|Total played length in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|%rating%&lt;br /&gt;
|Average rating from database or metadata, as number from 1 to 5.&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars%&lt;br /&gt;
|Same as above, formatted as up to five stars, e.g. ★★★&lt;br /&gt;
|-&lt;br /&gt;
|%rating_stars_fixed%&lt;br /&gt;
|Same as above, formatted as five stars, e.g. ★★★☆☆&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Group colors===&lt;br /&gt;
Groups use the [[Foobar2000:Preferences:Default_User_Interface:Colors_and_Fonts|default highlight color]]. &amp;lt; and &amp;gt; characters can be used to dim individual parts, similar to [[#Column_colors|column colors]].&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
To display album art in group headers, columns, or subgroups:&lt;br /&gt;
# Open Preferences, Display, SimPlaylist, Groups.&lt;br /&gt;
# Select a grouping preset.&lt;br /&gt;
# Click into the display column of a header, column, or subgroup.&lt;br /&gt;
# Make sure Image/Text is selected.&lt;br /&gt;
# Select one of artist, front, back, or disc image types.&lt;br /&gt;
# Press Apply or OK to save the changes.&lt;br /&gt;
&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Header and subgroup images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* Column images can be resized by changing the column width.&lt;br /&gt;
&lt;br /&gt;
==Search==&lt;br /&gt;
SimPlaylist includes a second UI element that acts as a playlist search. It can be opened via Edit, Search (F3) or embedded into the user interface.&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_simplaylist Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Preferences-Columns.png&amp;diff=22925</id>
		<title>File:Foobar2000-SimPlaylist-Preferences-Columns.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-SimPlaylist-Preferences-Columns.png&amp;diff=22925"/>
		<updated>2011-08-17T20:53:52Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22924</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22924"/>
		<updated>2011-08-17T20:32:45Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Search help */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Facets layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be insert before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another, to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Facets toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Facets filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Facets preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played. Based on %play_count%.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and %play_count%. Note that this counts tracks as fully played each time, even if playback was stopped after playback statistics counted the track as played (usually after one minute).&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22923</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22923"/>
		<updated>2011-08-17T20:30:53Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Toolbar */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Facets layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be insert before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another, to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar-Layout.png|thumb|Facets toolbar layout editing]]&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Facets filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens the query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Facets preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played. Based on %play_count%.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and %play_count%. Note that this counts tracks as fully played each time, even if playback was stopped after playback statistics counted the track as played (usually after one minute).&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-Facets-Toolbar-Layout.png&amp;diff=22922</id>
		<title>File:Foobar2000-Facets-Toolbar-Layout.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=File:Foobar2000-Facets-Toolbar-Layout.png&amp;diff=22922"/>
		<updated>2011-08-17T20:29:53Z</updated>

		<summary type="html">&lt;p&gt;Neptune: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
	<entry>
		<id>https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22921</id>
		<title>Foobar2000:Components/Facets (foo facets)</title>
		<link rel="alternate" type="text/html" href="https://wiki.hydrogenaudio.org/index.php?title=Foobar2000:Components/Facets_(foo_facets)&amp;diff=22921"/>
		<updated>2011-08-17T20:20:28Z</updated>

		<summary type="html">&lt;p&gt;Neptune: /* Search */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{fb2k}}&lt;br /&gt;
[[Category:Foobar2000 3rd-Party Components|Facets (foo facets)]]&lt;br /&gt;
&lt;br /&gt;
Media library viewer with multiple columns, album art, statistics, and search functions.&lt;br /&gt;
&lt;br /&gt;
* [[#Facets_1.0_release_notes|Facets 1.0 release notes]]&lt;br /&gt;
* [[#Change_log|Facets 1.0 change log]]&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;!-- To be added with the final version.&lt;br /&gt;
===Preconfigured layouts===&lt;br /&gt;
Several user interface layouts are automatically installed with the component.&lt;br /&gt;
Open the &amp;quot;View&amp;quot; menu, choose &amp;quot;Layout&amp;quot;, &amp;quot;Quick Setup&amp;quot;, and select one of the Facets main layouts.&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
===Integrate into the user interface===&lt;br /&gt;
Enable the [[Foobar2000:Layout Editing Mode|layout editing mode]] at &amp;quot;View&amp;quot;, &amp;quot;Layout&amp;quot; to manually add Facets as a UI element.&lt;br /&gt;
&lt;br /&gt;
===Popup window===&lt;br /&gt;
Choose &amp;quot;Facets&amp;quot; from the &amp;quot;Library&amp;quot; menu to open it in a new window.&lt;br /&gt;
If a Facets UI element has already been integrated into the user interface, this will focus the existing instance. Hold Shift when selecting the menu item to force open a new window. Note that in order to edit the layout, Facets&#039; own layout editing mode toolbar will have to be enabled.&lt;br /&gt;
&lt;br /&gt;
==Layout==&lt;br /&gt;
===Panes===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Panes-Layout.png|thumb|Facets layout editing]]&lt;br /&gt;
&lt;br /&gt;
By default, Facets is split into three panes. By enabling the [[Foobar2000:Layout Editing Mode|layout editing mode]] and right-clicking on one of them, panes can be removed, and new panes can be insert before or appended after the selected one.&lt;br /&gt;
&lt;br /&gt;
The cut, copy, and paste commands can be used to reorder panes, or to transfer them between different Facets UI elements. Panes can be arranged next or below to another, to toggle the orientation, right-click on one of the splitters between two panes while in layout editing mode, and select &amp;quot;horizontal&amp;quot; or &amp;quot;vertical&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Toolbar===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Toolbar.png|none|frame|Facets toolbar]]&lt;br /&gt;
&lt;br /&gt;
To control the toolbar, enable the layout editing mode, and right-click on it. &lt;br /&gt;
* &amp;quot;Bottom-dock toolbar&amp;quot; moves the toolbar below the panes. Repeating this action will move it back to the top. &lt;br /&gt;
* Unchecking &amp;quot;Show the toolbar&amp;quot; disables the toolbar entirely.&lt;br /&gt;
* To restore the toolbar, right-click on one of the splitters between two panes, and re-enable &amp;quot;Show the toolbar&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
====Source====&lt;br /&gt;
Toggles between browsing and searching in the contents of the media library and the current playlist. Can be set to automatic to display the playlist by default, and to switch to the library if the library selection playlist is active. &lt;br /&gt;
&lt;br /&gt;
====Filter====&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences-Filters.png|thumb|Facets filters preferences]]&lt;br /&gt;
&lt;br /&gt;
Selects one or multiple frequently used searches. Panes are automatically filtered according to the results. Once a filter has been selected, the toolbar button can be clicked to quickly enable or disable it. Note that some predefined filters require the [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
&lt;br /&gt;
====Search====&lt;br /&gt;
&lt;br /&gt;
Filters panes based on a [[Foobar2000:Query_syntax|query]]. To focus the search box, press F3 from a Facets pane, or assign a [[Foobar2000:Preferences:General:Keyboard_Shortcuts|keyboard shortcut]] like Ctrl+F to [main] / Library / Facets.&lt;br /&gt;
&lt;br /&gt;
====Search results====&lt;br /&gt;
Click on the dropdown button to display a menu for filter and search results. When browsing the library, the default action is the same as the double-click action, which can be configured at Preferences, Media Library, Facets. For playlists, clicking on the button starts playback of the first track in the search results.&lt;br /&gt;
&lt;br /&gt;
====Search help====&lt;br /&gt;
Opens the query syntax reference in the browser.&lt;br /&gt;
&lt;br /&gt;
====Layout editing mode====&lt;br /&gt;
Activates the integrated layout editing mode. Only available for the standalone window opened from the Library menu, and the autoplaylist editor dialog. Embedded UI elements automatically detect the layout editing mode of the default user interface.&lt;br /&gt;
&lt;br /&gt;
==Columns==&lt;br /&gt;
Each pane can display one or multiple columns. To change them, right-click on one of the column headers.&lt;br /&gt;
===Example===&lt;br /&gt;
Set the first pane to genre, the second to artist, and the third to album. In the third one, enable multiple columns and add the date column. Resize and reorder them to your liking.&lt;br /&gt;
===Column patterns===&lt;br /&gt;
&lt;br /&gt;
[[Image:Foobar2000-Facets-Preferences.png|thumb|Facets preferences]]&lt;br /&gt;
&lt;br /&gt;
Columns are based on [[Foobar2000:Title_Formatting_Introduction|title formatting]]. Their patterns can be edited at Preferences, Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
====Missing fields====&lt;br /&gt;
Depending on the pattern, missing fields are treated in different ways:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;150&amp;quot;|Syntax&lt;br /&gt;
! Tracks without the specified field&lt;br /&gt;
! Summary item&lt;br /&gt;
|-&lt;br /&gt;
|%field%&lt;br /&gt;
|Listed under &amp;quot;?&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|-&lt;br /&gt;
|[%field%]&lt;br /&gt;
|Not listed at all, because the result is empty.&lt;br /&gt;
|Only contains tracks where the field exists. &amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|$if2(%field%,Unknown)&lt;br /&gt;
|Listed under &amp;quot;Unknown&amp;quot;.&lt;br /&gt;
|Contains all tracks.&lt;br /&gt;
|}&lt;br /&gt;
:# The rationale for ignoring empty results in the summary item is that, for example, selecting &amp;quot;All (# albums)&amp;quot; should only select actual albums, and not unsorted tracks without an album field. To display all items in the next pane, including those without the field, unselect the summary item with Ctrl-click if necessary.&lt;br /&gt;
&lt;br /&gt;
====Multivalue fields====&lt;br /&gt;
Some fields like genre typically have multiple values. Facets makes some additions which allow values to be split into individual items:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;250&amp;quot;|Syntax&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|%&amp;lt;field&amp;gt;%&lt;br /&gt;
|Checks one or more metadata fields according to the title formatting definition of the specified field. For the first field that is found, multiple values are split into separate items.&lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch(field)&lt;br /&gt;
|Splits multiple values of specified field into separate items. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_stripprefix(field)&lt;br /&gt;
|Same as above, additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; from each value. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_swapprefix(field)&lt;br /&gt;
|Same as above, additionally moves leading “The” or “A” to the end. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap(field)&lt;br /&gt;
|Same as %&amp;lt;field&amp;gt;%. &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_stripprefix(field)&lt;br /&gt;
|Additionally removes leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot;. For use instead of nonworking $stripprefix(%&amp;lt;artist&amp;gt;%). &lt;br /&gt;
|-&lt;br /&gt;
|$meta_branch_remap_swapprefix(field)&lt;br /&gt;
|Additionally moves leading &amp;quot;The&amp;quot; or &amp;quot;A&amp;quot; to the end. For use instead of nonworking $swapprefix(%&amp;lt;artist&amp;gt;%).&lt;br /&gt;
|}&lt;br /&gt;
Note that some title formatting functions are incompatible with fields that have been split this way. This applies to string comparison and measuring functions, such as $strcmp and $strstr, as well as any string manipulation function that removes a part of a string or inserts a substring by position, such as $left, $right, $cut, and $pad. Due to popular demand, compatible versions of $stripprefix and $swapprefix have been implemented as shown in the above table. It should be safe to use any function that replaces characters or sequences of characters, including $lower, $upper, $caps, $caps2, and $ansi.&lt;br /&gt;
&lt;br /&gt;
====Multiple patterns====&lt;br /&gt;
Multiple patterns can be combined with | to display values from different fields in the same column. For example, %&amp;lt;artist&amp;gt;%|%&amp;lt;composer&amp;gt;% lists both artists and composers, which might be useful to create a list of persons regardless of their actual role.&lt;br /&gt;
&lt;br /&gt;
====Colors====&lt;br /&gt;
Use &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts, with up to three levels, for example: &amp;lt;dimmed&amp;gt;, &amp;gt;highlight&amp;lt;, &amp;gt;&amp;gt;more highlight&amp;lt;&amp;lt;. Note that text in parentheses &amp;quot;(...)&amp;quot;, brackets &amp;quot;[...]&amp;quot;, and braces &amp;quot;{...}&amp;quot; is dimmed automatically. Color functions including $rgb, $hsl, $blend, and $transition are not supported.&lt;br /&gt;
&lt;br /&gt;
To display the &amp;lt; and &amp;gt; characters, use $char(60) and $char(62).&lt;br /&gt;
&lt;br /&gt;
===Ignore leading &amp;quot;The&amp;quot; when sorting===&lt;br /&gt;
Sorts items such as &amp;quot;The Beatles&amp;quot; among other entries starting with &amp;quot;B&amp;quot;, while still displaying &amp;quot;The Beatles&amp;quot;. Alternatively, columns can be changed to display &amp;quot;Beatles, The&amp;quot; or just &amp;quot;Beatles&amp;quot; by setting the pattern to, for example: $swapprefix(%artist%) or $stripprefix(%artist%), respectively.&lt;br /&gt;
&lt;br /&gt;
===Summary item of date columns===&lt;br /&gt;
For columns containing &amp;quot;date&amp;quot; or &amp;quot;year&amp;quot; in their name, instead of the number of different dates, the summary item displays the number of years from the first to the last year (e.g. 5 years if the displayed dates range from 2007 to 2011; yes, five and not four). To be read as how many years an artist has been active or similar.&lt;br /&gt;
&lt;br /&gt;
===Folder columns===&lt;br /&gt;
Folder columns are not based on title formatting. They display folders relative to the music folders set up at Preferences, Media Library, or, when browsing the current playlist, the full file path including the drive letter at the first level. Folder columns can be added to multiple panes to display several levels of subfolders. To mimic the typical appearance of some file managers, symbols at the right indicate the presence of subitems in the next pane.&lt;br /&gt;
&lt;br /&gt;
===Automatic column resizing===&lt;br /&gt;
Multiple columns are automatically resized to use the full width. To avoid frequent readjustments, the size of statistics and columns named *date*, *year*, *number*, or codec remains the same if another column can be resized.&lt;br /&gt;
&lt;br /&gt;
==Statistics==&lt;br /&gt;
Statistics are columns that display aggregated information for the tracks contained in each item.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|Bitrate&lt;br /&gt;
|Average bitrate.&lt;br /&gt;
|-&lt;br /&gt;
|Duration&lt;br /&gt;
|Total length.&lt;br /&gt;
|-&lt;br /&gt;
|First release&lt;br /&gt;
|First date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Index&lt;br /&gt;
|Position in the list, always ranges from 1 to the number of displayed items, regardless of how items are sorted. Useful to quickly see the top or bottom N elements. The summary item displays the total number of items.&lt;br /&gt;
|-&lt;br /&gt;
|Items&lt;br /&gt;
|Number of tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Last modified&lt;br /&gt;
|Last time a track has been modified.&lt;br /&gt;
|-&lt;br /&gt;
|Last release&lt;br /&gt;
|Latest date or release date tag.&lt;br /&gt;
|-&lt;br /&gt;
|Lossless ratio&lt;br /&gt;
|Number of lossless files, in percent.&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating from metadata, displayed as stars. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|-&lt;br /&gt;
|Subitems&lt;br /&gt;
|Number of subitems in the next pane.&lt;br /&gt;
|-&lt;br /&gt;
|Total peak&lt;br /&gt;
|Highest peak of ReplayGain-scanned tracks.&lt;br /&gt;
|-&lt;br /&gt;
|Total size&lt;br /&gt;
|Sum of file sizes.&lt;br /&gt;
|}&lt;br /&gt;
===Playback statistics===&lt;br /&gt;
The following statistics require the additional [http://www.foobar2000.org/components/view/foo_playcount playback statistics component].&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!width=&amp;quot;100&amp;quot;|Statistic&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|First added&lt;br /&gt;
|First time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|First played&lt;br /&gt;
|First time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Last added&lt;br /&gt;
|Last time a track has been added. Based on %added%.&lt;br /&gt;
|-&lt;br /&gt;
|Last played&lt;br /&gt;
|Last time a track has been played. Based on %last_played%.&lt;br /&gt;
|-&lt;br /&gt;
|Played&lt;br /&gt;
|Number of times a track has been played. Based on %play_count%.&lt;br /&gt;
|-&lt;br /&gt;
|Played duration&lt;br /&gt;
|Sum over products of duration and %play_count%. Note that this counts tracks as fully played each time, even if playback was stopped after playback statistics counted the track as played (usually after one minute).&lt;br /&gt;
|-&lt;br /&gt;
|Rating&lt;br /&gt;
|Average rating, displayed as stars. Checks playback statistics %rating% first, then metadata field rating. The text color is dimmed according to the number of files that are rated, which indicates the reliability of the displayed value. This is also taken into account when sorting by rating.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Display==&lt;br /&gt;
===Columns===&lt;br /&gt;
By default, panes display their contents in a table-like view.&lt;br /&gt;
&lt;br /&gt;
===Album art===&lt;br /&gt;
Additionally, one of three different views with album art can be selected:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Display&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
|right labels&lt;br /&gt;
|Best used with three or more columns. &lt;br /&gt;
|-&lt;br /&gt;
|bottom labels&lt;br /&gt;
|Best used with one or two columns. Requiring less space for labels, it is better suited for larger images.&lt;br /&gt;
|-&lt;br /&gt;
|no labels&lt;br /&gt;
|Can be used if all albums have album art and if they can be identified without any additional text.&lt;br /&gt;
|}&lt;br /&gt;
* Album art is loaded from the file sources defined at [[Foobar2000:Preferences:Display|Preferences: Display]] and embedded images.&lt;br /&gt;
* Images can be resized/zoomed by holding the Ctrl key and rotating the mouse wheel.&lt;br /&gt;
* To change the order of displayed lines, reorder the columns in the header. The first line displays the first column, and so on.&lt;br /&gt;
* Text in the first line is always displayed in bold, which makes it an ideal choice for the column that best distinguishes individual items.&lt;br /&gt;
* The third and following lines are dimmed automatically. Use them for less important columns, such as dates or statistics.&lt;br /&gt;
* For a pane that lists albums, a recommended order would be album, album artist, and date.&lt;br /&gt;
&lt;br /&gt;
==Playlist interaction==&lt;br /&gt;
===Library selection playlist===&lt;br /&gt;
In media library mode, Facets sends the current selection to foobar2000&#039;s library selection playlist. Note that it creates the selection playlist even if it has not been enabled at [[Foobar2000:Preferences:Media Library|Preferences: Media Library]] to allow for a faster way of sending tracks to it. The &amp;quot;Activate when changed&amp;quot; option is ignored as well. To prevent selection changes from interrupting playback, Facets can be configured to preserve the playlist if the playing track is no longer selected, and to create a new selection playlist instead.&lt;br /&gt;
===Double-click action===&lt;br /&gt;
The double-click action is automatically set to &amp;quot;Send to current playlist&amp;quot; if the library selection playlist is used. It is only configurable when the selection action is set to &amp;quot;None&amp;quot;.&lt;br /&gt;
===Creating autoplaylists===&lt;br /&gt;
To create an autoplaylist, right-click on a pane selection, or, if available, use the search results toolbar menu, and choose &amp;quot;Create autoplaylist&amp;quot;. Autoplaylists are automatically updated to include tracks that match the search results or selected items. Note that their sort order is fixed to the &amp;quot;Default sort order&amp;quot; option at Preferences, Facets, unless the filter or search query used for the autoplaylist includes a SORT BY or SORT DESCENDING BY statement.&lt;br /&gt;
===Editing created autoplaylists===&lt;br /&gt;
To change the settings of a created autoplaylist, right-click on its playlist tab or playlist manager entry, and choose &amp;quot;Autoplaylist (Facets)&amp;quot;. This will open the Facets view with the settings and selection used to create the autoplaylist. Note that in order to change the layout of panes, Facets&#039; own layout editing mode toolbar will have to be added and selected. After clicking on the close window button (X), a dialog will ask if the changes should be saved.&lt;br /&gt;
===Displaying contents of the current playlist===&lt;br /&gt;
Instead of the media library, Facets can also be set to watch the active playlist via the source toolbar. Playlist views will follow the Facets selection and focus, but not the other way around.&lt;br /&gt;
&lt;br /&gt;
==Selection logic==&lt;br /&gt;
Holding the Shift key when right-clicking on column headers reveals the selection logic option. It controls how tracks of multiple selected items are combined. The default behaviour &amp;quot;OR&amp;quot; selects all tracks that can be found in any of the selected items, while &amp;quot;AND&amp;quot; only selects tracks that can be found in all selected items. For example, in a genre pane, AND selection logic can be used to obtain tracks that have all selected genres.&lt;br /&gt;
&lt;br /&gt;
==Facets 1.0 release notes==&lt;br /&gt;
===Upgrading from older versions===&lt;br /&gt;
All settings should be carried over to the new version. To be absolutely safe, backups of the current configuration can be kept, and, in case some settings were not imported correctly, put back later to repeat the update process with a fixed version. To locate the configuration files, hold the Shift key and select &amp;quot;Browse configuration folder&amp;quot; from the File menu.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Object&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
|foo_facets.cfg&lt;br /&gt;
|Found in the configuration subfolder. Stores column patterns.&lt;br /&gt;
|-&lt;br /&gt;
|theme.fth&lt;br /&gt;
|Contains the current user interface layout, including Facets UI elements.&lt;br /&gt;
|-&lt;br /&gt;
|playlists folder&lt;br /&gt;
|Includes settings of created autoplaylists.&lt;br /&gt;
|}&lt;br /&gt;
Note that when installing an older version over Facets 1.0, the old configuration files will have to be put back in place. Due to new configuration formats, settings written by the new version cannot be ported back to the old one.&lt;br /&gt;
&lt;br /&gt;
Keeping the old version by renaming the component DLL file will lead to conflicts and is not supported.&lt;br /&gt;
&lt;br /&gt;
===Default sort order option===&lt;br /&gt;
A new setting at Preferences, Media Library, Facets now determines the order of media library items. &amp;quot;Sort incoming files by&amp;quot; at Preferences, Shell integration is no longer used when sending tracks to playlists. If this option has been changed, it is recommended to copy the pattern to the new location.&lt;br /&gt;
&lt;br /&gt;
===Displaying items with leading &amp;quot;The&amp;quot;===&lt;br /&gt;
The option to ignore the leading &amp;quot;The&amp;quot; when sorting is still present. To change the display of affected items, instead of the previously available option, $stripprefix or $swapprefix can be used in the pattern of columns such as artist or album artist.&lt;br /&gt;
===Setting colors in column patterns===&lt;br /&gt;
Due to hardcoded colors being incompatible with different color schemes, title formatting functions to indicate colors - $rgb, $hsl, $blend, and $transition - can no longer be used in column patterns. Upgrading to the new version will not change existing columns, but color functions will no longer have any effect. Supported now are the &amp;lt; and &amp;gt; characters to dim or apply the highlight color to individual parts. Please see the title formatting syntax help for details and examples. Text in parenthesis is still dimmed by default.&lt;br /&gt;
&lt;br /&gt;
===New predefined filters===&lt;br /&gt;
The search box no longer keeps a history of recently used searches. Instead, a new filter toolbar has been introduced to quickly access frequently used search queries, along with a new preferences page below Media Library, Facets.&lt;br /&gt;
&lt;br /&gt;
===Version numbering scheme===&lt;br /&gt;
Facets now uses actual version numbers instead of the release date.&lt;br /&gt;
&lt;br /&gt;
==Change log==&lt;br /&gt;
===1.0===&lt;br /&gt;
User interface:&lt;br /&gt;
* New Album art display modes&lt;br /&gt;
* Themed selection style with default background colors&lt;br /&gt;
* Automatic column size adjustment to use the full width&lt;br /&gt;
* Smooth mouse scrolling with middle-button.&lt;br /&gt;
* Mouse rectangle selection from all columns instead of only the first one&lt;br /&gt;
* Edit, Select all, Ctrl+A selects the summary item, option to hide it&lt;br /&gt;
* Thinner splitters, cut/copy/paste individual panes in layout editing mode&lt;br /&gt;
* Faster column sorting, initialization of multiple columns&lt;br /&gt;
* Previous scroll positions are restored after restart&lt;br /&gt;
Search:&lt;br /&gt;
* Filter toolbar for frequently used searches, new search results menu&lt;br /&gt;
* Reset button can be disabled or moved in front of the search box&lt;br /&gt;
* Search syntax supports DURING LAST, SORT BY, SORT DESCENDING BY&lt;br /&gt;
* Added entry to the library menu, assign as keyboard shortcut to focus the search&lt;br /&gt;
* Fixed search box redraw problems with classic visual style&lt;br /&gt;
Playlist interaction:&lt;br /&gt;
* New source mode to display contents of the current playlist&lt;br /&gt;
* Use media library selection playlist, faster playlist updates&lt;br /&gt;
* Playing selection playlist is preserved by default when changing selection&lt;br /&gt;
* Autoplaylist editor, opens Facets view that was used to create it&lt;br /&gt;
Preferences:&lt;br /&gt;
* Updated preferences page to use new buttons, refined looks&lt;br /&gt;
* Title formatting additions to deal with leading &amp;quot;The&amp;quot; of multivalue fields&lt;br /&gt;
* Color control syntax to &amp;lt;dim&amp;gt; and &amp;gt;highlight&amp;lt; text, removed $rgb support&lt;br /&gt;
* Default sort order option replaces usage of &amp;quot;Sort incoming files by&amp;quot;&lt;br /&gt;
Other:&lt;br /&gt;
* New statistics: first and last added, last release, lossless ratio, played duration, total peak&lt;br /&gt;
* Ratings use playback statistics database in addition to tags&lt;br /&gt;
* Optional AND selection logic, useful to find tracks with all selected genres&lt;br /&gt;
* Removed useless &amp;quot;Remove dead entries&amp;quot; context menu entry&lt;br /&gt;
&lt;br /&gt;
==Links==&lt;br /&gt;
* [http://www.foobar2000.org/components/view/foo_facets Official website]&lt;/div&gt;</summary>
		<author><name>Neptune</name></author>
	</entry>
</feed>