Help - Search - Members - Calendar
Full Version: mogelbrod PanelsUI layout
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3
vigge
Try restarting fb2k. If that won't work, make sure your playlist tree component is properly installed and replace the sidebar code with this (moved the pvar setting down to where it's actually read to make sure no funny business is going on):
CODE
//=============
//Sidebar
//=============

// 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)
),)
// PerTrack
$setpvar(sidebarPanel,Playlist Tree Panel)
$ifgreater($get(sidebarW),0,
    $panel($getpvar(sidebarPanel),$getpvar(sidebarPanel),
        $get(pMP),
        $add($get(sidebarY),$get(pMP)),
        $eval($get(sidebarW) - 2*$get(pMP)),
        $eval($get(sidebarH) - 2*$get(pMP)),
    )
,)
Xezzy
For me first string works like charm. Now I have to fight with playlist tree.. grrrR
Snowpro
QUOTE(spaceships @ Mar 3 2008, 18:22) *

Go to preferences -> panels ui -> edit layout -> scroll down....

interchange the indicated texts be wary of commas


Thanks, this worked well.

I encounter another problem. The albumArt in sidepanel ist working properly, but its not shown in the playlist view

IPB Image
vigge
QUOTE(Snowpro @ Mar 5 2008, 22:42) *

QUOTE(spaceships @ Mar 3 2008, 18:22) *

Go to preferences -> panels ui -> edit layout -> scroll down....

interchange the indicated texts be wary of commas


Thanks, this worked well.

I encounter another problem. The albumArt in sidepanel ist working properly, but its not shown in the playlist view

IPB Image


Check the Preferences -> Panels UI -> User Globals settings and make sure the $puts(coverPath,...) and $puts(artistPath,...) variables are pointing to the correct image paths.
oscini
EDIT: Whoah I didn't even notice there was a page three, was replying to an issue on page two! Ignore this post!

Ever since adding the $setpvar(sidebarPanel,Playlist Tree Panel) line, the whole playlist section of my sidebar has been blank. I tried the above suggestions. Help! crying.gif

Oh man this has been an ordeal. I think I've got it working now. laugh.gif
Snowpro
QUOTE
Check the Preferences -> Panels UI -> User Globals settings and make sure the $puts(coverPath,...) and $puts(artistPath,...) variables are pointing to the correct image paths.


Interesting point here: In my Panels UI Preferences the User Globals are still from FoomaroK! How do I change these User Globals to the default?
themaiday
Again, thanks alot, it's working now!
vigge
QUOTE(Snowpro @ Mar 6 2008, 09:06) *

QUOTE
Check the Preferences -> Panels UI -> User Globals settings and make sure the $puts(coverPath,...) and $puts(artistPath,...) variables are pointing to the correct image paths.


Interesting point here: In my Panels UI Preferences the User Globals are still from FoomaroK! How do I change these User Globals to the default?


Not sure what the default values are, I'm using
CODE
$puts(coverPath,$replace(%path%,%filename_ext%,folder.*))
$puts(artistPath,$replace(%path%,%filename_ext%,art\%artist%.*))
Snowpro
@ vige

Thanks, its working now.
Xezzy
IPB Image

Thats how my foobar looks now smile.gif I'm almost entirely happy with that, it looks great and browsing through is intuitive. Maybe when my tree will grow up or add new component I would like to have 2 sidebars...

thx vigge for this skin and support!
vigge
QUOTE(Xezzy @ Mar 6 2008, 20:15) *

Maybe when my tree will grow up or add new component I would like to have 2 sidebars...

I'm planning on adding support for a third column, it's gonna take alot of work though so it might take some time.
Snowpro
QUOTE(vigge @ Mar 6 2008, 15:39) *

QUOTE(Xezzy @ Mar 6 2008, 20:15) *

Maybe when my tree will grow up or add new component I would like to have 2 sidebars...

I'm planning on adding support for a third column, it's gonna take alot of work though so it might take some time.


Sounds very good, it would be nice to have an additional Folder Tree.
maXchelo
simple and amazing config!...theres anyone who can help me to get the playlist swithcher?(between the album art and the filter list)
IPB Image
vigge
QUOTE(maXchelo @ Mar 7 2008, 20:59) *

simple and amazing config!...theres anyone who can help me to get the playlist swithcher?(between the album art and the filter list)
IPB Image

Check this post for instructions on how to add panels to the sidebar (lyrics in the example, but can be used for most other panels if you replace some stuff).
oscini
I'm trying to replace the Filter/Playlist Switcher area of the sidebar with the Album List Panel without much luck. On a sidenote, the "RESCAN" button no longer sends all of the new songs to the "My Music" playlist, I have to send it manually with the Album List. Any fix for this?
vigge
QUOTE(oscini @ Mar 8 2008, 05:26) *

