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
orchid
QUOTE(Keikonium @ Nov 26 2007, 21:53) *

Doh, I thought that Album Directory was something included with Panels UI blush.gif. I guess I am also using foo_run along side this code.

I just created a run command called "Album Directory" and made the Path "C:\Song Album Covers\%album%.jpg".

As for your code, it works perfectly fine for me. It creates a mini preview of the album art, and upon clicking it, it loads irfanview for me unsure.gif.

Using the new 9.5 beta 5 of foobar running on WinXP SP2.


Couldn't get the run script to work either. Are you using 0.14.x version of panels_ui? Using 0.13.8b myself but perhaps I should try with newer. Hope it's not OS issue sad.gif

Edit: I just noticed the iview32.exe process appears in task manager when button is executed, but application won't launch. Seems like OS issue then.
Keikonium
Could be an OS issue, I don't know :/.

shrinky
How come my seekbar doesn't show?

And can anyone help me add play/pause/stop buttons... Thank you
CODE
// Tabs
$select($eval($getpvar(display.mode)+1),

// Playlist
$drawrect(0,0,0,0,brushcolor-SYSCOL-15 pencolor-SYSCOL-15)

$panel(Playlist,Single Column Playlist,0,20,%_width%,$eval(%_height%-40),)

$panel(Playlists Dropdown,Playlists Dropdown,0,0,$sub(%_width%,0),20,)

$panel(Seekbar,Seekbar,00,$sub(%_height%,20),$sub(%_width%,0),20,)

,

// Explorer
$drawrect(0,0,0,0,brushcolor-SYSCOL-15 pencolor-SYSCOL-15)
$panel(Explorer,Explorer Tree,0,0,%_width%,$eval(%_height%-20),)
)



$button2(5,$eval(%_height%-16),0,0,20,12,'$font(,,bold,SYSCOL-2)PL','$font(,,bold,SYSCOL-13)PL',PVAR:SET:display.mode:0,TOOLTIP:"PLAYLIST")
$button2(25,$eval(%_height%-17),0,0,18,12,'$font(Wingdings,10,,SYSCOL-2)0','$font(Wingdings,10,,SYSCOL-13)1',PVAR:SET:display.mode:1,TOOLTIP:"EXPLORER TREE")

$panel(Seekbar,Seekbar,45,$sub(%_height%,20),$sub(%_width%,45),20,)

DaSilva
QUOTE(DaSilva @ Nov 24 2007, 02:49) *

How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?
radecke
QUOTE(DaSilva @ Nov 30 2007, 15:58) *

QUOTE(DaSilva @ Nov 24 2007, 02:49) *

How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?

normally foobar starts at the position of the screen where you closed it before.


@shrinky
that's because the Seekbar panel is invisible. the function of this plugin is to make a seekbar, created in panels ui, clickable so that you can skip through the track by clicking on it.
you have to make a progress bar like this:

$if(%isplaying%,
$puts(l,$eval(591* %playback_time_seconds% / %length_seconds%))
$imageabs2(,,,,$get(l),,174,$eval(%_height%-27),%foobar_path%\PanelsUI\flow\images\progress.png,)
,)

you can also use $rectabs(...) instead of a picture.
shrinky
QUOTE(radecke @ Nov 30 2007, 10:18) *


normally foobar starts at the position of the screen where you closed it before.


@shrinky
that's because the Seekbar panel is invisible. the function of this plugin is to make a seekbar, created in panels ui, clickable so that you can skip through the track by clicking on it.
you have to make a progress bar like this:

$if(%isplaying%,
$puts(l,$eval(591* %playback_time_seconds% / %length_seconds%))
$imageabs2(,,,,$get(l),,174,$eval(%_height%-27),%foobar_path%\PanelsUI\flow\images\progress.png,)
,)

you can also use $rectabs(...) instead of a picture.


thank you.... but i am very foobar illiterate, and am still confused as to how to add one. thank you though.
Keikonium
QUOTE(DaSilva @ Nov 30 2007, 09:58) *

QUOTE(DaSilva @ Nov 24 2007, 02:49) *

How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?


Yes this is possible using Panels UI. All you have to do is use this code in a $button(...) command (read the wiki for more info):

WINDOWSIZE:width:height:RIGHT:TOP


QUOTE(shrinky @ Nov 30 2007, 22:06) *

thank you.... but i am very foobar illiterate, and am still confused as to how to add one. thank you though.


Here is a better example:

