Help - Search - Members - Calendar
Full Version: foo_ui_panels
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57
Mookey
QUOTE(Keikonium @ Jan 17 2008, 20:30) *

QUOTE(Mookey @ Jan 17 2008, 21:24) *

This appears to be FofR's blog: http://fofr.trivialbeing.net/

I got it off the contact page on http://www.fooblog2000.com


This is not the creator of Panels UI. He just hosts the install files. The creator of Panels UI is a guy by the name of Terrestrial, and he seems to have disappeared :\


Ah. Then please disregard tongue.gif
crazymad
does anybody know what exactly happens when I check multiple checks in the grouping column in the "sort/group by" dialog box?

and how do I exactly assign grouping layouts to different groupings anyway? the documentation on this is very poor. does anybody know of better documentation about panels ui, library filter and the single column playlist then on the wiki pages of hydrogen audio?

thanks for any help... I know, I'm hooked tongue.gif
cybasoul
does anyone know how to set the Albumart mode in pu panels script,

i.e. clicking on a button to set Mode to Now Playing or Follow Cursor.
But dont confuse this with playback follow cursor.

Thanks in advanced
Alzer
Hey everybody,

I am one of those users who use Panels UI for the sole purpose of getting the Track info panel so I can add it to Column UI. 'Nuff said about that.

When I tried to set it up as I want to I ran into a problem with the variables.

First of all, I would like a list with all the variables available in the Track info panel. That would be really helpful!

Second, I need some help with a variable which were available in the plugin foo_uie_trackinfo. It was called %time_elapsed% and showed how much time of the song now playing had elapsed (pretty self-explanatory, I know).

This variable is not recognized by Panels UI. Which variable should I use instead?

The second request is probably superfluous if my first request is filled. But I wrote it down just to clarify my problem.

And to clarify further, here's an example of what I want it to show:

Let's say that one minute has elapsed on a song which is 3m 43s. I want the track info panel to say something like this:

Time: 1:00 / 3:43

The code I have come up with so far is:

CODE
Time: ??? / %length%


But what should I use instead of "???" to get the desired result?

Any help would be appreciated!
eddy@
QUOTE(Alzer @ Jan 25 2008, 01:38) *

But what should I use instead of "???" to get the desired result?

CODE
// PerSecond
%playback_time% / %length%



QUOTE(cybasoul @ Jan 24 2008, 20:08) *

does anyone know how to set the Albumart mode in pu panels script,

i.e. clicking on a button to set Mode to Now Playing or Follow Cursor.
But dont confuse this with playback follow cursor.

Thanks in advanced

From Wiki:
QUOTE
%_trackinfo_mode%
Returns the current mode of the panel, Now Playing or Follow cursor.
Alzer
QUOTE(eddy@ @ Jan 24 2008, 21:21) *

QUOTE(Alzer @ Jan 25 2008, 01:38) *

But what should I use instead of "???" to get the desired result?

CODE
// PerSecond
%playback_time% / %length%