I'm trying to replace the Filter/Playlist Switcher area of the sidebar with the Album List Panel without much luck. On a sidenote, the "RESCAN" button no longer sends all of the new songs to the "My Music" playlist, I have to send it manually with the Album List. Any fix for this?


I've never tested Album List Panel but the same instructions I gave for the Playlist Tree Panel exchange should apply.

Regarding RESCAN, it only rescans the library, doesn't update the playlist as far as I know (neither does for me, I have to hit RESCAN, rightclick the Library Filter, hit Reset, and reselect the filter I wish to use for the playlist to update). I'm not sure if it's possible in any other way.
oscini
QUOTE(vigge @ Mar 8 2008, 07:23) *

I've never tested Album List Panel but the same instructions I gave for the Playlist Tree Panel exchange should apply.

Regarding RESCAN, it only rescans the library, doesn't update the playlist as far as I know (neither does for me, I have to hit RESCAN, rightclick the Library Filter, hit Reset, and reselect the filter I wish to use for the playlist to update). I'm not sure if it's possible in any other way.

When I first started using mogelbrod, my playlist was updated by itself when i rescanned... must have been a fluke! blink.gif But I'm not sure how to reference Album List Panel instaed of Playlist Tree Panel. Would the following be correct?
CODE

$setpvar(sidebarPanel,Album List Panel)

It's not working for me, but at this point I'm basically shooting in the dark.
Ulquiorra
So, a really silly question from me. I want to use your general theme colours (SC playlist, Filter, etc) in Columns UI, but when I copy-paste the info from your panels in Panel UI to the ones I have in Columns, text and backgrounds are black, except for the artist text and the amount of songs text, which are grey. The Filter window is completely black.

I'm not sure whether it has anything to do with your code, or with the fact that I'm using Columns. But I ask: Is it possible for you to make a version of your panels that work in Columns?

Thanks in advance.
vigge
QUOTE(Ulquiorra @ Mar 9 2008, 14:04) *

So, a really silly question from me. I want to use your general theme colours (SC playlist, Filter, etc) in Columns UI, but when I copy-paste the info from your panels in Panel UI to the ones I have in Columns, text and backgrounds are black, except for the artist text and the amount of songs text, which are grey. The Filter window is completely black.

I'm not sure whether it has anything to do with your code, or with the fact that I'm using Columns. But I ask: Is it possible for you to make a version of your panels that work in Columns?

Thanks in advance.


Sorry, it would be way to much work to work on two versions simultaneously. The standard color settings for the layout can be found when rightclicking the titlebar, chosing Settings and then clicking Globals. To be able to even access panels ui globals you will have to set them in the user globals window if you're using Columns UI as the base window component as far as I know.

Oscini: I'll get back to you, I'll have to test it myself before I'll be able to give you any solution.
Ulquiorra
QUOTE(vigge @ Mar 9 2008, 14:16) *

QUOTE(Ulquiorra @ Mar 9 2008, 14:04) *

...


Sorry, it would be way to much work to work on two versions simultaneously. The standard color settings for the layout can be found when rightclicking the titlebar, chosing Settings and then clicking Globals. To be able to even access panels ui globals you will have to set them in the user globals window if you're using Columns UI as the base window component as far as I know.

Oscini: I'll get back to you, I'll have to test it myself before I'll be able to give you any solution.


I understand. I'll try making my own, then, thanks.
oscini
So, how's it going? tongue.gif

I've noticed that my fb2k tray icon mouseover information doesn't stay current (artist and current track) while the player is minimized to the tray. Is this a PanelsUI issue? Can this be fixed?
vigge
QUOTE(oscini @ Mar 21 2008, 03:35) *

So, how's it going? tongue.gif

I've noticed that my fb2k tray icon mouseover information doesn't stay current (artist and current track) while the player is minimized to the tray. Is this a PanelsUI issue? Can this be fixed?


I've been busy with other things, so the work on the layout is paused. Support has been added for three columns with up to 5 panels in each but as of now it's only possible to set them up through manual pvar setting. I might release a beta version without a updated setup screen if someone would be interested in trying it out though.

That's a PanelsUI limitation as far as I know - the layout code is only run when the window is visible and thus the information is not updated for the tray icon.

I still haven't gotten to test the Album List Panel, you're gonna have to wait a while longer =/
oscini
QUOTE(vigge @ Mar 21 2008, 07:07) *

I've been busy with other things [...] you're gonna have to wait a while longer =/

Don't worry about it! You've been more than helpful already, not to mention already in our gratitude by concocting this wonderful layout in the first place. We all have lives to get to sooner or later. tongue.gif
Xezzy
QUOTE(vigge @ Mar 21 2008, 14:07) *

