Help - Search - Members - Calendar
Full Version: mogelbrod PanelsUI layout
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3
vigge
mogelbrod foobar2000 layout 1.1a (1.2 beta1)
Last update: 2008-02-26 (2008-03-22)

IPB Image

Download @ deviantart.com (1.2 beta1)


After a failed attempt at creating a clean columns ui config I decided to go back to PanelsUI, although this time with simplicity and customizability in mind. No images are used and all the colors and fonts are changeable, although I created the layout based on my dark color scheme I use in the text editor EditPlus.

Changelog:

v1.2 beta1 - 2008-03-22
* Major overhaul for the root panel code.
* Added support for up to 3 columns, each with 1-5 separate panels.
* Tweaked track info panel once more.
* Stripped setup screen as some options are no longer available.

v1.1b - 2008-02-27
* Fixed the level of the volume bar to be able to reach 100%.

v1.1a - 2008-02-26
* Added album art panel support in sidebar.
* Album artist column added to playlist.

v1.1 - 2008-02-22
* Added playlist switcher (columns ui) support in sidebar.
* Added ability to add a channel spectrum panel in the track info panel, a csp-config has been provided to simplify setting it up.
* Added the ability to toggle all columns through the setup screen, and to also configure artist/album/title percentage widths which was previously only possible through coding.
* Tweaked track info extended/file/custom info positioning.

v1.0 - 2008-02-18
* Initial release.
labou
Thanks man. This is a pretty nice layout. It works very well.
spaceships
probably the best layout i've ever seen, nice work. really. smile.gif smile.gif
vigge
glad you liked it, a new version is in development which adds playlist support through the columns ui playlist switcher panel, and possibly the ability to have an album art panel and spectrum.
labou
definitely try to add an album art panel. that would b great
equinox
Very nice layout, I was really impressed with how simple but visually attractive it was. I like how neat you code as well, it was very easy to add a spectrum and lyric show to the side panel.

I do have a question though, I have never been unable to get the playcount to work. Im using a new foobar install with the components you listed for this layout as well as spectrum/lyric show. What options to i need to enable to get playcount to work? I had it set up to update the track/database as soon as the file plays but the counter never increases. Any help would be appreciated.
vigge
Great that my attempt at modularizing seems to have paid off for someone smile.gif
When it comes to playcount, I'm using foo_playback_custom.dll v1.4.1 coupled with foo_custominfo 0.1.2 and the following critical options:
[checked] Custom Info -> Enable field processing in title formatting scripts.
[checked] Playback Statistics Custom -> Play Counter [PLAY_COUNT] [checked] Convert old tag... [PLAY_COUNTER] (default value might be PLAY_COUNTER here, I swapped them since %play_count% seemed to be the original variable for Playback statistics)
You might also wish to check/uncheck "Only tracks in the media library update playbnack statistics", I've got this unchecked as fb2k only plays stuff in my media library anyway but your case might be different.
equinox
QUOTE(vigge @ Feb 21 2008, 14:17) *

Great that my attempt at modularizing seems to have paid off for someone smile.gif
When it comes to playcount, I'm using foo_playback_custom.dll v1.4.1 coupled with foo_custominfo 0.1.2 and the following critical options:
[checked] Custom Info -> Enable field processing in title formatting scripts.
[checked] Playback Statistics Custom -> Play Counter [PLAY_COUNT] [checked] Convert old tag... [PLAY_COUNTER] (default value might be PLAY_COUNTER here, I swapped them since %play_count% seemed to be the original variable for Playback statistics)
You might also wish to check/uncheck "Only tracks in the media library update playbnack statistics", I've got this unchecked as fb2k only plays stuff in my media library anyway but your case might be different.


awesome, thanks. It was play_count vs play_counter that was messing things up. Thanks. Awesome layout btw.
oscini
I would like to thank you for such a brilliant layout! However, I'm having some trouble setting it up... every time i select mogelbrod.pui from the PanelsUI layout list and "Save All," it reverts to default.pui and there is no sign of mogelbrod at all, not even the configuration screen. I have tried with the latest beta version of foobar (v0.9.5.1 beta 2) and with the latest stable release (v0.9.5). Am I doing something wrong?