Cheers mate! biggrin.gif
Aussieboy2323
I am having a bit of trouble with the library filter. Every item listed, from the headers, to each individual child has "[UNKNOWN FUNCTION]" in the left hand corner. I am using Panels UI 0.14.12 beta, however this problem has occur long before i started using it. I tried deleting everything under the Library Filter page under preferences, and under settings, but still no luck. The only temporary solution i found was to put a solid rectangle over it. If i want to make everything transparent, i have no idea what to do. This seems to be only a problem with my config, any others i downloaded seem to work fine. Any ideas on what i can do...?
Thanks
randmdood
is there any way to minimize/maximize/restore the window through buttons (trying to do a wmp theme where they don't have the titlebar) anybody have any ideas)

also this might belong somewere else but is there a list tree addin for a new version of panels ui (0.13.x)?

also i might be blind but here do i find a download to 0.14.x versions?
buktore
For minimize, there is "hide" command.
randmdood
QUOTE(buktore @ Jan 31 2008, 13:36) *

For minimize, there is "hide" command.

thankyou. i found foobar 0.14.9.

oh and is there a restore window size command or a maximize command?


and another question, is it possible to find the position of the mouse when it's clicked?

and one more tongue.gif is it possible to do loop commands or give variables to a certain artist/album in the library without having to select them (have a list of variables 1-whatever with the values set as artist)
cybasoul
QUOTE(eddy@ @ Jan 24 2008, 13:21) *

QUOTE(Alzer @ Jan 25 2008, 01:38) *

But what should I use instead of "???" to get the desired result?

CODE
// PerSecond
%playback_time% / %length%



QUOTE(cybasoul @ Jan 24 2008, 20:08) *

does anyone know how to set the Albumart mode in pu panels script,

i.e. clicking on a button to set Mode to Now Playing or Follow Cursor.
But dont confuse this with playback follow cursor.

Thanks in advanced

From Wiki:
QUOTE
%_trackinfo_mode%
Returns the current mode of the panel, Now Playing or Follow cursor.



and what about setting the mode, Im guessing that %_trackinfo_mode% only returns a value, I would like to set the mode.
Juro
Hi,

Im struggeling to configure my Library Filter.
I have a tag "styles" with multiple entries in each file, like "style1; style2; style3". Is it possible to make the library filter sorting for those styles, so that every song that has e.g. style1 in the styletag in under "style1" ?

Hope someone can help me,

Juro
Andreasvb
I use this for my styles, you may need to change the separator.

CODE
$if(%style%,< ALL STYLES >,!null!)|
$if2($meta_sep(style,|),!null!)
Juro
QUOTE(Andreasvb @ Feb 4 2008, 02:06) *

I use this for my styles, you may need to change the separator.

CODE
$if(%style%,< ALL STYLES >,!null!)|
$if2($meta_sep(style,|),!null!)




hey thanks, works!
The Judge
Any talk of someone picking development of this up again?
Keikonium
QUOTE(The Judge @ Feb 4 2008, 07:09) *

Any talk of someone picking development of this up again?


The source was never released, so I highly doubt it. The best we could hope for is someone recreating a Panels UI look-a-like component :/.
Mookey
QUOTE(Keikonium @ Feb 4 2008, 05:15) *

QUOTE(The Judge @ Feb 4 2008, 07:09) *

Any talk of someone picking development of this up again?


The source was never released, so I highly doubt it. The best we could hope for is someone recreating a Panels UI look-a-like component :/.


Makes me really wonder what happened to this guy... Makes this powerful UI system and then just up and leaves.
vlada
I believe it was all based on TrackInfo component, which has source available. Bu AFAIK Terrestrial never released any source for his modifications and further components.

I beleive someone would have to create it all from scratch, which is a lot of work.
randmdood
if i ever learn to languages needed i'll have a shot at it (but that'll be a long time from now)

so please if someone could rewrite panelsUI with the same formatting and more, that would be awesome!!!!!!!
WWNSX
Even though people keep asking for rewrites of PanelsUI I wish they would read at least the last 2 pages and understand that no source code has ever been release so a rewrite would be impossible.

What I always wonder if anyone knows Terrestrial personally and is in contact with him and knows what he's up to and if he ever plans to come back to PanelsUI or even the foobar community but that will probably remain unanswered. I've searched this thread for for Terrestrials last post and I couldn't find any last words or any or reason why he left unless that's been moderate out.

who knows maybe after all the drama that happened last july he decided to take a break and maybe code PanelsUI in private and not come back till everything is how he wants it or maybe not.

All I know is PAnelsUI and some awesome configs got me more into foobar and using it and that's why i'm here and posting. anyway with all that being said here's some Questions I have.

1. is Titeformatting and therefore TAGZ or panelsUi more like a programming language and therefore would it be easier for me to use it or learn it if i brushed up on some programming basics?

2. Outside of reading all the wikis is there an easier way to understand the basics of PanelsUI and move on from there to making your own?

I'm planning on using PanelsUI 14.9.

any info would be great. Thanks smile.gif
carbeck
QUOTE(dRsrb @ Jan 16 2008, 22:41) *

I think that it has to do with a '$eval(%_width%-...)'-calculation!
But without code, I can't help you even more.

Alright, the skin is here, I haven't changed it, but it happens with any skin as it seems, not only Lasse's. So it seems to be a somewhat more general problem of how my computer handles Panels UI. As I said, I use the same configuration of Foobar on another PC, and there it works flawlessly.
fredlb
Not sure if im putting this is the right place, but here goes;

