« Previous Entries

Foobar Code Release Pack Version 0.2

Feb 20 2007

Many have asked for this, rather than rush out the first release I spent a while refining the code and commenting the various sections. Hopefully everything will be relatively understandable. All image sources are defined in variables at the top of the code, as are font sizes, colours and alignment variables. Please look at the readme.txt file which contains links and information about the required components, fonts and images. The code is in the new standard .pui format which should be placed in your “ C:\Documents and Settings\USER\Application Data\foobar2000\PanelsUI” folder and loaded through Foobar2000’s PanelsUI preferences dialogue.

The code has been released under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 license which allows derivative works. Please do not remove the link back to this website or the copyright information.

Download Version 0.2

I am now openly accepting feature requests and answering questions.
NOTE: For Single Column Playlist, Row Height: 17, Group Rows: 5
My Windows Visual Style is Inverso Reborn Balanced and a discussion and link can be found here. A good resource for downloading artist images is http://artists.trivialbeing.org

Components Required

Fonts

  • Bebas
  • Calibri – Comes with Windows Vista and cannot be redistributed (but you may find a site that has it)
  • BigNoodleTitling

PanelsUI – The next step in Foobar aesthetics

Feb 14 2007

Terrestrial has done it again, this time it is his third component, PanelsUI . Until now, all foobar menus, toolbars and panels were arranged using ColumnsUI in any desired grid format – these panels were distinguished by irremovable borders that were defined by Window's visual style, much to the distate of budding user interface designers everywhere. PanelsUI offers a clean new approach – using scripts (in the familiar trackinfo mod format) panels themselves can be absolutely positioned and played with. New "persisting variables" or PVARS allow these scripts to store and edit variables in memory using buttons (see function: $button). In combination a slew of exciting new opportunities are possible; tabbed panels without the need for tabs_ui, clickable pop-ups, scripted interaction between trackinfo's, SCPL and PanelsUI, amongst others. To explain in words the potential is proving difficult, so I will show you some early design animations:

Tabbed panels, changed by clicking the buttons on the bottom menu
The image

Pop-up playlist, this appears beneath when thin (as below) and to the side when wide.
The image

A pop-up menu, buttons and control panel
The image

Im sure I will think of some much more advanced uses of this integration in the near future. But for now I think this is exciting enough. For those interested, to get going, the code for tabbed panels in PanelsUI is:

$select($add($getpvar(display.mode),1),
$panel(Option1,Track Display,0,20,%_width%,140,)
,
$panel(Option2,Album list,0,20,%_width%,140,)
,
$panel(Option3,Console,0,20,%_width%,140,)
)
$button2(0,160,0,0,14,14,button text,button text,'PVAR:SET:display.mode:0',)
$button2(14,160,0,0,14,14,button text, button text,'PVAR:SET:display.mode:1',)
$button2(28,160,0,0,14,14, button text,button text ,'PVAR:SET:display.mode:2',)

This simple example (that needs the button text replaced with a $font()text code) is the basis for tabs, clicking the first button shows the track display, the second an album list, third a console.

Foobar SCPL Code Fix

Feb 3 2007

Just a quick note to say I have cleaned up my SCPL code and fixed all the known bugs, get the latest code here (the old one had a lot of code left over from a previous SCPL, all of which has now been removed):

http://host.trivialbeing.org/up/foobarfixed2.txt

– Fixed the crop issues related to selected and now playing songs
– Made the track title text area adaptive to the width of the window, so it crops only when it needs to
– Stopped album art showing for groups with only 1 track, as in this case the picture is ridiculously small.

Some images:
The image The image The image

Foobar SCPL Updates 2

Jan 30 2007

Well, it seems I am never satisfied with my foobar designs, so I spent some time last night refining it some more.

I decided to alter my SCPL to make things clearer. The code is here (note, this is a work in progress and the code still looks messy), row height = 17, group rows = 4: GROUP | ITEMS

Some things to note, the album art resizes to an optimum display size, so that albums of three tracks only can have art work displayed without all the other albums suffering from a small display size. The maximum image size is also easily defineable, so with one change I can make all the artwork scale up to 300px. The second image shows how Various Artist albums are handled.

I built the playcounts into a form of hotness rating, so that the more a track is played the deeper orange and brighter the track becomes. The ratings system is separate to this.

Foobar Design Refinements

Jan 25 2007
I have been working a little bit on my foobar design over the past few days, shifting the artist images into a more prominent position, adding a moody background and spicing up ye olde playlist. Click the images to see them in their crisp full res or visit the images section of this blog to find the wallpaper image. I plan to release the code for this when I am happy with it.

« Previous Entries