EDIT: I notice now that you have PanelsUI 0.14.9 beta listed as required, but I can't find this (or any version above 0.13.7) to download. Any tips? Installed PanelsUI 0.14.9 beta and everything works: http://brett.free.fr/foobar/foo_ui_panels_0.14.9.zip

EDIT 2: Okay, most everything works. tongue.gif But the albums that show in the playlist view do not appear for me, it's just a long list of songs. How can I resolve this issue?
vigge
QUOTE(oscini @ Feb 22 2008, 02:30) *

I would like to thank you for such a brilliant layout! However, I'm having some trouble setting it up... every time i select mogelbrod.pui from the PanelsUI layout list and "Save All," it reverts to default.pui and there is no sign of mogelbrod at all, not even the configuration screen. I have tried with the latest beta version of foobar (v0.9.5.1 beta 2) and with the latest stable release (v0.9.5). Am I doing something wrong?

EDIT: I notice now that you have PanelsUI 0.14.9 beta listed as required, but I can't find this (or any version above 0.13.7) to download. Any tips? Installed PanelsUI 0.14.9 beta and everything works: http://brett.free.fr/foobar/foo_ui_panels_0.14.9.zip

EDIT 2: Okay, most everything works. tongue.gif But the albums that show in the playlist view do not appear for me, it's just a long list of songs. How can I resolve this issue?

Artist layout art is loaded from $get(artistPath)
For Album layout art it's $get(coverPath)
Check your user globals so that they are properly pointing to the correct paths
oscini
QUOTE(vigge @ Feb 22 2008, 01:29) *

QUOTE(oscini @ Feb 22 2008, 02:30) *

EDIT 2: Okay, most everything works. tongue.gif But the albums that show in the playlist view do not appear for me, it's just a long list of songs. How can I resolve this issue?

Artist layout art is loaded from $get(artistPath)
For Album layout art it's $get(coverPath)
Check your user globals so that they are properly pointing to the correct paths

Thank you vigge for that bit of information. I checked my user globals and they should be fine. Unfortunately, I'm very inexperienced with fb2k customization, so I would really appreciate a more in-detail description of how to incorporate album titles/art sections into the playlist view, as shown in vigge's animated screenshot. Is this done by manually editing something, or should it be working right off the bat from installing mogelbrod? I'll learn quickly, but I don't know where to start. Thanks to everyone in advance!
vigge
QUOTE(oscini @ Feb 22 2008, 09:59) *

Thank you vigge for that bit of information. I checked my user globals and they should be fine. Unfortunately, I'm very inexperienced with fb2k customization, so I would really appreciate a more in-detail description of how to incorporate album titles/art sections into the playlist view, as shown in vigge's animated screenshot. Is this done by manually editing something, or should it be working right off the bat from installing mogelbrod? I'll learn quickly, but I don't know where to start. Thanks to everyone in advance!
Heh, I kinda misunderstood your first post, if you're looking for a way to display the album titles/art (called group headers in PanelsUI): click the topright arrow (tooltip: 'Sort/Group by') and select a different layout in the menu that should appear. If you haven't configured the sort/group presets you can do so first by rightclicking somewhere in the playlist, chose 'Sort / Group by' -> Edit and you'll be able to add and remove presets which can then be accessed through the topright arrow button. The available layouts in mogelbrod are currently 'Artist' and 'Album', which one of them to use in each sort/group preset can be controlled in the 'Sort / Group by' window.
vigge
v1.1 released
oscini
Perfect. Thanks for the help, vigge!

However, I do have another question. tongue.gif Is there any way to add (the ID3 meta tag) "Album artist" as an option in the Sort/Group settings? I have a few "Various" artists albums, and it really clutters up my organization of Artist, both in the sidebar and in the playlist view when I set it to group by Artist.
vigge
Ctrl+P -> Panels UI -> Sort/Group -> go crazy creating new criterias smile.gif

I'll add an album artist column for the next version by the way, which will likely be released today.
84205706al
i love this pui and why not add "stop" button into it . laugh.gif
vigge
QUOTE(84205706al @ Feb 23 2008, 17:39) *

