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
Falstaff
QUOTE(Kiteroa @ Mar 8 2008, 04:32) *

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.


Yep, it must be that 'cause it works fine for me :

CODE


// PerTrack

$puts(var,'PlaylistToggle')
$button2(5,$eval(%_height%-15),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"
)

// test result
$font(calibri,8,normal,200-200-200)
$alignabs(105,$eval(%_height%-15),20,20,left,top)$getpvar(PlaylistToggle)

QuickoS
hi!
to start with, sorry if the problem has already been exposed.
I m using panelui 0.14.12 beta with vista and everything is ok at the begining
but after a few minutes (never the same time) of playing, the window starts going crazy: always on top with graphical errors (panels aren't at the right place and so on).i ll post a screnshot if i m not clear enough.
this problem appears with all pui skins
i didn't have this prob with xp.
hope someone can help me
thx in advance
mystNZ
Thank you all for trying to help, now its working!

The problem was that I had at the top $setpvar(PlaylistToggle,1) under "// Global" thinking that this is the way to initialize the variable with a default value (the rest of the code was indeed under // PerTrack). This made the variable practically static and unchangeable. smile.gif
Falstaff
QUOTE(QuickoS @ Mar 8 2008, 12:38) *

hi!
to start with, sorry if the problem has already been exposed.
I m using panelui 0.14.12 beta with vista and everything is ok at the begining
but after a few minutes (never the same time) of playing, the window starts going crazy: always on top with graphical errors (panels aren't at the right place and so on).i ll post a screnshot if i m not clear enough.
this problem appears with all pui skins
i didn't have this prob with xp.
hope someone can help me
thx in advance


pb already known : PUI 0.14.12 is not stable at all !!! try 0.14.9 version :

http://brett.free.fr/foobar/foo_ui_panels_0.14.9.zip




QuickoS
QUOTE(Falstaff @ Mar 8 2008, 09:37) *

QUOTE(QuickoS @ Mar 8 2008, 12:38) *

hi!
to start with, sorry if the problem has already been exposed.
I m using panelui 0.14.12 beta with vista and everything is ok at the begining
but after a few minutes (never the same time) of playing, the window starts going crazy: always on top with graphical errors (panels aren't at the right place and so on).i ll post a screnshot if i m not clear enough.
this problem appears with all pui skins
i didn't have this prob with xp.
hope someone can help me
thx in advance


pb already known : PUI 0.14.12 is not stable at all !!! try 0.14.9 version :

http://brett.free.fr/foobar/foo_ui_panels_0.14.9.zip


thx a lot smile.gif
Superunknown
Hi, I've got some kind of newbie question:

I'd like to display a specific SCPL for a specific playlist and another one for the other ones. I've written that :

$if($strstr(%playlist_name%,SpecificPlaylist),
$panel(Playlist2,Single Column Playlist,0,$get(yOffset),%_width%,$eval(%_height%-$get(yOffset)-26),),
$panel(Playlist3,Single Column Playlist,0,$get(yOffset),%_width%,$eval(%_height%-$get(yOffset)-26),))

Even if in the SpecificPlaylist, it displays the Playlist3 configuration, anyone can tell what's wrong ?
Superunknown
I've solved it with foo_cwb_hooks (thanks again Br3tt).

Now I've got another question, is it possible to make a button to switch to the next playlist ? A pretty simple request but I haven't managed to do so.
buktore
Use "Next playlist" or "Previous playlist" command.
Superunknown
Alright, that works perfectly, thanks for your support smile.gif

Then, is it possible to do a button who will open the "album list" window ?
buktore
In PanelsUI setting windows, there are "Main" and "Context" button which show you (using the drop down box below it) the name of all command available. Which look like EX: "Edit/Sort/Sort by Album"

You only need to use the name of the command, in this case it's "Sort by Album" but using the whole command also work.
Superunknown
Alright, I didn't know that (I'm totally new on PanelsUI).
Thanks for your support smile.gif
Superunknown
QUOTE(Superunknown @ Mar 9 2008, 14:50) *

I've solved it with foo_cwb_hooks (thanks again Br3tt).

Now I've got another question, is it possible to make a button to switch to the next playlist ? A pretty simple request but I haven't managed to do so.

Moved to PUI 0.14.9 and now it didn't work anymore so if someone knows how I could make PUI display a different SCPL layout depending on the playlist I'm looking at (and not necessarily the running one), I'd love to learn how to do it.
Bollerkopp
hey,

i want to use 3 filter-panels (genre, artist & album) in my config - all 3 side by side.
is it possible that they have the same behaviour when the foobar-main-window is resized like in my columns UI-config? there the 3 filter-panels have always the same size (length):

IPB Image IPB Image

i tried it, but i don't know how to manage this behaviour. sad.gif

that is one of my code-experiments:

QUOTE
$select($add($getpvar(display.mode),1),
$panel(Panels1,Filter,247,49,$eval(%_width%-876),175)
$panel(Panels2,Filter,$eval(%_width%-596),49,$eval(%_width%-886),175)
$panel(Panels3,Filter,$eval(%_width%-286),49,276,175)


i absolutely don't get it.

thx for your help. smile.gif
antar3s
you can use something like
CODE
$div(%_width%,3)

to evaluate the available horizontal space for each filter panel
Bollerkopp
hi,

thanks for your reply.

sorry, but i'm new on panels_UI. how i have to use this in my code?

thx in advance.


edit:

i tried it with the first filter-panel. i see, that he do it, but divs the whole horizontal space:

QUOTE
$panel(Panels,Filter,247,49,$div(%_width%,3),175)


IPB Image

(it's the "fooLars 2" by lassekongo83, what i edit) biggrin.gif

how i can set it, that he divs not the whole horizontal space, but from the first filter panel (247)?

thx. smile.gif
Bollerkopp
hey,

ok, after hours of musing and trying i got it. biggrin.gif

this code works perfectly:

QUOTE
$panel(Panels,Filter,247,48,$eval({%_width%-256}/3),176)
$panel(Panels2,Filter,$eval({%_width%-256}/3+247),48,$eval({%_width%-256}/3),176)
$panel(Panels3,Filter,$eval({%_width%-256}/3+{{%_width%-256}/3}+247),48,$eval({%_width%-256}/3),176)


greets.
cYmoZz
Could someone pls upload the latest version anywhere? The official site is dow. sad.gif
22U2
Hi. I have question. Why CONTEXT-SELECTED option don`t work in buttons (Panels 0.14.9 beta). Should I change buttons code?
For Example:
CODE
$button(0,0,64,0,15,15,/images\buttons\no.gif,/images\buttons\fdb.gif,Get Tags From freedb,CONTEXT-SELECTED)

This code work only with now played track, but not with selected. What should I do?
thx
antar3s
afaik CONTEXT-SELECTED is broken in all 0.14.x versions. but it works with 0.13.x versions of panels ui
Spirit_of_the_ocean
Can someone tell me which version of Track Display has the transparent background feature?
Keikonium
QUOTE(Spirit_of_the_ocean @ Mar 25 2008, 16:57) *

Can someone tell me which version of Track Display has the transparent background feature?


I'm pretty sure that all the newest 13.x versions and 14.x versions all can do the transparent background. Unless you are looking for the version that doesn't come bundled with PUI?
cybasoul
QUOTE(Totyo @ Feb 27 2008, 02:06) *

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.


I dont know if you resolved the image size issue, but I once came across these two components, I haven't tried them yet, plus their documentation is in Japanese so Its kinda hard to tell what they exactly do, plus I still yet to meet an African dude who can read Japanese.

The one is called foo_func and has a method called $getimageinfo()
here is the reference (translated to broken English):
foo_func

The other one is foo_uie_elplaylist :
[Not My Release] ELPlaylist

If you download the zip file, it has a readme text file, again, written in Japanese. In there, there are two functions: $getimagewidth(path), $getimageheight(path)

I havent tested any of these myself, but Im pretty sure you can get some useful stuff from them.
Let us know if it worked
Totyo
QUOTE(cybasoul @ Mar 26 2008, 00:35) *
I dont know if you resolved the image size issue, but I once came across these two components, I haven't tried them yet, plus their documentation is in Japanese so Its kinda hard to tell what they exactly do, plus I still yet to meet an African dude who can read Japanese.

The one is called foo_func and has a method called $getimageinfo()
here is the reference (translated to broken English):
foo_func

The other one is foo_uie_elplaylist :
[Not My Release] ELPlaylist

If you download the zip file, it has a readme text file, again, written in Japanese. In there, there are two functions: $getimagewidth(path), $getimageheight(path)

I havent tested any of these myself, but Im pretty sure you can get some useful stuff from them.
Let us know if it worked


Thanks for your help but I know about both, and my problem is (partially) solved now.
Kiteroa
Just tried foo_func.

It's fantastic - it adds new functions and provides scrteens for code (accessed via its preferences screen) to run

On init
On quit
On playback starting
On playback new track
On playback stop
On playback seek
On playback pause
On playback time (per second)
On volume change
On timer


AND you can access and use the functions in panels-ui track displays or SCPL!

References translated to broken English:
foo_func

functions

It includes some really useful command like creating and renaming playlists, accessing/activating other playlists, executing menu commands etc. etc.

Well worth a look!
antar3s
foo_func seems to be a pretty useful plugin. it is able to substitute the CONTEXT-SELECTED functionality of panelsui, by using the $contextmenu_execute function.
but so far i failed to find a way of tagging files this way. i tried to access the contextmenu entries added by foo_quicktag.
but foo_func can't find these entries. though, in the window where you set the keyboard shortcuts the contextmenuentry is there...
i wanna access something like 'Quick Tagger : Set <Album Rating> : 3' with $contextmenu_execute, so i can rate all files of an album at once. someone else any ideas?
or maybe someone who is able to speak japanese can ask the developer of foo_func to make quicktag entries accessible as well rolleyes.gif
antar3s
ok, forget what i wrote. i just figured out a way to act on selected items. a combination of foo_run and foo_runcmd does the trick
Insolent
Is it possible for PanelsUI to update the freaking window title on song-change without me having to minimize and maximize the window?
Evgen
I have 2 questions about skinning for panels ui.

1) How to make seekbar like default windows seekbar, but with custom background and that thing, that moves along the bar?

2) How to make background of single column playlist transparent, so that i could see background underneath it?

Here is images, for better explanation

here is how it should look
IPB Image

here is how is looks now
IPB Image

pEar
Please help to add Hide Scrollbar function.
dRsrb
@Insolent
AFAIK not.

@Evgen
1) This is how it works for me:
CODE

// Seebar
$puts(TEMP,$eval({%_time_elapsed_seconds%*100}/%_time_total_seconds%))
$puts(seek-bar-percent,$ifgreater(1,$get(TEMP),1,$get(TEMP)))

$ifgreater(%_time_elapsed_seconds%,0,
$drawrect(x,y,$muldiv($get(seek-bar-percent),width,100),height,brushColor-255-255-255 penColor-255-255-255 alpha-77)
,
)

$panel(PUI-SP,Seek Panel,x,y,width,height,)


2)
1. Right cklick on single column playlist
2. settings...
3. check option at bottom "Transparent Backgrond"

@pEar
The development of PanelsUI was aborted!
You can realize it by making a $panel (Track Display) and inside another $panel (single columns playlist).
Set
x=0
y=0
width=$eval(%_width%+20) [20 stands for the width of the scrollbar, usually 20 pixel wide]
height=%_height%

Example:
$panel(0,0,$eval(%_width%+20),%_height%,)

So far so good, but you still don't have an option for it.
You will have to set a $setpvar and a $button to click on it in your layout!

Bye
furinto
Biggest, most annoying issue is that settitle() doesn't update if foobar is minimized. Please fix this soon!
cmdrpaddy
QUOTE(furinto @ Apr 6 2008, 23:53) *

Biggest, most annoying issue is that settitle() doesn't update if foobar is minimized. Please fix this soon!


Hasn't development of this component completely stopped?
Keikonium
QUOTE(cmdrpaddy @ Apr 6 2008, 18:19) *

QUOTE(furinto @ Apr 6 2008, 23:53) *

Biggest, most annoying issue is that settitle() doesn't update if foobar is minimized. Please fix this soon!


Hasn't development of this component completely stopped?


Yes. The developer hasn't been here in close to a year, and Panels UI is closed source.
bluetooth01
I didnt want to make my own thread in the support forum so i thought id post my quick question here.

heres the layout im using:

IPB Image

since the album art would be kind of repetitive if i had it there twice i thought id show two different images, one for all the albums and one for the playing album (a grey play button for not playing and red for when playing). so i need something that says when not playing show this image(or show it all the time) and if playing show this other image (or show it over the previous one).

Grey: C:\Program Files\foobar2000\PanelsUI\foovita\foovita\default.png
Red: C:\Program Files\foobar2000\PanelsUI\foovita\foovita\playing.png

I got the grey image up, just not the 'if playing' part.
CODE

$imageabs2(40,40,,,,,10,4,/foovita\default.png,)

$if(%isplaying%,$imageabs2(40,40,,,,,10,4,/foovita\playing.png,),)


thanks for the help.
Keikonium
Try this:

CODE
$if(%isplaying%,
$imageabs2(40,40,,,,,10,4,/foovita\playing.png,)
,
$imageabs2(40,40,,,,,10,4,/foovita\default.png,)
)


The way $if() statements work is this:

$if(%isplaying%,
DO_THIS_WHEN_PLAYING
,
AND_THIS_WHEN_NOT_PLAYING
)
bluetooth01
QUOTE(Keikonium @ Apr 6 2008, 19:00) *

Try this:

CODE
$if(%isplaying%,
$imageabs2(40,40,,,,,10,4,/foovita\playing.png,)
,
$imageabs2(40,40,,,,,10,4,/foovita\default.png,)
)


The way $if() statements work is this:

$if(%isplaying%,
DO_THIS_WHEN_PLAYING
,
AND_THIS_WHEN_NOT_PLAYING
)



Still just shows the grey (default.png only) i checked and the playing.png image is in that folder and does work if i switch the two. Heres the whole group section, is there any code contradicting this image code?

CODE
$drawrect(0,0,0,%_height%,brushcolor-null pencolor-null)

$drawrect(0,0,$eval(%_width%-0),48,brushcolor-0-0-0 pencolor-null)

$font(AvantGarde LT Medium Caps,7,,90-90-90)
$alignabs(60,18,$sub(%_width%,4),22,left,left)%artist% \\ $font(AvantGarde LT Medium Caps,7,,104-25-44)%album%

$if(%isplaying%,
$imageabs2(40,40,,,,,10,4,/foovita\playing.png,)
,
$imageabs2(40,40,,,,,10,4,/foovita\default.png,)
)



thanks for the lesson smile.gif
Purple Monkey
Is this in the SCPL group header code? I don't think %isplaying% is defined in that context.
bluetooth01
QUOTE(Purple Monkey @ Apr 7 2008, 08:21) *

Is this in the SCPL group header code? I don't think %isplaying% is defined in that context.



yeah it is (im pretty sure tongue.gif ) half the code works (the grey part img) just not the red... huh.gif
Keikonium
Try this:

CODE
$drawrect(0,0,0,%_height%,brushcolor-null pencolor-null)

$drawrect(0,0,$eval(%_width%-0),48,brushcolor-0-0-0 pencolor-null)

$font(AvantGarde LT Medium Caps,7,,90-90-90)
$alignabs(60,18,$sub(%_width%,4),22,left,left)%artist% \\ $font(AvantGarde LT Medium Caps,7,,104-25-44)%album%

$imageabs2(40,40,,,,,10,4,/foovita\default.png,)

$if(%isplaying%,
$imageabs2(40,40,,,,,10,4,/foovita\playing.png,)
,)


I just took the default image code out of the $if() statement. Now it should always show the default image, except when a group is playing, it will show the playing image.

Are you sure you have the paths correct, and the file names/extensions?
buktore
%isplaying% not work in SCPL header. It only get the state of the first track in the group. Furthermore, The header only refresh when playlist is change or TAG update. Try playing first track in the group with your current config and switch playlist to another and back again, you'll see what I mean.

EL Playlist can do what you want.
bluetooth01
QUOTE(buktore @ Apr 7 2008, 17:42) *

%isplaying% not work in SCPL header. It only get the state of the first track in the group. Furthermore, The header only refresh when playlist is change or TAG update. Try playing first track in the group with your current config and switch playlist to another and back again, you'll see what I mean.

EL Playlist can do what you want.


you are exactly right, i noticed the red showing up sometimes but infrequent and didnt fully work so i didnt mention to save confusion.

whats this EL playlist, ill go google it and check around the site to see what youre talking about.
Walterrrr
QUOTE(bluetooth01 @ Apr 7 2008, 18:35) *

whats this EL playlist

http://www.hydrogenaudio.org/forums/index....showtopic=62133
cybasoul
Can someone please post me the last stable version of UI Panels. I think it was version 0.14.9 or 10, not sure.
Thanks in advance
dRsrb
Hi!

Download provided by shakey_snake
foo_ui_panels_0.14.9.zip


Bye
Keikonium
This is a reply to a problem posted in the Chronflow thread:

Basically what I have is a button that switches between Chronflow and Bubbleguuum's Coverflow (which I call Bubbleflow). So anyways, I had this code here:

CODE

$ifequal($getpvar(coverflow),1,
$ifequal($getpvar(setlyr),6,$panel(BubbleFlow,Cover flow,$eval($get(switchx)+1),$eval($get(switchy)+1),$eval($get(switchw)-2),$eval($get(switchh)-2),),)
,
$panel(ChronflowPanel,Chronflow,$eval($get(switchx)+1),$eval($get(switchy)+1),$eval($get(switchw)-2),$eval($get(switchh)-2),)
)


It would switch between the two just fine, but when I switched to Chronflow, it would be overtop of everything else even when the pvar I set WASN'T fitting what I thought was correct.

I had to add some more code to it, and I ended up with this:
CODE
$ifequal($getpvar(coverflow),1,
$ifequal($getpvar(setlyr),6,$panel(BubbleFlow,Cover flow,$eval($get(switchx)+1),$eval($get(switchy)+1),$eval($get(switchw)-2),$eval($get(switchh)-2),),)
,
$ifequal($getpvar(setlyr),6,$panel(ChronflowPanel,Chronflow,$eval($get(switchx)+1),$eval($get(switchy)+1),$eval($get(switchw)-2),$eval($get(switchh)-2),),)
)


I don't know how useful that is to you, but thats what fixed my problem.
BluDChyLD
The version on the site has broken the always on top option. I've read it last worked in 0.13.6. Could someone do me a huge favour and upload this for me? Been doing some googling and can't find it anywhere sad.gif
Thanks
antar3s
you could also have a look at this thread.
you can bind the exe to a button to toggle AlwaysOnTop
Nickoladze
Does anyone know of a button command that closes a popup window?
EXIT closes foobar completely, not just the window.

thanks
cybasoul
Guys, is it possible to set the UI Panel's view mode (Now Playing / Selected Item) without the use of the context menu. So that I can use an imagebutton to switch between the two?

Can someone please give me hope!
Shield
Hello,

I am currently putting the finishing touches to my first foobar2000 skin which is based on Panels UI 0.13.8 beta. The development raised a couple of problems which I am still unable to solve, so I depend on your help. In fact all problems are somewhat related since they all are about comparisons ... :

A single album per folder is the way most of the music is organized. But there are also some folders which contain a collection of personal favourites that do not share a single meta tag. That's why I would like to group the single column playlist by Folders, and if necessary, replace the group headers artist and album with "Various artists" and "Various albums". But how to compare the tags of multiple files ?

I also would like to determine both the longest track and the first group of a playlist. The commands %group_index% and %group_count%, specified within the Panels UI 0.13.x reference, look promising, but don't seem to two. In fact nothing does inside the Single Column Playlist Specific chapter. sad.gif

Oh, and by the way: How to edit a playlist ?! I know how to remove selected entries, but not how to manually sort them up and down, or move/copy them to a different list. I tried drag & drop and checked the command list, but both in vain. sad.gif

No clue how to accomplish any of these things ... so any answer will be very welcome !

Shield
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.