QUOTE(oscini @ Mar 21 2008, 03:35) *

So, how's it going? tongue.gif

I've noticed that my fb2k tray icon mouseover information doesn't stay current (artist and current track) while the player is minimized to the tray. Is this a PanelsUI issue? Can this be fixed?


I've been busy with other things, so the work on the layout is paused. Support has been added for three columns with up to 5 panels in each but as of now it's only possible to set them up through manual pvar setting. I might release a beta version without a updated setup screen if someone would be interested in trying it out though.

That's a PanelsUI limitation as far as I know - the layout code is only run when the window is visible and thus the information is not updated for the tray icon.

I still haven't gotten to test the Album List Panel, you're gonna have to wait a while longer =/


I would love to try this beta.
vigge
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.

There's a small quickguide in the readme file provided, but if you don't want to mess around in the code I suggest sticking to 1.1.
Vainyards
Any one have an idea how to remove all this with singles in this config?
vigge
What do you mean exactly? Do you wish to hide the singles group in the playlist?
Vainyards
QUOTE(vigge @ Apr 3 2008, 17:20) *

What do you mean exactly? Do you wish to hide the singles group in the playlist?


I mean that when i add more than one album some of the albums get the title "singles". That i want to remove
oscini
Tracks are labeled "Singles" if they don't have an Album in the ID3 information. Just label your stuff. tongue.gif
vigge
For the mogelbrod layout tracks are listed under singles if the they are missing the album and tracknumber id3 tags (had to do the checking manually as the panelsui userglobal didn't seem to work). Either tag your album tracks with trackno.s or change the code for the album playlist layout to skip the tracknumber check.
sokmaster
Something a little strange happens in my track info panel. When I opt to show the extended info with bitrate, its always off by 6-8. For instance, a 320CBR reads as 327CBR. But when I pause it, it corrects this error and stays at 320. Weird.
Xrance
very nice theme
vigge
QUOTE(sokmaster @ Apr 6 2008, 01:45) *

Something a little strange happens in my track info panel. When I opt to show the extended info with bitrate, its always off by 6-8. For instance, a 320CBR reads as 327CBR. But when I pause it, it corrects this error and stays at 320. Weird.


Sounds like you're playing a VBR track, the bitrate value only updates every time you change track (or pause it like you noted) as it's written in the // PerTrack section of panels ui. Therefore, VBR bitrate values may differ depending on when fb2k reads it.

xtrance: thanks, glad you like it
MetalCore
Hi all,

is it possible to add cover art into this skin from tag? I have all my collection tagged from amazon and added my covers in my tags. My covers show only if i have picture (folder.jpg) in directory, where album is situated.

PLS HELP! sad.gif
vigge
QUOTE(MetalCore @ Apr 15 2008, 11:27) *

Hi all,

is it possible to add cover art into this skin from tag? I have all my collection tagged from amazon and added my covers in my tags. My covers show only if i have picture (folder.jpg) in directory, where album is situated.

PLS HELP! sad.gif


Not as far as I know I'm afraid :/
~airiRin~
How to change the SCPL font?

I want to change the font to Japanese character font..

Thanks..
vigge
QUOTE(~airiRin~ @ May 1 2008, 15:29) *

How to change the SCPL font?

I want to change the font to Japanese character font..

Thanks..


Right-click the foobar2000 titlebar, click settings and then Globals in the window that appears. The fonts are defined by the lines below:
CODE
//Fonts
$puts(f.text,$font(Corbel,11,bold))
$puts(f.head,$font(Corbel,13,bold))
$puts(f.head2,$font(Corbel,12,bold))
$puts(f.info,$font(Corbel,11,bold))
$puts(f.digits,$font(Calibri,11,bold))
~airiRin~
QUOTE(vigge @ May 2 2008, 17:31) *


Right-click the foobar2000 titlebar, click settings and then Globals in the window that appears. The fonts are defined by the lines below:
CODE
//Fonts
$puts(f.text,$font(Corbel,11,bold))
$puts(f.head,$font(Corbel,13,bold))
$puts(f.head2,$font(Corbel,12,bold))
$puts(f.info,$font(Corbel,11,bold))
$puts(f.digits,$font(Calibri,11,bold))


Thank you so much vigge.. smile.gif
Shoujo Pi
Thanks for this config! It is great, do not take many space and not took many times to install.

If it is ok to make a request though, possible for use with lyrics_show_panels?

I am sorry for my English.
vigge
QUOTE(Shoujo Pi @ May 4 2008, 10:52) *

Thanks for this config! It is great, do not take many space and not took many times to install.

If it is ok to make a request though, possible for use with lyrics_show_panels?

I am sorry for my English.


I don't support lyrics_show_panels directly but if you're using the beta version of mogelbrod you can add it manually (check the readme file for more info) smile.gif
ArsVendetta
For the benefit of the person on the previous page who asked how to make it work, here's the code I used to switch out Library Filter for Album List. Turns out that "Album List" does not work, while "Album list" does. It's case sensitive. (This might be obvious for a longtime Foo hacker, but I'm new at this! smile.gif ) I just commented out the two lines defining it as Library Filter and replaced them with two lines defining it as Album list. That way I can uncomment them if I want to go back for some reason.

The reason I wanted to switch the two is because the Library Filter does not appear to respect multiple genre tags per file, while the Album List panel does. Multiple genres per file is why I wanted to switch to Foobar from Winamp, so it was kind of important that I get it working. biggrin.gif

Thanks vigge for a great interface!

CODE

//============================
// Global
//============================

//Panel settings
...(snip)...
$setpvar(col1Mid,Album list)
$setpvar(col1MidPanel,Album list)
//$setpvar(col1Mid,Library Filter)
//$setpvar(col1MidPanel,Library Filter)
...(snip)...
Shoujo Pi
Thank you for the answer. I can now add the lyrics panel.

If it is allowed, bit more questions:
Is the rating button working? I tried clicking both the stars and the lines. I try installing Quick Tagger, still not working. It can show existing ratings, but changing the rating cannot do. This is even before I make changes to the pui. I can now click on the stars to change the rating without Quick Tagger. Thank you.

I am trying to add cover art at track info. But, the below border of cover art is too low, not the same as spectrum below. In attachment, there is screenshot:
IPB Image
Is this wrong?
CODE
$imageabs2($add($get(infoW), 4),$get(infoW),,,,,,,$get(coverPath),NOKEEPASPECT | ALPHA-127)


Last, possible to have a button to hide or show scrollbar?

Very very thank you. The coding is clean to look at, makes it not too hard to customize. I love this layout. (^-^)
themaiday
Can I have the code for time and ratings in the playlist for each track, pls?

thanks!
vigge
QUOTE(Shoujo Pi @ May 5 2008, 16:16) *
...

I am trying to add cover art at track info. But, the below border of cover art is too low, not the same as spectrum below. In attachment, there is screenshot:
http://img137.imagevenue.com/loc699/th_995...9_122_699lo.jpg
Is this wrong?
CODE
$imageabs2($add($get(infoW), 4),$get(infoW),,,,,,,$get(coverPath),NOKEEPASPECT | ALPHA-127)


Last, possible to have a button to hide or show scrollbar?
...


Dunno why it isn't working, I can recreate the margin-bug - you'll have to fix it yourself, sorry =/
Hide/show scrollbar should be possible but could involve alot of editing in the width calculations. It's nothing Iäm planning on adding, so if you want it you'll have to add it manually.

QUOTE(themaiday @ May 5 2008, 17:08) *

Can I have the code for time and ratings in the playlist for each track, pls?

thanks!


It's already built-in, just check the 'rating' and 'length' options on the setup screen wink.gif
Shoujo Pi
Thank you, I've add it manually now. smile.gif

Also, can the text in the file info has border/stroke? Because of the cover art background I added, the text not be viewed easily.
vigge
QUOTE(Shoujo Pi @ May 6 2008, 16:54) *

Thank you, I've add it manually now. smile.gif

Also, can the text in the file info has border/stroke? Because of the cover art background I added, the text not be viewed easily.


Panels UI doesn't support border/stroked text as far as I know, you could draw text with a bigger text size behind it but it won't look very good as the spacing and positioning of characters will be troublesome to manage.
antar3s
there are plenty of text options in panelsui. you can look them up here .
i guess 'shadow' or 'glow-R-G-B' would do what you're looking for...
jakfoood
How do I set it up so that the contents of an album or any category gets shown on the right side and if I double click a song how do I set it up so that it gets played?

one more question, how do I view the whole library on the right side?

great layout btw, love it.
ArsVendetta
Is there a way to make the Playlist always show the Now Playing song on a track change? I pulled this bit of code out of the track display...

CODE
$button2($get(padX),$get(y),0,0,$get(infoW),$get(trackH),,,Activate Now Playing,TOOLTIP:"Select current track")


...and I presume that it might contain the secret to making it do what I want, but I have no idea where I'd put the call, or even how I'd call it directly. Any tips?

Also, putting $windowstyle(hidetitlebar) as the first line of the global layout FTW. Anyone have any idea on how I'd hide the scrollbar at the side of the Playlist panel?
ArsVendetta
Hurr. Yeah, there's a menu option under "Playback" to enable that. Doh! That's one of the things I'm starting to love about Foobar... the more things I figure out, the more there is to learn and tweak.
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.