i love this pui and why not add "stop" button into it . laugh.gif

I don't really see the point of having one, either you're playing a song or you're not ;P
Adding one is kinda straight-forward though, just paste the following inbetween the previous and play/pause button code (rightclick the playback controls area and click configure):
CODE
    $button2(
        $put(x,$eval($get(x) + $get(controlsW) + $get(padding))),
        $get(controlsY),
        0,0,$get(controlsW),$get(toolbarH),
        $get(symbol1)<,
        $get(symbol1H)<,
        Stop,
        TOOLTIP:"Stop"
    )
delphine
QUOTE(equinox @ Feb 21 2008, 22:18) *

Very nice layout, I was really impressed with how simple but visually attractive it was. I like how neat you code as well, it was very easy to add a spectrum and lyric show to the side panel.


Hi, I'm really interested in how you managed to add your own panels? I would like to add a Lyric Show panel but am having trouble understanding the PanelsUI code enough to do so. All I've managed to do so far is replace the Track Info with Lyric Show, but that's not exactly what I want (I'd like them both!). Any help would be greatly appreciated smile.gif
vigge
First of all, sorry about the delay of 1.1a, I've been quite busy lately. Anyway, here it is:

v1.1a - 2008-02-26
* Added album art panel support in sidebar.
* Album artist column added to playlist.

I still haven't added support for the lyrics panel, I'm facing some design issues since the sidebar is running out of space ;P Need to figure out whether or not to allow for more dynamic placement of panels. If I do implement this it's gonna take a nasty amount of code which I fear will slow down the rendering considerably.