Put the following code in your // PerTrack header:

CODE
$panel(CustomizableSeekbar,Track Display,20,40,400,20,)
$panel(SeekPanel,Seek Panel,20,40,400,20,)


Obviously change the names to suit your needs. The dimentions of BOTH panels need to be the same for it to function and look right.

Now in the Track Display panel (called "CustomizableSeekbar" in this example) use the following code:

CODE
// PerSecond
$puts(SEEKdir,'C:\Program Files\foobar2000\FoOrby\buttons\powerpanels\seekbar')
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,0),%length_seconds%))
$imageabs2(%_width%,13,,,,,0,4,$get(SEEKdir)\seek_back.png,nokeepaspect)
$ifgreater($get(progress),0,
$imageabs2(%_width%,13,,,$get(progress),,0,4,$get(SEEKdir)\seek_fore.png,nokeepaspect),)


Again, changing it to suit your needs. Hopefully this is helpful smile.gif.
Disharmony
How come custom buttons doesn't seem to work on PanelsUI 14.12?
shrinky
QUOTE(Keikonium @ Nov 30 2007, 22:21) *

QUOTE(DaSilva @ Nov 30 2007, 09:58) *

QUOTE(DaSilva @ Nov 24 2007, 02:49) *

How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?


Yes this is possible using Panels UI. All you have to do is use this code in a $button(...) command (read the wiki for more info):

WINDOWSIZE:width:height:RIGHT:TOP


QUOTE(shrinky @ Nov 30 2007, 22:06) *

thank you.... but i am very foobar illiterate, and am still confused as to how to add one. thank you though.


Here is a better example:

Put the following code in your // PerTrack header:

CODE
$panel(CustomizableSeekbar,Track Display,20,40,400,20,)
$panel(SeekPanel,Seek Panel,20,40,400,20,)


Obviously change the names to suit your needs. The dimentions of BOTH panels need to be the same for it to function and look right.

Now in the Track Display panel (called "CustomizableSeekbar" in this example) use the following code:

CODE
// PerSecond
$puts(SEEKdir,'C:\Program Files\foobar2000\FoOrby\buttons\powerpanels\seekbar')
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,0),%length_seconds%))
$imageabs2(%_width%,13,,,,,0,4,$get(SEEKdir)\seek_back.png,nokeepaspect)
$ifgreater($get(progress),0,
$imageabs2(%_width%,13,,,$get(progress),,0,4,$get(SEEKdir)\seek_fore.png,nokeepaspect),)


Again, changing it to suit your needs. Hopefully this is helpful smile.gif.


thank you thank you
shrinky
one more question, how do i make it so that when i click on my seekbar, it fast forwards to there... or is that not possible. thanks!
Kiteroa
QUOTE(shrinky @ Dec 2 2007, 10:49) *

one more question, how do i make it so that when i click on my seekbar, it fast forwards to there... or is that not possible. thanks!


Can be done - you need foo_uie_powerpanels
crazymad
in the library filter I only want to sort my media libaray by Artist -> Album -> Tracks, of course ordering the artist alphabetically, album by date of release and tracks by tracknumber of each album.

to my problem:

since I only have one Top Level Header in the library filter, I would love to have it expanded right away and not have to bother klicking it open everytime. moreover, Id love to rid of the Top Level Header completely and have the list of artists displayed from the start. is this possible?


and where do I specify to which playlist my selected tracks will be sent? right now it always sends them to a newly created playlist called ' *FILTER* '
Nickoladze
I've been using the latest beta version ever since terrestrial disappeared and it's never ever crashed for me. biggrin.gif
TomBarlow
Can anyone tell me where I can get the betas from? I'd like to have double and middle click options in the filter, so I'd need a beta, I think I read 14.9 is stable, but I've only been able to find 14.12. Thanks.
mil3s
QUOTE(TomBarlow @ Dec 8 2007, 09:39) *

Can anyone tell me where I can get the betas from? I'd like to have double and middle click options in the filter, so I'd need a beta, I think I read 14.9 is stable, but I've only been able to find 14.12. Thanks.

http://www.hydrogenaudio.org/forums/index....c&tid=55754
Harun
i have my setup configured so that if the album art exists for the currently playing song, it shows the album art using the $imageabs function, and doesn't show anything if there is no art

if there is no art i have a button that uses foo_run to download the art to the directory of the song

my question: is there a way for the art to show (after adding the art) - other than restarting foobar?
Keikonium
QUOTE(Harun @ Dec 18 2007, 01:58) *

