Foobar2000:Album Art Panel (foo uie albumart)

From Hydrogenaudio Knowledgebase
Revision as of 05:23, 5 February 2006 by Gfngfgf (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

Album Art Panel is a component for foobar2000 0.8.3 and Columns UI 0.1.2 that displays album art in a panel.


Features

  • Configurable sources list allows cycling of multiple images for a single track
  • Allows TAGZ and wildcards to specify image file location
  • Minimum height setting so album art panel can be placed in the toolbar (above the playlist)
  • Configurable resizing of album art to fit panel size
  • Sliding and fading transitions between album art
  • Configurable actions when panel is left-clicked, double-clicked, and middle-clicked.
  • Can display album art for either the currently playing track or the currently selected track


Reading Embedded Album Art

Album Art Panel does not support reading album art which has been embedded as a tag (for example, as an ID3v2 tag in an MP3). This is a limitation of foobar2000, and has nothing to do with Album Art Panel.

Sources List

The sources list allows you to use TAGZ to specify exactly where Album Art Panel will look for image files. In order to learn how to use the sources list, let's look at an example:

 $replace(%_path%,%_filename_ext%,)folder.jpg
 -match:$replace(%_path%,%_filename_ext%,)*
 -components\default.png
 match:C:\Music\Arts\%artist% %album%*
 -components\default.png

The sources list is organized into groups, based on which lines have a '-' in front of them. Each line that does not start with a '-' is the beginning of a new source group. A line which starts with '-' is part of the same source group as the line above it. In the example above, there are two source groups. The first source group consists of the first three lines and the second group consists of the last two lines.

If a line begins with "match:" or "-match:", the wildcard '*' can be used in place of one or any number of characters. For instance, the second line of the example above tells Album Art Panel to look for any file it can display in the same directory as the track. Album Art Panel will display the first image which matches the pattern.

The "Next Source" action (by default, left-clicking on the panel) will cycle through the source list as follows: If a wildcard is used, "Next Source" will cycle through all images which match the pattern. Otherwise, "Next Source" will cycle through the source groups.

Album Art Panel will first look for an image at the location indicated in the first line of a source group. In this example, it will look in the same directory as the track for a file called "folder.jpg". The TAGZ code takes the full path of the track, replaces the filename with a blank, and appends "folder.jpg" to the end (e.g, "C:\Music\Soundgarden\Badmotorfinger\01 Rusty Cage.mp3" becomes "C:\Music\Soundgarden\Badmotorfinger\folder.jpg").

If the image indicated by the first line cannot be found, Album Art Panel will look at subsequent lines within the same source group and display the first image which can be found. If no image within a source group can be found, Album Art Panel will try to display the next source group instead. If none of the source groups can be found, the display will be blank.

External Links