delphine: Clicking 'Settings...' in the menu which appears when rightclicking the foobar2000 titlebar will bring up the "main" drawing code, where panel positioning and visibility is calculated. Each panels width, height, x and y position is calculated first (under //Calculate positions and dimensions) and then rendered further down in the code. If you wish to add a new panel you will need to calculate its dimensions and position and also make sure the other panels whose position and dimensions will be affected by the new panel have their values changed accordingly. I haven't got the time needed to write a complete tutorial on how to do it but here's a quick guide (can't guarantee that it'll work though as I haven't tested it myself):

Find //...hidden and paste the following line below it:
CODE
        $puts(lyricsH,0)


Find //Quicksearch positioning and paste the following to the row above it:
CODE
//Lyrics panel positioning
        $puts(lyricsH,$get(sidebarW))
        $puts(lyricsY,$get(y))
        $puts(y,$add($get(y),$get(lyricsH)))


Find
CODE
//=============
//Quicksearch toolbar
//=============

and paste the following on the rows above it:
CODE
//=============
//Lyrics panel
//=============

// Background
$ifgreater($get(lyricsH),0,$drawrect(
    $get(pMargin),
    $add($get(lyricsY),$get(pMargin)),
    $eval($get(sidebarW) - 2*$get(pMargin)),
    $eval($get(lyricsH) - 2*$get(pMargin)),
    brushcolor-$get(b.even) pencolor-$get(b.border)
),)
// PerTrack
$ifgreater($get(lyricsH),0,
    $panel(Lyric Show,Lyric Show,
        $get(pMP),
        $add($get(lyricsY),$get(pMP)),
        $eval($get(sidebarW) - 2*$get(pMP)),
        $eval($get(lyricsH) - 2*$get(pMP)),
    )
,)


Click OK and a lyrics panel should be drawn above the main sidebar panel. Good luck!
oscini
I'm glad to see so much going on with this. biggrin.gif I have even made my own customizations, like setting the background of the track info panel to the album art...

Under "//Track info"
CODE

$imageabs2(
        $add($get(infoW), 4),
        $add($get(infoW), 4),,
        $add(
            $div($add(
                $get(infoW), 4),
                2),
            $div($get(rowH), 2)),,,,,
        $get(coverPath),
        NOKEEPASPECT | ALPHA-127)


There is probably a much more efficient way to do this, but that's what I've come up with...

In 1.1a, I'm unable to toggle either the Album Art panel or the Spectralyzer to the checked position, but that's fine with me. Finally, the volume control panel refuses to be set to a value higher than 98%, for reasons to do with the area the mouse can actually access in that small space, I assume. Slightly annoying, and I'd like to fix it. Any feedback?
vigge
By "toggle ... to the checked position" you mean enabling (showing) the panels I assume? Are you sure you've got foo_uie_vis_channel_spectrum.dll and foo_uie_albumart.dll in your components folder? If that's the case I'm clueless why you aren't able to check them :s

The volume panel stuck at 98% issue is known, afaik everyone should experience it as it (like you said if I got it right) seems to be caused by the width value of the volume power panel - as there's theoretically 1000 levels between mute and full volume it doesn't reach all the way up to 100% for most shorter widths. If you really want to be able to set the volume level to 100% you can try experimenting with the $puts(volumeW,100) variable in the controls panel.
Harun
this is just a little annoyance, but the track info does not update VBR files properly (i think it just displays the bitrate at the start of the song)
oscini
QUOTE(vigge @ Feb 26 2008, 15:46) *

By "toggle ... to the checked position" you mean enabling (showing) the panels I assume? Are you sure you've got foo_uie_vis_channel_spectrum.dll and foo_uie_albumart.dll in your components folder? If that's the case I'm clueless why you aren't able to check them :s

The volume panel stuck at 98% issue is known, afaik everyone should experience it as it (like you said if I got it right) seems to be caused by the width value of the volume power panel - as there's theoretically 1000 levels between mute and full volume it doesn't reach all the way up to 100% for most shorter widths. If you really want to be able to set the volume level to 100% you can try experimenting with the $puts(volumeW,100) variable in the controls panel.

Turns out I forgot to move the Spectrum dll into the components folder, and the Album Art dll was some ancient version. So all is well! I also managed a workaround for the Volume panel not reaching 100%.

Find:
CODE

$if(%panel_volume%,$setpvar(volumeLevel,%panel_volume%),)


And put the following below that line:
CODE

$ifgreater(%panel_volume%,970,$setpvar(volumeLevel,1000),)


So while the panel is any value above 97% (the closest you'll get is 96%), then it just jumps up to 100%.
Harun
QUOTE(oscini @ Feb 26 2008, 19:10) *
Find:
CODE

$if(%panel_volume%,$setpvar(volumeLevel,%panel_volume%),)


And put the following below that line:
CODE

$ifgreater(%panel_volume%,970,$setpvar(volumeLevel,1000),)


So while the panel is any value above 97% (the closest you'll get is 96%), then it just jumps up to 100%.



this just causes the volume display to stay at 100% (although the volume updates fine when you try to adjust it)
oscini
QUOTE(Harun @ Feb 26 2008, 22:26) *

this just causes the volume display to stay at 100% (although the volume updates fine when you try to adjust it)

I know, it's just a workaround, not a fix. tongue.gif I'll leave that for someone who really knows what they're doing.
vigge
QUOTE(Harun @ Feb 27 2008, 03:12) *

this is just a little annoyance, but the track info does not update VBR files properly (i think it just displays the bitrate at the start of the song)


The bitrate output (and all the other info) is written // PerTrack, if you want it to bed updated every second you'll have to place it under a // PerSecond comment.

There's no way that I know of to actually change the volume setting, but you were close to enabling the display value to reach 100% smile.gif
CODE
$ifgreater($getpvar(volumeLevel),970,$setpvar(volumeLevel,1000),)
delphine
QUOTE(vigge @ Feb 26 2008, 17:37) *

I still haven't added support for the lyrics panel, I'm facing some design issues since the sidebar is running out of space ;P Need to figure out whether or not to allow for more dynamic placement of panels. If I do implement this it's gonna take a nasty amount of code which I fear will slow down the rendering considerably.

(...cut for length)

Click OK and a lyrics panel should be drawn above the main sidebar panel. Good luck!


Thank you, this worked perfectly! And thank you too for the brief explanation of how panels work - I'll study the code and try to figure it out for myself. smile.gif
84205706al
hi~ vigge
your config is suitable for me,simple and intuitive.so I should say again that thank you.
and,but the default background color is't suitable for all vs theme(importantly, like me sick.gif )
~so so I change the part of globals'code.

like this:
CODE
//Backgrounds
$puts(myc,33)

$puts(b.odd,$get(myc) - $get(myc) - $get(myc))
$puts(b.even,$eval($get(myc) + 5) - $eval($get(myc) + 5) - $eval($get(myc) + 5))
$puts(b.head,$eval($get(myc) - 5) - $eval($get(myc) - 5) - $eval($get(myc) - 5))
$puts(b.sel,$eval($get(myc) + 35) - $eval($get(myc) + 35) - $eval($get(myc) + 35))
$puts(a.sel,100)
$puts(b.border,$eval($get(myc) - 5) - $eval($get(myc) - 5) - $eval($get(myc) - 5))


the overall effect is better~

Finally, I hope that you can add colour settings next update,if you have spare time. happy.gif

For example:
CODE

//--------------------------------
// change background color
//-------------------------------
$puts(setbgc.x,20)
$puts(setbgc.y,290)

$setpvar(colortheme,$getpvar(color.r)-$getpvar(color.g)-$getpvar(color.b))

$drawrect($get(setbgc.x),$get(setbgc.y),170,65,brushcolor-null pencolor-255-255-255 alpha-50)

$alignabs($eval($get(setbgc.x)+5),$eval($get(setbgc.y)-10),%_width%,%_height%,,)
$font(font,9,bold shadow glowblur-1,255-255-255)'(RGB)'

$drawrect($eval($get(setbgc.x)+25),$eval($get(setbgc.y)+10),10,10,brushcolor-230-0-0 pencolor-240-240-240)
$drawrect($eval($get(setbgc.x)+25),$eval($get(setbgc.y)+25),10,10,brushcolor-0-230-0 pencolor-240-240-240)
$drawrect($eval($get(setbgc.x)+25),$eval($get(setbgc.y)+40),10,10,brushcolor-0-0-230 pencolor-240-240-240)

$font(,8,bold shadow glowblur-1,250-250-250)
$alignabs($eval($get(setbgc.x)+55),$eval($get(setbgc.y)+9),%_width%,%_height%,,)$getpvar(color.r)
$alignabs($eval($get(setbgc.x)+55),$eval($get(setbgc.y)+24),%_width%,%_height%,,)$getpvar(color.g)
$alignabs($eval($get(setbgc.x)+55),$eval($get(setbgc.y)+39),%_width%,%_height%,,)$getpvar(color.b)

$button($eval($get(setbgc.x)+10),$eval($get(setbgc.y)+10),0,0,0,0,images\minus.png,images\minus.png,
PVAR:SET:color.r:$ifgreater($getpvar(color.r),0,$eval($getpvar(color.r)-10),0),)
$button($eval($get(setbgc.x)+10),$eval($get(setbgc.y)+25),0,0,0,0,images\minus.png,images\minus.png,
PVAR:SET:color.g:$ifgreater($getpvar(color.g),0,$eval($getpvar(color.g)-10),0),)
$button($eval($get(setbgc.x)+10),$eval($get(setbgc.y)+40),0,0,0,0,images\minus.png,images\minus.png,
PVAR:SET:color.b:$ifgreater($getpvar(color.b),0,$eval($getpvar(color.b)-10),0),)

$button($eval($get(setbgc.x)+40),$eval($get(setbgc.y)+10),0,0,0,0,images\plus.png,images\plus.png,
PVAR:SET:color.r:$ifgreater($getpvar(color.r),240,250,$eval($getpvar(color.r)+10)),)
$button($eval($get(setbgc.x)+40),$eval($get(setbgc.y)+25),0,0,0,0,images\plus.png,images\plus.png,
PVAR:SET:color.g:$ifgreater($getpvar(color.g),240,250,$eval($getpvar(color.g)+10)),)
$button($eval($get(setbgc.x)+40),$eval($get(setbgc.y)+40),0,0,0,0,images\plus.png,images\plus.png,
PVAR:SET:color.b:$ifgreater($getpvar(color.b),240,250,$eval($getpvar(color.b)+10)),)


the button can use Wingdings 2 but not image. :-)

Look forward to your update.
vigge
Color settings / schemes is something I might add later, but I don't think implementing a full-fledged editor will be worth it as it's bound to still be limited in one way or another. Manually editing the color scheme might be slightly more complicated for the user, but gives you alot more options since it's not limited in any way (not limited to a single base color, etc.).
SmilerSmiles
Thanks for the quick search BMP. Very nice config it has given me quite a few ideas for my own.
pegass
Hi all, Iīm new in this forum and Iīm new in using foobar2000.
mogelbrod PanelsUI layout is great, maybe best Iīve found. Itīs good work. I have questions:
1.)How can I change background color of playlist from white to other?
2.)My icon of speaker near volume bar donīt look as on preview in first page. (see attached picture). Is it bug in version 1.1a or I did somtehing wrong? Thx