i have my setup configured so that if the album art exists for the currently playing song, it shows the album art, and doesn't show anything if there is no art

if there is no art i have a button that uses foo_run to download the art to the directory of the song

my question: is there a way for the art to show (after adding the art) - other than restarting foobar?


Yes... but probably not the way you want it to show. I don't know if it's just my setup or not but I found that the following two ways will work:

1. Get the album art for the song you desire. Play a different song, then play the previous song again. The album art should show up.

2. Open the prefrences. Click Panels UI on the left hand side, then click the save button on the right (at the bottom). It will 'reload' the foobar interface and make the album art show.
Zetto
ROCK-STABLE PANELSUI (even 0.14.12)

Hi mates, seems i've found a way to make even version 0.14.12 stable (thx to gob).
The trick is: you need a combination of ColumnsUI and PanelsUI, where ColumnUI is your main UI Module (under display > user interface module). In ColumnsUI Layout window you then just create a TrackDisplay panel and Paste all your PanelUI code there.

Those random crashes with 0.14.12 (and even with 0.14.9 or 0.13.8 i got some), they made me sick and so im happy to have found out this workaround. it works 100%, try it out wink.gif
Keikonium
QUOTE(Zetto @ Dec 18 2007, 14:33) *

ROCK-STABLE PANELSUI (even 0.14.12)

Hi mates, seems i've found a way to make even version 0.14.12 stable (thx to gob).
The trick is: you need a combination of ColumnsUI and PanelsUI, where ColumnUI is your main UI Module (under display > user interface module). In ColumnsUI Layout window you then just create a TrackDisplay panel and Paste all your PanelUI code there.

Those random crashes with 0.14.12 (and even with 0.14.9 or 0.13.8 i got some), they made me sick and so im happy to have found out this workaround. it works 100%, try it out wink.gif


This was originally how I made my oldddd layout cause panels seemed over the top for me. However, with this "work around", you can't use glass (if you're on vista) and you can't hide the titlebar. I don't know if there is anything else that isn't possible tongue.gif.

I have experienced maybe one or two crashes with the 0.13.x versions, and only ONE with the 0.14.12 version. I am still confused about why everyone is having such problems with Panels UI, it runs perfectly fine for me.

Nice of you to post this work around for those who think that panels is buggy tongue.gif.
Zetto
yeah all the window tweaks off course dont work. i.e. "WINDOWSIZE" "hidetitlebar" "settitle", but i think its a fair trade.
gob
i can also say that i have had 0 stability issues with any version of panelsUI as long as columns UI is the main UI module. i've been using it for a long time and i have a pretty complicated setup.
DocBeard
Likewise. I'm presently using 13.8 (within a Columns UI framework), but I've used one of the 14 betas before within Columns without any crashes to speak of.
cybasoul
Hey guys, im working on a config and using UI Panels and SCPL.
I want to implement an iTunes like functionality to my SCPL, which is activating and deactivating tacks on the playlist.

I want to have toggle imagebuttons on each playlist item, using the buttons to activate and inactive the individual tracks. Im planing to use foo_skip to skip tracks that are tagged inactive wink.gif

Im faced with a show stopping issue, which is:

1 - $imabutton cannot be applied in SCPL
2 - UI Panels can not render stuff for SCPL items.

Does anyone have an idea of how this can be achieved, is it even feasible?

I have to have this feature and have been stuck on it for weeks mad.gif
dypsis
How do I get my tracks added to the Playlist from the Library by using double-click?

And also. Is there a way to add "Remove" to the context menu of the Playlist?
DaSilva
QUOTE(Keikonium @ Dec 1 2007, 06:21) *

QUOTE(DaSilva @ Nov 30 2007, 09:58) *

QUOTE(DaSilva @ Nov 24 2007, 02:49) *

How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?


Yes this is possible using Panels UI. All you have to do is use this code in a $button(...) command (read the wiki for more info):

WINDOWSIZE:width:height:RIGHT:TOP


Is it not possible to set this on every start instead of clicking on a button for that?
TomBarlow
For anyone missing Always On Top, I thought I'd share this I found:

http://users.forthnet.gr/pat/efotinis/programs/deskpins.html

It adds a cheesy looking pin to your layout, but it's a small price to pay.
Totyo
do you know how can i create a button to toggle sort/group presets?
eddy@
QUOTE(Totyo @ Jan 7 2008, 05:30) *

