Dec 14 2006
Terrestrial has updated his track info mod component to allow quick and easy image rotations, upon my request and within an hour of making that request which is quite astonishing. Anyway, these new found super powers enable us to create sexy image reflections which fade out using a simple transparent to black (or whatever colour) PNG overlay.
My latest design efforts see a scalable version of this with top left artist images. The artwork itself acts as a Play or Pause button, unless the cover art does not exist, in such a case the button action calls up a Custom Run script Cover Downloader which uses Amazon to find album art images and save them to the audio file directory. Similarly, when artist images do not exist a custom run GetArtistImg script that I created downloads the image and saves it as %artist%.jpg etc.
I’m always adding functions and tweaking it so it’s not quite done yet, but here are some screenshots:
Nov 1 2006
Terrestrial has made another great update to his single column playlist module for Foobar2000 v0.9. This latest change adds the following functionality:
+ some tweaks to multiple window / multiple playlists
+ added “Playing” playlist selection
+ $fileexists()
+ added NOKEEPASPECT option for images
+ added wildcard support for images
+ added alignment options for images VALIGN-T (vertical align-TOP), VALIGN-B, HALIGN-L, HALIGN-R
I have highlighted the key improvements that I am now making use of. With these new additions images can be stretched to fit a give frame, for example:
$imageabs2(100,100„,100,100,5„$replace(%path%,%filename_ext%,*.jpg),NOKEEPASPECT)
This will display an image (finds any .jpg in the song’s directory thanks to the new wildcard function — * is the wildcard) and stretch it to fit a 100x100 frame. Expanding upon this using the new fileexists function:
$if($fileexists($replace(%path%,%filename_ext%,*.jpg)),
$puts(albumMarg,110)
$puts(datax,160)
$imageabs2(100,100„,100,100,5„$replace(%path%,%filename_ext%,*.jpg),NOKEEPASPECT)
$imageabs(5„images/artoverlay-1.png ‚)
$drawrect(5,0,100,100,brushcolor-null pencolor-0–0-0)
$drawrect(6,1,98,98,brushcolor-null pencolor-150–150-150)
,
$puts(albumMarg,10)
$puts(datax,60))
This checks that the images is there, if it is it defines a specific margin for later use in positioning of artist, album and trackinfo. It then draws the image, a PNG overlay and some surrounding borders. If the image doesn’t exist it defines a different margin so that the song data does not surround an empty space and instead is closer to the left, for example:
Aug 21 2006
So I have spent some time working with the latest trackinfo_mod beta panel that is available for the latest version of foobar2000 (0.9.3.1). It has the great ability to support PNGs which can be absolutely positioned. I decided to opt for a clear and non-invasive design that can be read at a distance (I hate having to get up from bed to see what song is playing). So I made the artist and title large, the album name a little bigger and then of course a huge album art cover. Of course this makes browsing for songs to play a little difficult so under the browse tab at the bottom there is an auto-hide columns UI playlist and album list panel, as shown in the handy (yet miniaturised for this blog) GIF. To see a full version of my setup click this link: Screenshot