Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_ui_panels (Read 1318181 times) previous topic - next topic
0 Members and 19 Guests are viewing this topic.

foo_ui_panels

Reply #2700
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: [Select]

// 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)


foo_ui_panels

Reply #2701
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

foo_ui_panels

Reply #2702
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. 

foo_ui_panels

Reply #2703
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

foo_ui_panels

Reply #2704

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

foo_ui_panels

Reply #2705
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 ?

foo_ui_panels

Reply #2706
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.

foo_ui_panels

Reply #2707
Use "Next playlist" or "Previous playlist" command.

foo_ui_panels

Reply #2708
Alright, that works perfectly, thanks for your support

Then, is it possible to do a button who will open the "album list" window ?

foo_ui_panels

Reply #2709
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.

foo_ui_panels

Reply #2710
Alright, I didn't know that (I'm totally new on PanelsUI).
Thanks for your support

foo_ui_panels

Reply #2711
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.

foo_ui_panels

Reply #2712
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):

[a href="http://www.abload.de/image.php?img=filter16k7.jpg" target="_blank"]

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.

foo_ui_panels

Reply #2713
you can use something like
Code: [Select]
$div(%_width%,3)

to evaluate the available horizontal space for each filter panel

foo_ui_panels

Reply #2714
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)


[a href="http://www.abload.de/image.php?img=filter_panelsps9.jpg" target="_blank"]

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

thx.

foo_ui_panels

Reply #2715
hey,

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

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.

foo_ui_panels

Reply #2716
Could someone pls upload the latest version anywhere? The official site is dow.

foo_ui_panels

Reply #2717
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: [Select]
$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

foo_ui_panels

Reply #2718
afaik CONTEXT-SELECTED is broken in all 0.14.x versions. but it works with 0.13.x versions of panels ui

 

foo_ui_panels

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

foo_ui_panels

Reply #2720
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?
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_ui_panels

Reply #2721

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
A teacher is a student in denial.

foo_ui_panels

Reply #2722
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.

foo_ui_panels

Reply #2723
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!

foo_ui_panels

Reply #2724
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