IPB Image

P.S.: I hope, you understand my poor english smile.gif .


vigge
QUOTE(pegass @ Feb 28 2008, 23:14) *

Hi all, Iīm new in this forum and Iīm new in using foobar2000.
mogelbrod PanelsUI layout is great, maybe best Iīve found. Itīs good work. I have questions:
1.)How can I change background color of playlist from white to other?
2.)My icon of speaker near volume bar donīt look as on preview in first page. (see attached picture). Is it bug in version 1.1a or I did somtehing wrong? Thx

IPB Image

P.S.: I hope, you understand my poor english smile.gif .


1) If you are talking about the playlist switcher panel (sidebar), the appearance has to be changed through the Columns UI -> Playlist switcher preferences.
2) I'm afraid I don't have a clue why some characters are being displayed differentely, I've had one other report of this occuring but so far I can't trace the problem to anything =/
pegass
thx vigge. Now I have best configuration for me. I have another question: What I have to do, when I want Foobar automatically scroll down/up playlist to right playing song. (as in the picture)
Because it show me info in sidebar, but I want to see right playing song in playlist too without manual scrolling to this song.
Do you know what I mean? smile.gif

IPB Image
vigge
QUOTE(pegass @ Mar 3 2008, 20:14) *

thx vigge. Now I have best configuration for me. I have another question: What I have to do, when I want Foobar automatically scroll down/up playlist to right playing song. (as in the picture)
Because it show me info in sidebar, but I want to see right playing song in playlist too without manual scrolling to this song.
Do you know what I mean? smile.gif