I'm having a wierd problem with images not showing up. I'm trying to modify the Liqourice thingie.
Everything is working smooth, but for some reason the some of the album art is not showing up. Most of it works perfect, but some won't show up. They're named correctly (folder.jpg) and all that, tried removing the files, refreshing the library, everything, but for some artists it wont show up.
Is this even a problem within panels or is it something wierd going on with the files?

I'm very new to this, although most of the code is making sense, some stuff is still confusing.

Here is the code for the album art;

Sources:
CODE
// --- Image sources
//$puts(nocover,$getpvar(dir)/noart.png)
$puts(imgsrc,$replace(%path%,%filename_ext%,folder.*))
//$puts(artoverlay,$getpvar(dir)/overlay.png)
$puts(border,$getpvar(dir)/corners.png)


Displaying:
CODE

// --- Album Art Display
$if($and($fileexists($get(imgsrc)),$greater(%_itemcount%,5)),
//$imageabs2($get(imgw),89,,$eval($get(rowheight)*{%_itemindex%-1}),$get(imgw),$get(rowheight),$get(leftpad),,$get(nocover),NOKEEPASPECT)
$imageabs2($get(imgw),89,,$eval($get(rowheight)*{%_itemindex%-1}),$get(imgw),$get(rowheight),$get(leftpad),,$get(imgsrc),)
//$imageabs2($get(imgw),89,,$eval($get(rowheight)*{%_itemindex%-1}),$get(imgw),$get(rowheight),$get(leftpad),,$get(artoverlay),NOKEEPASPECT alpha-150)
$imageabs2($get(imgw),89,,$eval($get(rowheight)*{%_itemindex%-1}),$get(imgw),$get(rowheight),$get(leftpad),,$get(border),NOKEEPASPECT)
)


Thanks!

EDIT
Solved!
Seems as if the directory with the folder.jpg is named with a "#" in it, it wont load the images. Is this a known bug? Anyway to work around it than to rename the folder?
vigge
I've ran into the same issue as Chairman85 did - adding tracks to the playback queue either by middle clicking them or using the context menu doesn't trigger the %isplaying% variable in SCPL for my current config. I've tried removing every component which isn't required (down to only foo_input_std.dll, foo_ui_columns.dll and foo_ui_panels.dll) and looked though every setting without any success. Any idea on what might be the problem?

It doesn't seem to be the SCPL code as not even the following works correctly:
CODE
$if(%isplaying%,PLAYING,NOT PLAYING) || %artist% -- %title%


It does work when using a fresh config file though (deleting the old one).

Edit: Found it now - I had changed the default middle click operation of the SCPL to 'Add to Playback Queue', resetting it to the default solved the problem.
buktore
Is there anyone who have any tips to make SCPL scroll faster (better perfomance,framerate) to share? I mean about coding, not something like disable transparent background,remove font effect or something like that.

I just recently found that, If you don't use $font() command at all in SCPL item display but use it only in group display and make your last $font() command you use in group display to set font type & size you want in playlist. And set the font color in item display using $textcolor(xxx-xxx-xxx). Somehow it make SCPL scrolling performance much better.

But, you can't use font effect & different font type and size in playlist this way (I don't use font effect, it's slow. and I use just one font type anyway.) and there will be an incorrect text drawing at first when you just start foobar. But once you scroll playlist just a bit, everything will work just fine.

Right now, I have mod dawxxx666 FooAvA 1.03 config to make it incredibly fast even with my aging PC yet still (maybe more) shiny! Oh.. I'm so happy right now biggrin.gif
IntroSS
Hi, I was wondering if it's possible to solve the problem I have.

Is it possible to take artist art from file folder.jpg, which is located one folder higher? For example, when you got artist folder which contains many subfolders. Folder.jpg is located in artist folder.

Sorry, if the question has already been risen. I was looking for it. Thank you smile.gif
eisteh
You should add ../ or /../ (depends on what paths you have) to the front of the path to the image (../ means to go back one folder from the place you currently are)
dRsrb
@carbeck
Do you have enabled the windows option to restore the windows on every startup?
Check your folder options!

Bye

QUOTE(carbeck @ Feb 10 2008, 21:29) *

...
Alright, the skin is here, I haven't changed it, but it happens with any skin as it seems, not only Lasse's. So it seems to be a somewhat more general problem of how my computer handles Panels UI. As I said, I use the same configuration of Foobar on another PC, and there it works flawlessly.