do you know how can i create a button to toggle sort/group presets?

$textbutton():
$button2(x,y,hotspot-x,hotspot-y,hotspot-w,hotspot-h,text,hover text,command,options)

Example 1:
CODE
$button2(10,60,0,0,150,20,
'$font(Calibri,10,shadow,255-255-255)$sortgroup_preset(1)',
'$font(Calibri,10,glow-140-210-220 glowexpand-1 glowalpha-120,220-220-250)$sortgroup_preset(1)',SORTGROUP_PRESET:1,TOOLTIP:)

Example 2:
CODE
$button2(10,60,0,0,150,20,
'$font(Calibri,10,shadow,255-255-255)$sortgroup_preset(0)',
'$font(Calibri,10,glow-140-210-220 glowexpand-1 glowalpha-120,220-220-250)$sortgroup_preset(0)',SORTGROUP_PRESET:0,TOOLTIP:)

$button2(10,80,0,0,150,20,
'$font(Calibri,10,shadow,255-255-255)$sortgroup_preset(1)',
'$font(Calibri,10,glow-140-210-220 glowexpand-1 glowalpha-120,220-220-250)$sortgroup_preset(1)',SORTGROUP_PRESET:1,TOOLTIP:)

$button2(10,100,0,0,150,20,
'$font(Calibri,10,shadow,255-255-255)$sortgroup_preset(2)',
'$font(Calibri,10,glow-140-210-220 glowexpand-1 glowalpha-120,220-220-250)$sortgroup_preset(2)',SORTGROUP_PRESET:2,TOOLTIP:)

$button2(10,120,0,0,150,20,
'$font(Calibri,10,shadow,255-255-255)$sortgroup_preset(3)',
'$font(Calibri,10,glow-140-210-220 glowexpand-1 glowalpha-120,220-220-250)$sortgroup_preset(3)',SORTGROUP_PRESET:3,TOOLTIP:)

$button2(10,140,0,0,150,20,
'$font(Calibri,10,shadow,255-255-255)$sortgroup_preset(4)',
'$font(Calibri,10,glow-140-210-220 glowexpand-1 glowalpha-120,220-220-250)$sortgroup_preset(4)',SORTGROUP_PRESET:4,TOOLTIP:)


Example 3:
CODE
$if($greater(%sortgroup_preset_count%,0),
$button2(10,60,0,0,150,20,
'$font(Calibri,10,shadow,255-255-255)$sortgroup_preset(0)',
'$font(Calibri,10,glow-140-210-220 glowexpand-1 glowalpha-120,220-220-250)$sortgroup_preset(0)',SORTGROUP_PRESET:0,TOOLTIP:)
$setpvar(name,100))

$if($greater(%sortgroup_preset_count%,1),
$button2(10,80,0,0,150,20,
'$font(Calibri,10,shadow,255-255-255)$sortgroup_preset(1)',
'$font(Calibri,10,glow-140-210-220 glowexpand-1 glowalpha-120,220-220-250)$sortgroup_preset(1)',SORTGROUP_PRESET:1,TOOLTIP:)
$setpvar(name,120))

$if($greater(%sortgroup_preset_count%,2),
$button2(10,100,0,0,150,20,
'$font(Calibri,10,shadow,255-255-255)$sortgroup_preset(2)',
'$font(Calibri,10,glow-140-210-220 glowexpand-1 glowalpha-120,220-220-250)$sortgroup_preset(2)',SORTGROUP_PRESET:2,TOOLTIP:)
$setpvar(name,140))

etc...



Falstaff
QUOTE(TomBarlow @ Jan 5 2008, 13:53) *

For anyone missing Always On Top, I thought I'd share this I found:

http://users.forthnet.gr/pat/efotinis/programs/deskpins.html

It adds a cheesy looking pin to your layout, but it's a small price to pay.


thanx for this tip ! very useful smile.gif
Totyo
eddy@

thanks for the fast reply.
eiskrap
Hi,

I'm trying to play around with ui_panels and have come across a question that I can't find the answer to.

If I open a new pui with POPUP, can I create a button to close this new pui later?

Thanks,

Chris
Totyo
Which redraw type is recommended to use with $panel ?
shakey_snake
// PerTrack
dRsrb
Hi!

0.14.12 ($newsyntax):

I don't know, if anybody else have this issue, but I'm not able to set a specific color ($textcolor()) for text in SCPL (tags & text is always black)!