IPB Image


Menu -> Playback -> Cursor Follows Playback
If you have the columns_ui component you can also click on the artist/title text in the sidebar to select the currently playing song in the playlist.
Xezzy
This is first .pui wich is actually intuitive [i ever saw]. That what I was looking for! Default UI usability + great look. Too bad playlist switcher looks ugly :/ And dont have track counters and other options like in default UI.
edit:how can I see settings window again?
pegass
to vigge: thanks for help, I donīt know, that itīs so simple rolleyes.gif biggrin.gif
vigge
QUOTE(Xezzy @ Mar 3 2008, 21:36) *

This is first .pui wich is actually intuitive [i ever saw]. That what I was looking for! Default UI usability + great look. Too bad playlist switcher looks ugly :/ And dont have track counters and other options like in default UI.
edit:how can I see settings window again?
Without ClearType the playlist switcher looks like crap, I agree =/
QUOTE(From the readme file: how to view the setup screen)
Note: If you wish to reconfigure the layout, clear the PVARs (Persistent variables).
This can be done by right-clicking the foobar2000 window,
selecting 'Settings...' and clicking the 'Clear PVARs' button.
As soon as you've pressed 'OK' the setup screen will be shown again.
spaceships
IPB Image


Here's my slight mod on your amazing pui...Thanks for the great work!
Snowpro
QUOTE(spaceships @ Mar 3 2008, 16:48) *

IPB Image


Here's my slight mod on your amazing pui...Thanks for the great work!


How did you manage to get the album art working in the left lower corner? In my mogelbrod used config the album art is displayed between the Track Info and Libary Filter.