DaSilva
My skin often starts in the upper left corner even if I closed it in the upper right corner.
What can I do to start it always in the upper right corner?
Are there some sort of x/y start parameters?
Thanks!
carbeck
QUOTE(dRsrb @ Feb 17 2008, 21:59) *

@carbeck
Do you have enabled the windows option to restore the windows on every startup?
Check your folder options!

Do you mean "Vorherige Ordnerfenster bei der Anmeldung wiederherstellen" (uh ... might be something like Restore previous folder windows at login)? In this case, no, it's unchecked.
dRsrb
@carbeck

Yes, I meant that! smile.gif

But I have no further ideas sad.gif
Totyo
how can i get to know the width and height of an image?
Falstaff
QUOTE(Totyo @ Feb 27 2008, 07:09) *

how can i get to know the width and height of an image?


not possible, what is your need exactly ?
Totyo
QUOTE(Falstaff @ Feb 27 2008, 00:59) *

not possible, what is your need exactly ?


I want to resize backround images while keeping their original aspect ratio and this works fine when i enter this:

$imageabs(0,0,/images\backgrounds\$getpvar(bg).jpg,resize,%_width%,%_height%)

But i want the image to fill in the whole window and crop the edges which don't fit in. Let's say, I have a portrait window and a landscape backround image, so the image should be resized vertically to the height of the window and horizontally enlarged to keep it's original aspect ratio, which means that the width of the picture will be larger than the width of the window. Because I want to position it centered, the left and right edges get cropped.

I hope I explained well and you can understand.
buktore
As far as I know, Not possible. You can't crop image according to there size because there's no way to get the image size.
Keikonium
If it is only the one image (and that image doesn't get replaced or anything like that) you can just put the width and height of the image in manually, and use the $eval() function to do what you want. But like the others have said, there is no way to get the size of the image from panels UI itself.
DaSilva
QUOTE(DaSilva @ Feb 18 2008, 16:39) *

My skin often starts in the upper left corner even if I closed it in the upper right corner.
What can I do to start it always in the upper right corner?
Are there some sort of x/y start parameters?
Thanks!


Does someone have a solution for this?
KnightMare
I upgraded to foobar 0.9.5 and the "Prev/Next Playlist" commands are no longer updating the playlist pane. The playlist pane only updates to the new playlist if I doubleclick on a track after sending the "next playlist" command.

Short of downgrading/not using panelsui is there anything I can do to fix this?

edit: nevermind
dyniaq
Hi smile.gif

I've got some problem with $textbutton() function. I want to make a button that display search matches for %artist% %album% querry on cover-paradies site. Code looks like this:
CODE
    $textbutton($get(art.active.anchor.x),$get(art.active.anchor.y),
        $get(art.active.width),$get(art.active.height),
        ,,
        EXEC:'http://cover-paradies.to/?Module=ExtendedSearch&SearchString='$replace($replace(%artist%[ %album%], ,+),',´),
        tooltip,Get covers from Cover Paradies
    )


And there's where the problem appears. When in querry asterisk --> ' <-- appears there's no results (i.e Pink I'm not dead). But when i switch asterisk to other character --> ´ <-- that appears on CP site results shows up. So I've tried to replace every ' char to ´ char. But it seems that PanelsUI do not allow to use asterisk sign as function parameter. Is there any way to use asterisk as a string?

Please from below, thx from above :]
Kiteroa
QUOTE(dyniaq @ Mar 3 2008, 09:46) *

Hi smile.gif

I've got some problem with $textbutton() function. I want to make a button that display search matches for %artist% %album% querry on cover-paradies site. Code looks like this:
CODE
    $textbutton($get(art.active.anchor.x),$get(art.active.anchor.y),
        $get(art.active.width),$get(art.active.height),
        ,,
        EXEC:'http://cover-paradies.to/?Module=ExtendedSearch&SearchString='$replace($replace(%artist%[ %album%], ,+),',´),
        tooltip,Get covers from Cover Paradies
    )


And there's where the problem appears. When in querry asterisk --> ' <-- appears there's no results (i.e Pink I'm not dead). But when i switch asterisk to other character --> ´ <-- that appears on CP site results shows up. So I've tried to replace every ' char to ´ char. But it seems that PanelsUI do not allow to use asterisk sign as function parameter. Is there any way to use asterisk as a string?

Please from below, thx from above :]



You could try referring to the ' as $char(39)
dyniaq
beer.gif