I tried so many things, but it simply doesn't work and I don't know why!
Do I have to add anything else to code beside font functions?

Please, could anyone help me with sample code?


Bye
dRsrb
I found the solution: $newsyntax() must also be in the code (SCPL!), even though you have it in the // Global redrew section! blink.gif

That's the reason, why the new syntax doesn't work in SCPL!

smile.gif
crazymad
would it be possible to change the height of a row in the item view of the single column playlist dynamically? for example:

$if(condition
,
$set_row_height(x+h)...
,
...
)

that would be really sweet. or you could make it possible to group in more layers then only album - song, for example album - disc# - song...
dRsrb
@crazymad

Not possible for only one row! sad.gif
crazymad
then I would like to state the following feature requests smile.gif

- modification of the row hight for each element separately. the dialog boxes should also stay and function as a standard height, if the command to modify the height never got called.

- the ability to define your own number of group levels. say instead of only "Group Display" and "Item Display", I would love a list of own defined groups, ordered in a hierarchical order so I could, say, group my playlist under an artist, then group em by albums under the artist group, maybe group'em by discnumber additionally and then have the tracks displayed. of course you'll need a display type for each group and an individual row height of each group instead a defining a single row height and then the numbers of row within a group would be nice
metal_termite
Crazymad, this component is not being developed anymore barring a miracle.
eddy@
I notice that some new Panels UI users start a topic for help, but most of their problems get ignored. The developer has left, and the skin makers seem to feel tired. New users have to learn without a teacher.
Less and less people use Panels UI now. To be honest, as one of the Panels UI users, I really hope less and less people use Panels UI. foobar's titleformatting scripts are complicated for some new users, but Panels UI's syntax makes foobar more complicated.
crazymad
well is the code open? Id love to have a look at it then. this component has so much potential!
carbeck
Hello,

Another guy with a problem ... I've just registered here in order to ask, because I couldn't find any useful answers anywhere yet.

The problem is, I've installed Foobar recently (v. 0.9.5), and I just don't get my Panels UI (v. 0.13.8 beta) successfully working: It will show the skin and all just fine, but everytime I start the program, the window at first appears in the size defined by the skin for like a quarter of a second and then it somehow gets resized to 500x500 pixels in spite of the size definitions contained in the skin file, and I absolutely have no idea why that is. Resizing the window and saving my preferences also doesn't work to keep the window size constant. However, I have set up Foobar using Panels UI on my mother's old PC (runs XP Pro SP2 like my machine) as well and it works all fine there without any unwanted resizing. Both computers use the necessary libraries to run the skin (in this case, FooNion and/or FooLars by lassekongo83.deviantart.com), i.e. in the latest version I could find.

Here's a screenshot of my problem:

IPB Image

As you can see, the window is cut off at the right and gains additional space at the bottom in this case.

Thanks a lot for help,
cb
dRsrb
Hi!

Without code, it is very hard to say where the problem is!
metal_termite
QUOTE(crazymad @ Jan 15 2008, 16:12) *

well is the code open? Id love to have a look at it then. this component has so much potential!

Unfortunately it is not.
carbeck
QUOTE(dRsrb @ Jan 16 2008, 10:01) *

Hi!

Without code, it is very hard to say where the problem is!

If I only knew where to look ... as I said, this is all new for me, also the scripting system.
DaSilva
QUOTE(DaSilva @ Jan 1 2008, 03:11) *

QUOTE(Keikonium @ Dec 1 2007, 06:21) *

QUOTE(DaSilva @ Nov 30 2007, 09:58) *

QUOTE(DaSilva @ Nov 24 2007, 02:49) *

How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?


Yes this is possible using Panels UI. All you have to do is use this code in a $button(...) command (read the wiki for more info):

WINDOWSIZE:width:height:RIGHT:TOP


Is it not possible to set this on every start instead of clicking on a button for that?


Some more help please.

Another question:

How can I change the font of the song on the playlist?
Mookey
I looked up the dev's blog day before yesterday. The last thing I see from him was in October.

I assume others have tried to get in contact with him. Has he just dropped off the face of the interwebs?
dRsrb
QUOTE(carbeck @ Jan 16 2008, 17:58) *

...
If I only knew where to look ... as I said, this is all new for me, also the scripting system.

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

@Mookey

A link to this blog? smile.gif
Mookey
This appears to be FofR's blog: http://fofr.trivialbeing.net/

I got it off the contact page on http://www.fooblog2000.com
Keikonium
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 :\
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.