Also, is there any possibility to have Libary Filter and Playlist Switcher both in the sidebar? It would be nice to have with Libary Filter a visual way to switch playlists.
spaceships
Go to preferences -> panels ui -> edit layout -> scroll down....

IPB Image

interchange the indicated texts be wary of commas
eko0
IPB Image

the rating is not working and the genere switcher says: Empty Empty ....
how can I fix it?
Xezzy
QUOTE(eko0 @ Mar 4 2008, 15:21) *

IPB Image

the rating is not working and the genere switcher says: Empty Empty ....
how can I fix it?

- step by step guide to use ratings with foobar
And the playlist switcher dunno, it looks like playlists called 'empty' so... try to rename it?
eko0
no, these ain't playlists, this is the genere menu (All, rock, pop, rap etc...)

//thx for the rating tip ;]
vigge
QUOTE(eko0 @ Mar 4 2008, 16:18) *

no, these ain't playlists, this is the genere menu (All, rock, pop, rap etc...)

//thx for the rating tip ;]


Sure you've got music in the media library? Preferences -> Media Library -> Music Folders
eko0
thanks smile.gif and sorry for such questions i was a winamp user... tongue.gif
Xezzy
After one day using Ive noticed I actually miss my "added" and "last played" columns. How can I add them? I hope its not very complicated...
vigge
QUOTE(Xezzy @ Mar 5 2008, 14:57) *

After one day using Ive noticed I actually miss my "added" and "last played" columns. How can I add them? I hope its not very complicated...


Open up the playlist settings and click Item Display.
Add $puts(datesWs,38) (you will probably have to tweak this value).
Find
CODE
$puts(fluidW,$eval(%_width% - 2*$get(x) - $get(indexWs) - $get(playcountWs) - $get(ratingWs) - $get(lengthWs)))
and change it to
CODE
$puts(fluidW,$eval(%_width% - 2*$get(x) - $get(indexWs) - $get(playcountWs) - $get(ratingWs) - $get(lengthWs) - 2*$get(datesWs)))

Find //Play count and pate the following on the lines above it:
CODE
//Added
$ifgreater($get(datesWs),0,
    $alignabs($add($get(x),4),1,$sub($get(datesWs),8),$get(textHeight),center,middle)
    $get(c.text)%date_added%
    $puts(x,$add($get(x),$get(datesWs)))
,)

//Last played
$ifgreater($get(datesWs),0,
    $alignabs($add($get(x),4),1,$sub($get(datesWs),8),$get(textHeight),center,middle)
    $get(c.text)%last_played%
    $puts(x,$add($get(x),$get(datesWs)))
,)


I'm not 100% sure regarding the titleformat variables, just guessing here.
Xezzy
Wow that was fast Thank You.
Also, if you're already here biggrin.gif how to replace playlist switcher with playlist tree?
vigge
QUOTE(Xezzy @ Mar 5 2008, 15:13) *

Wow that was fast Thank You.
Also, if you're already here biggrin.gif how to replace playlist switcher with playlist tree?

Rightclick on the foobar2000 titlebar, hit 'Settings...' and look for
CODE
//=============
//Sidebar
//=============

Add the following line below it:
CODE
$setpvar(sidebarPanel,Playlist Tree Panel)
themaiday
First of all thank you for the nice layout, first v9 layout I really like!


QUOTE(vigge @ Mar 5 2008, 08:40) *

Rightclick on the foobar2000 titlebar, hit 'Settings...' and look for
CODE
//=============
//Sidebar
//=============

Add the following line below it:
CODE
$setpvar(sidebarPanel,Playlist Tree Panel)




Somehow, that doesn't work for me.

Should it look like that:

QUOTE

/=============
//Sidebar
//=============
$setpvar(sidebarPanel,Playlist Tree Panel)
// Background
$ifgreater($get(sidebarW),0,$drawrect(
$get(pMargin),
$add($get(sidebarY),$get(pMargin)),
$eval($get(sidebarW) - 2*$get(pMargin)),
$eval($get(sidebarH) - 2*$get(pMargin)),
brushcolor-$get(b.even) pencolor-$get(b.border)
),)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.