Thx Mr. :] Now it works fine. Sometimes quite obvious things comes on mind at the very end ;p
randmdood
QUOTE(DaSilva @ Feb 28 2008, 09:09) *

QUOTE(DaSilva @ Feb 18 2008, 16:39) *

My skin often starts in the upper left corner even if I closed it in the upper right corner.
What can I do to start it always in the upper right corner?
Are there some sort of x/y start parameters?
Thanks!


Does someone have a solution for this?

do you mean to have your foobar start on the upper right hand corner of the screen?

what i need is for foobar to adjust to a corner of the screen so when i set the windowsize to 1280x1024 the window is aligned to my screen. (i've got titlebar as not showing, i'm using buttons to resize)
z-x
I can't force Foobar (PanelsUI 0.14.12) to change the tooltip (when F2K is in tray) each time when track is changed. The tooltip is changing only when Foobar is show. Bug in 0.14.12 or what?
buktore
QUOTE
Bug in 0.14.12 or what?

Yes

Suck.. eh? tongue.gif
z-x
Yep... How good will it be if author of Panels UI would open the code to the community. Well...
mystNZ
ok, I am racking my brain here and going nuts....somebody pleeeeaaase help:

I have a pvar set to 0 at start. I then wish to change this var (0/1) by using a button:

CODE

$puts(var,PlaylistToggle)
$button2(15,25,0,0,40,12,'$font(calibri,9,bold,73-73-73)'test,'$font(calibri,9,bold,43-149-255)'test,
    PVAR:SET:$get(var):$ifequal($getpvar($get(var)),0,1,0),
    TOOLTIP:"test"
)


When I push the button nothing happens. I can see this var in a track info panel by "$getpvar(PlaylistToggle)" showing 0. Am I mistaken in thinking that by using the button, I should be able to toggle the value (and see it) on the fly?? Oh and it is in the // PerTrack section. Basically I wanted to use this in order to show/hide panels on the fly - is this the correct way, or is there a better way?
Keikonium
Instead of the:

CODE
$puts(var,PlaylistToggle)


Can't you get rid of the $puts() and just use the code:

CODE

$button2(15,25,0,0,40,12,'$font(calibri,9,bold,73-73-73)'test,'$font(calibri,9,bold,43-149-255)'test,
    PVAR:SET:PlaylistToggle:$ifequal($getpvar(PlaylistToggle),0,1,0),
    TOOLTIP:"test"
)


Thats what I do and it works for me. If there isn't a need to use the $puts() then I wouldn't bother using it.
mystNZ
QUOTE(Keikonium @ Mar 8 2008, 01:03) *

Instead of the:

CODE
$puts(var,PlaylistToggle)


Can't you get rid of the $puts() and just use the code:

CODE

$button2(15,25,0,0,40,12,'$font(calibri,9,bold,73-73-73)'test,'$font(calibri,9,bold,43-149-255)'test,
    PVAR:SET:PlaylistToggle:$ifequal($getpvar(PlaylistToggle),0,1,0),
    TOOLTIP:"test"
)


Thats what I do and it works for me. If there isn't a need to use the $puts() then I wouldn't bother using it.

Yea Ive tried that also, but still nothing happens, just cant seem to modify the var....I just dont get it sad.gif
Kiteroa
This works for me (not sure that it should according to info about how buttons are meant to work):


$ifequal($getpvar(fullscreen),0,
$button2($get(xOffset),$get(yOffset),0,0,8,15,,,'PVAR:SET:fullscreen:1',)
,
$button2($get(xOffset),$get(yOffset),0,0,8,15,,,'PVAR:SET:fullscreen:0',)
)
mystNZ
Thanks for the quick replies.
QUOTE(Kiteroa @ Mar 8 2008, 01:19) *

This works for me (not sure that it should according to info about how buttons are meant to work):


$ifequal($getpvar(fullscreen),0,
$button2($get(xOffset),$get(yOffset),0,0,8,15,,,'PVAR:SET:fullscreen:1',)
,
$button2($get(xOffset),$get(yOffset),0,0,8,15,,,'PVAR:SET:fullscreen:0',)
)

I've tried that too, but no change... how else do you guys hide/show panels? Maybe theres another approach..
Kiteroa
Are you putting this in the // PerTrack section?

It won't work anywhere else, and the spelling of all the section names must be exactly as per the spec.
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.