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
mil3s
Would someone mind checking out what's wrong with this rating code? I can't figure it out. There is some kind of weird offset.

CODE
$puts(rating,$if(%rating%,%rating%,0))
$button($sub($div(%_width%,2),31),170,0,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating1.png,Rate 1,)
$button($sub($div(%_width%,2),31),170,8,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating2.png,Rate 2,)
$button($sub($div(%_width%,2),31),170,13,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating3.png,Rate 3,)
$button($sub($div(%_width%,2),31),170,20,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating4.png,Rate 4,)
$button($sub($div(%_width%,2),31),170,26,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating5.png,Rate 5,)
$button($sub($div(%_width%,2),31),170,32,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating6.png,Rate 6,)
$button($sub($div(%_width%,2),31),170,39,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating7.png,Rate 7,)
$button($sub($div(%_width%,2),31),170,44,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating8.png,Rate 8,)
$button($sub($div(%_width%,2),31),170,49,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating9.png,Rate 9,)
$button($sub($div(%_width%,2),31),170,56,0,13,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating10.png,Rate 10,)


Images are here: http://lunaelement.net/files/stars.7z
alphaex32
Don't know, but feel free to use my code. It only needs two images (or it can just work with one) and seems to work pretty darn well. The only thing is the width of the image needs to be divisible by 10 or else there will be alignment problems:

CODE

//Start Variables
$puts(ratewidth,90)
$puts(xpos,0)
$puts(ypos,2)
$puts(image,$getpvar(image_dir)'\rating-stars_small.png')
$puts(image_unfilled,$getpvar(image_dir)'\rating-stars_small (unfilled).png')
$puts(unfilled_alpha,100)
$puts(normal_alpha,170)
$puts(mouseover_alpha,255)
//End Variables

$drawrect(,,,,brushcolor-SYSCOL-15 pencolor-null)
$puts(rateheight,$div($get(ratewidth),5))
$puts(halfstar,$div($get(ratewidth),10))

$puts(rating,$if(%rating%,%rating%,0))
$imageabs2($get(ratewidth),$get(rateheight),,,,,$get(xpos),$get(ypos),$get(image_unfilled),alpha-$get(unfilled_alpha))
$ifgreater($get(rating),0,$imageabs2($get(ratewidth),$get(rateheight),,,$mul($get(halfstar),$get(rating)),,$get(xpos),$get(ypos),$get(image),alpha-$get(normal_alpha)),)

$button2(0,0,0,0,$get(xpos),$get(rateheight),,,TAG:SET:RATING:,)
$puts(rate,1) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")
$puts(rate,2) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")
$puts(rate,3) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")
$puts(rate,4) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")
$puts(rate,5) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")
$puts(rate,6) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")
$puts(rate,7) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")
$puts(rate,8) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")
$puts(rate,9) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")
$puts(rate,10) $button2($get(xpos),$get(ypos),$mul($get(halfstar),$sub($get(rate),1)),0,$mul($get(halfstar),$get(rate)),$get(rateheight),'','$imageabs2('$get(ratewidth)','$get(rateheight)',$mul($get(halfstar),$sub(10,$get(rate))),,,,,,'$get(image)',alpha-'$get(mouseover_alpha)')',TAG:SET:Rating:$get(rate),TOOLTIP:"Rate:$get(rate)")


Here's the two images I use for my rating panel.
Keikonium
QUOTE(Kiteroa @ Apr 24 2007, 22:38) *

$ifgreater($len(%artist),30,
$left(%artist%,27)...
,
%artist%
)


Thanks! Works perfectly smile.gif.
metal_termite
Yes, boolean operators in the $eval or some other function would be cool. But I'll bake Terrestrial a pie if he ever adds letter spacing for non fixed-width fonts to the $font options. biggrin.gif
terrestrial
QUOTE(kabuki @ Apr 24 2007, 02:11) *

terrestrial, thanks you for your very fast reactivity for correcting last bugs.
- could you confirm that from version 0.9.0, unicode and specials characters are no longer supported ?


no, it should work fine.

QUOTE(TheBlackCat @ Apr 24 2007, 09:10) *

Terrestrial, I know this has been requested numerous times, but I am wondering what your plans are for the "minimum group size" option? The option so that it will pad a group with extra rows if it is smaller than a certain size? I don't know in general, but personally that is the main feature I am waiting on.


its more of a long term feature... when variable height rows gets added in. it'll require some major changes so I'm not sure when (or even if) I'll get to it.

QUOTE(mil3s @ Apr 24 2007, 09:24) *

Is there a reason %ispaused% doesn't work in Title Formating when using this plugin? At least it doesn't work in Main Window Title, haven't tested the statusbar.


it works, but the title bar only gets updated on song changes + stop/play.

QUOTE(nate @ Apr 24 2007, 10:53) *

Terrestrial, a question (sorry to bring this up again) - do you expect that the above request (the ability to change a panel's follow cursor/now playing mode be changed by something other than the existing right-click) will happen? I've been playing with your suggestion by having 2 panels, one set to follow cursor and one set to now playing, and switching between them based on a pvar, but honestly it's a bit of a mess. If you think there's a possibility that that functionality will be added in the future, I won't waste too much time trying to perfect the above method, but if you don't think it'll happen for whatever reason, I'll try to come up with something better.

Thanks,

-Nate


changing the displayed track in titleformatting will require some not insignificant code changes, so, unfortuantely, not any time soon.

QUOTE(carmenm @ Apr 24 2007, 11:56) *

I have now a quite a complex config especially because of one new thing i am working on.
I have that in my layout globals

[snip]

All that works perfectly except for the fact that when resetconf is on 0, my conf is so much slower than when iit is set to 1. And the only difference in the layout code is what i put in the last codebox.
So i was wondering what could make it so slow. Could it be the code of the buttons which is quite complex...
Any idea?


it seems resetconf will always be set to 1 since you have puts(resetconf,1) in your layout globals... but other than that I don't see anything.... does your cpu usage increase too or stay the same... it could seem to be "slow" because the panels don't refresh immediately but per second...

QUOTE(FofR @ Apr 25 2007, 07:17) *

I'd love a logic function that lets me use !, || and && with { }.
Replacing the confusing looking $or($and(x,v),$not(y)) with something simpler and more readable like $logic({x&&v}||!y).

A regular expression titleformat function would rock too.


Somebody correct me if I'm wrong, but I don't believe this is possible (without really hacking away at the titleformat evaluation process)

QUOTE(Hakubo @ Apr 25 2007, 08:37) *

I'm sorry if that's been addressed before, but I've searched and haven't found the answer.

Is there a way to enable/change grouping mode in the new system without sorting the playlist (the old behavior)?


yes, just select the layout mode through the layout selector.

QUOTE(mil3s @ Apr 25 2007, 11:54) *

Would someone mind checking out what's wrong with this rating code? I can't figure it out. There is some kind of weird offset.


CODE
$puts(rating,$if(%rating%,%rating%,0))
$button($sub($div(%_width%,2),31),170,0,0,7,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating1.png,Rate 1,)
$button($sub($div(%_width%,2),31),170,7,0,6,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating2.png,Rate 2,)
$button($sub($div(%_width%,2),31),170,13,0,6,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating3.png,Rate 3,)
$button($sub($div(%_width%,2),31),170,19,0,6,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating4.png,Rate 4,)
$button($sub($div(%_width%,2),31),170,25,0,6,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating5.png,Rate 5,)
$button($sub($div(%_width%,2),31),170,31,0,6,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating6.png,Rate 6,)
$button($sub($div(%_width%,2),31),170,37,0,6,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating7.png,Rate 7,)
$button($sub($div(%_width%,2),31),170,43,0,6,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating8.png,Rate 8,)
$button($sub($div(%_width%,2),31),170,49,0,6,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating9.png,Rate 9,)
$button($sub($div(%_width%,2),31),170,55,0,7,17,$getpvar(imgpath)rating$get(rating).png,$getpvar(imgpath)rating10.png,Rate 10,)


haven't tested it though.
Chairman85
QUOTE(Chairman85 @ Apr 22 2007, 21:30) *

Why do tracks added to the playback queue not trigger Cursor follows playback or 'isplaying' variables?

terrestial: Any word on this?
jimbo11883
Is the follow cursor mode for Track Displays working yet?
shakey_snake
QUOTE(Chairman85 @ Apr 25 2007, 22:05) *

QUOTE(Chairman85 @ Apr 22 2007, 21:30) *

Why do tracks added to the playback queue not trigger Cursor follows playback or 'isplaying' variables?

terrestial: Any word on this?
Mine do. You must have another plugin interfering. Terrestrial wouldn't answer this because it has nothing to do with PanelsUI.

QUOTE(jimbo11883 @ Apr 25 2007, 22:22) *

Is the follow cursor mode for Track Displays working yet?
Was it ever broken?
It's always worked for me.
The problem must be your code.


QUOTE(terrestrial @ Apr 25 2007, 21:47) *

QUOTE(FofR @ Apr 25 2007, 07:17) *

I'd love a logic function that lets me use !, || and && with { }.
Replacing the confusing looking $or($and(x,v),$not(y)) with something simpler and more readable like $logic({x&&v}||!y).

A regular expression titleformat function would rock too.


Somebody correct me if I'm wrong, but I don't believe this is possible (without really hacking away at the titleformat evaluation process)

I don't see how it would be any less feasible than $eval(). Just rather than returning a number, it would return True or False.
Chairman85
QUOTE(shakey_snake @ Apr 25 2007, 20:12) *

QUOTE(Chairman85 @ Apr 25 2007, 22:05) *

QUOTE(Chairman85 @ Apr 22 2007, 21:30) *

Why do tracks added to the playback queue not trigger Cursor follows playback or 'isplaying' variables?

terrestial: Any word on this?
Because they're playing out of the queue, not the playlist.

So why does this work for me with a Columns Playlist?
kabuki
QUOTE(terrestrial @ Apr 26 2007, 03:47) *

QUOTE(kabuki @ Apr 24 2007, 02:11) *

terrestrial, thanks you for your very fast reactivity for correcting last bugs.
- could you confirm that from version 0.9.0, unicode and specials characters are no longer supported ?

no, it should work fine.


Thanks for your reply. So it seems that I have some trouble for non-english text. Look at screenshots:

When text are store in my code from before upgrading to 0.9.0 it look like this in the code window:
IPB Image
and like this in foobar:
IPB Image

Since 0.9.0
Text with special accent or non-english txt look great in code:
IPB Image
but looks like that in foobar :
IPB Image

Is it really just me ? What I'm doing wrong ? dry.gif



carmenm
QUOTE(terrestrial @ Apr 26 2007, 02:47) *


QUOTE(carmenm @ Apr 24 2007, 11:56) *

I have now a quite a complex config especially because of one new thing i am working on.
I have that in my layout globals

[snip]

All that works perfectly except for the fact that when resetconf is on 0, my conf is so much slower than when iit is set to 1. And the only difference in the layout code is what i put in the last codebox.
So i was wondering what could make it so slow. Could it be the code of the buttons which is quite complex...
Any idea?


it seems resetconf will always be set to 1 since you have puts(resetconf,1) in your layout globals... but other than that I don't see anything.... does your cpu usage increase too or stay the same... it could seem to be "slow" because the panels don't refresh immediately but per second...

No resetconf is just there to reset the conf if something goes wrong. most of the time it is set to 0 so that i can change the pvar "in live". About my cpu, no it does no go to the roof. but i have redraw problems. I show you what happens
IPB Image
Here the Up arrow permits to make the panel go one up .When i click here is what i have
IPB Image
I have to redraw the panel with another thing like next track or anything for it to go well. Does that mean that not all panel is redrawn when doing what i did
Purple Monkey
QUOTE(Chairman85 @ Apr 26 2007, 04:14) *


So why does this work for me with a Columns Playlist?


Check my post a few pages back, as I was also previously confused with the current behaviour. (You might want to follow the quote links to get the whole convo)
The Judge
QUOTE(kabuki @ Apr 26 2007, 06:56) *

QUOTE(terrestrial @ Apr 26 2007, 03:47) *

QUOTE(kabuki @ Apr 24 2007, 02:11) *

terrestrial, thanks you for your very fast reactivity for correcting last bugs.
- could you confirm that from version 0.9.0, unicode and specials characters are no longer supported ?

no, it should work fine.


Thanks for your reply. So it seems that I have some trouble for non-english text. Look at screenshots:

When text are store in my code from before upgrading to 0.9.0 it look like this in the code window:
IPB Image
and like this in foobar:
IPB Image

Since 0.9.0
Text with special accent or non-english txt look great in code:
IPB Image
but looks like that in foobar :
IPB Image

Is it really just me ? What I'm doing wrong ? dry.gif



What font are you using? It might just be that that font doesn't support accented letters.
kabuki
QUOTE(The Judge @ Apr 26 2007, 11:53) *
What font are you using? It might just be that that font doesn't support accented letters.

I'm using calibri, and it supports accent. I've tried with other font, like arial and the problem is still here.
ç is always replace by ç
é > Ã@
è > Ã- etc...
I've made a complete French/English mod of FofR config (with traduction also in tooltips), and this accent thing is a bit ununderstanble... (and if i want some day to distribute it, I would like to use a good language, not "SMS" like wink.gif )

btw, thanks

bb10
QUOTE(kabuki @ Apr 26 2007, 11:25) *

QUOTE(The Judge @ Apr 26 2007, 11:53) *
What font are you using? It might just be that that font doesn't support accented letters.

I'm using calibri, and it supports accent. I've tried with other font, like arial and the problem is still here.
ç is always replace by ç
é > Ã@
è > Ã- etc...
I've made a complete French/English mod of FofR config (with traduction also in tooltips), and this accent thing is a bit ununderstanble... (and if i want some day to distribute it, I would like to use a good language, not "SMS" like wink.gif )

btw, thanks


"Fen$char(234)tre" seems to be working smile.gif
é = $char(233)
è = $char(232)
ç = $char(231)
kabuki
QUOTE(bb10 @ Apr 26 2007, 14:02) *
"Fen$char(234)tre" seems to be working smile.gif
é = $char(233)
è = $char(232)
ç = $char(231)

@bb10
Thanks for trying it.
1- could you point me in the right way to get & find all $char() equivalences ?
2- replacing all my traductions with $char() will be "unpractical" but at least you find a solution, for short time.
3- what I really don't understand, is why all my special characters work well with version < 0.9 (of panlUI)
bb10
QUOTE(kabuki @ Apr 26 2007, 13:13) *

QUOTE(bb10 @ Apr 26 2007, 14:02) *
"Fen$char(234)tre" seems to be working smile.gif
é = $char(233)
è = $char(232)
ç = $char(231)

@bb10
Thanks for trying it.
1- could you point me in the right way to get & find all $char() equivalences ?
2- replacing all my traductions with $char() will be "unpractical" but at least you find a solution, for short time.
3- what I really don't understand, is why all my special characters work well with version < 0.9 (of panlUI)


You can find them here: http://www.fileformat.info/

search example: latin "small/capital" letter "e" with "circumflex"

circumflex = L'accent circonflexe
acute = L'accent aigu
grave = L'accent grave
cedilla = La cédille

The number you need to use is written next to HTML Entity (decimal).

hope that helps smile.gif
The Judge
Start Menu - Accessories - System Tools - Character Map

Find the code, type it into the calculator in Hex mode and then change back to Dec mode and you should have the corresponding character reference smile.gif
kabuki
QUOTE(bb10 @ Apr 26 2007, 14:35) *
You can find them here: http://www.fileformat.info/
hope that helps smile.gif

QUOTE(The Judge @ Apr 26 2007, 14:36) *

Start Menu - Accessories - System Tools - Character Map

Find the code, type it into the calculator in Hex mode and then change back to Dec mode and you should have the corresponding character reference smile.gif

For sure that helps !! biggrin.gif a great thank for both of you. Time ago, i tried to googling "$char()" without result.
beer.gif
If I'm the only one with that problem... Problem must be located from my config, or my PC and maybe not from panelUI as I thought... it seems that I will abuse some $char() for the next few days... wink.gif
Cheers
widerock
Does "Panels UI' support the 2-byte characters such as Korean?

The Korean font is named with Korean characters.

When I changed the default font name(Calibri) with the Korean font name,
the typed Korean font name was broken.

Is there any method to fix this problem?

Sorry for my poor english......^-^
carmenm
Terrestrial: would it be possible to allow something like that in $eval() :
$eval(2+-4)
and make it $eval(2-4)

this is problem when you have a variable and you do $eval(2+$get(toto))
if the variable equals -2. I would like to allow positive and negative values for toto but currently it is not possible

Thanks
kabuki
Hi terrestrial,
I would like to make a request, but I'm pretty sure it is absolutely NOT possible (for the moment?).
I LOVE pvar and I really want to thank you for that.

I was thinking of a sort of "one step back" history with pvars.
Something like $setpvar(Var1,$waspvar(Var1)) for those variables which have more than two value.
Which will be the use:
    I got 4 variables:
  • fullscreen = can be 0 or 1
  • Panels = can be 0,1 or 2
  • menus = can be 0,1,2,3 etc...
  • titlebar = can be 0 or 2
Then I map superposed buttons to set fullscreen to 1, Panels to 0, menus to 0 and titlebar to 0.
So I switch to a ... fullscreen mode wink.gif .
After that, when I quit the fullscreen mode, I can let those 3 other pvar to 0 or I set them to a value I want.
If some function could exist to get the "just before" value of those pvar, I could set them to there precedent value, and quitting fullscreen mode will make my config look as before. But I'm thinking it would increase the cached memory or something like that, no ?
Thanks in advance for telling me if such a thought is absolutely nuts. biggrin.gif
carmenm
QUOTE(kabuki @ Apr 26 2007, 14:56) *

Hi terrestrial,
I would like to make a request, but I'm pretty sure it is absolutely NOT possible (for the moment?).
I LOVE pvar and I really want to thank you for that.

I was thinking of a sort of "one step back" history with pvars.
Something like $setpvar(Var1,$waspvar(Var1)) for those variables which have more than two value.
Which will be the use:
    I got 4 variables:
  • fullscreen = can be 0 or 1
  • Panels = can be 0,1 or 2
  • menus = can be 0,1,2,3 etc...
  • titlebar = can be 0 or 2
Then I map superposed buttons to set fullscreen to 1, Panels to 0, menus to 0 and titlebar to 0.
So I switch to a ... fullscreen mode wink.gif .
After that, when I quit the fullscreen mode, I can let those 3 other pvar to 0 or I set them to a value I want.
If some function could exist to get the "just before" value of those pvar, I could set them to there precedent value, and quitting fullscreen mode will make my config look as before. But I'm thinking it would increase the cached memory or something like that, no ?
Thanks in advance for telling me if such a thought is absolutely nuts. biggrin.gif

Just save your values when you go fullscreen and read them when you quit fullscreen
No need of such a feature in my opinion. Some people already did something like that in order to remember last played tracks
bb10
QUOTE(widerock @ Apr 26 2007, 14:36) *

Does "Panels UI' support the 2-byte characters such as Korean?

The Korean font is named with Korean characters.

When I changed the default font name(Calibri) with the Korean font name,
the typed Korean font name was broken.

Is there any method to fix this problem?

Sorry for my poor english......^-^


can you post the font or point me to it? smile.gif
kabuki
QUOTE(carmenm @ Apr 26 2007, 16:05) *

QUOTE(kabuki @ Apr 26 2007, 14:56) *
[...]history with pvars.
Something like $setpvar(Var1,$waspvar(Var1)) for those variables which have more than two value.

Just save your values when you go fullscreen and read them when you quit fullscreen
No need of such a feature in my opinion. Some people already did something like that in order to remember last played tracks

Could you be more explicit, please smile.gif
Where or how do I "save" them and from where do I "read" them back, as their value have been, meanwhile, modified ?
carmenm
QUOTE(kabuki @ Apr 26 2007, 16:09) *

QUOTE(carmenm @ Apr 26 2007, 16:05) *

QUOTE(kabuki @ Apr 26 2007, 14:56) *
[...]history with pvars.
Something like $setpvar(Var1,$waspvar(Var1)) for those variables which have more than two value.

Just save your values when you go fullscreen and read them when you quit fullscreen
No need of such a feature in my opinion. Some people already did something like that in order to remember last played tracks

Could you be more explicit, please smile.gif
Where or how do I "save" them and from where do I "read" them back, as their value have been, meanwhile, modified ?

lets say when you go fullscreen you want save the variable named toto. Just create a variable named totsaved.
When you go fullscreen you do $puts(totosaved, $get(toto))

when you quit fullscreen you do $puts(toto, $get(totosaved))

Here you are, you have saved toto during fullscreen. What is important is that totosaved is only changed when you go fullscreen. So it is the saved value of toto
kabuki
QUOTE(carmenm @ Apr 26 2007, 17:19) *

QUOTE(kabuki @ Apr 26 2007, 16:09) *

QUOTE(carmenm @ Apr 26 2007, 16:05) *

QUOTE(kabuki @ Apr 26 2007, 14:56) *
[...]history with pvars.
Something like $setpvar(Var1,$waspvar(Var1)) for those variables which have more than two value.

Just save your values when you go fullscreen and read them when you quit fullscreen
No need of such a feature in my opinion. Some people already did something like that in order to remember last played tracks

Could you be more explicit, please smile.gif
Where or how do I "save" them and from where do I "read" them back, as their value have been, meanwhile, modified ?

lets say when you go fullscreen you want save the variable named toto. Just create a variable named totsaved.
When you go fullscreen you do $puts(totosaved, $get(toto))

when you quit fullscreen you do $puts(toto, $get(totosaved))

Here you are, you have saved toto during fullscreen. What is important is that totosaved is only changed when you go fullscreen. So it is the saved value of toto


w00t.gif
understood now
thanks you very much for quick and clear answer... i will try it by now.
cheers
Hakubo
QUOTE(terrestrial @ Apr 26 2007, 05:47) *
QUOTE(Hakubo @ Apr 25 2007, 08:37) *
Is there a way to enable/change grouping mode in the new system without sorting the playlist (the old behavior)?


yes, just select the layout mode through the layout selector.
Sorry, I don't understand. Is it in Preferences -> Display -> Panels UI?
There's just one layout there, called default.pui. Or where do I choose the layout mode?

EDIT: Nevermind, just had to untick "Group by Sort" in my custom criterion. Thanks.

Still, the ability to undo/redo sorting would be useful, IMO.
alphaex32
My layout and user globals areas are starting to get really stuffed. It would be awesome if we could somehow split up those pages into custom tabs (or just a list of pages). This would be great, for example, so you could define a single globals box for colors, one for sizes, one for fonts, etc.

I'd also like to just repeat my request for a true status bar, preferably just the one from columnsUI.

It would also be useful to have an option for $drawrect to make them formatted like 3d system boxes.
jonpb
So I just downloaded v0.10.0 and my groups and buttons disappeared. I imagine the buttons have something to do with a new alignment system, although I couldn't find anything in the readme that alludes to that.
As for the groups, I suppose it has something to do with, what is specified in the readme:

QUOTE
0.9.0
+ new sorting/grouping system


but there is nothing in the wiki that I can find. This must be a FAQ, I tried searching back through this thread but got tired of flipping pages.

In the "SCP layout selector" section of the "Sort/Group" config page the functions $isgrouped(), $scplsetlayout(), and $sortidx() are called. I can't find documentation for these functions in the readme or the wiki.

--------
Ok, I got the buttons back, somehow the relative path spec has changed since 0.8 of this plugin. I tried adding the slash "/" as per the wiki, but that didn't work either so I just put the image path in a variable.

Still don't have any groups, though.
--------

Thanks for any help.
tberman333
QUOTE(jonpb @ Apr 28 2007, 18:49) *

So I just downloaded v0.10.0 and my groups and buttons disappeared. I imagine the buttons have something to do with a new alignment system, although I couldn't find anything in the readme that alludes to that.
As for the groups, I suppose it has something to do with, what is specified in the readme:

QUOTE
0.9.0
+ new sorting/grouping system


but there is nothing in the wiki that I can find. This must be a FAQ, I tried searching back through this thread but got tired of flipping pages.

In the "SCP layout selector" section of the "Sort/Group" config page the functions $isgrouped(), $scplsetlayout(), and $sortidx() are called. I can't find documentation for these functions in the readme or the wiki.

--------
Ok, I got the buttons back, somehow the relative path spec has changed since 0.8 of this plugin. I tried adding the slash "/" as per the wiki, but that didn't work either so I just put the image path in a variable.

Still don't have any groups, though.
--------

Thanks for any help.


look around page 30 of this thread....

jonpb
QUOTE(tberman333 @ Apr 28 2007, 17:26) *

QUOTE(jonpb @ Apr 28 2007, 18:49) *

So I just downloaded v0.10.0 and my groups and buttons disappeared.


look around page 30 of this thread....


Thanks, I finally got it:
Groups:
http://www.hydrogenaudio.org/forums/index....st&p=481454
Buttons:
QUOTE
0.10.0
+ changed base path to be relative to layout folder. eg. if you have your pui in ..\foobar2000\PanelsUI\MyTheme\MyTheme.pui, then /images\myimage.jpg would be ..\foobar2000\PanelsUI\MyTheme\images\myimage.jpg


Everything is back normal!
Nickoladze
Here's what I really want to be added; transparent background for SCPL.

Pleeeeeeeaseeeeee
Russell777
QUOTE(Nickoladze @ Apr 29 2007, 06:47) *

Here's what I really want to be added; transparent background for SCPL.

Pleeeeeeeaseeeeee

And to Track display as well!

Pleeeeeeeeeeeeeee
Nickoladze
QUOTE(Russell777 @ Apr 28 2007, 22:53) *

QUOTE(Nickoladze @ Apr 29 2007, 06:47) *

Here's what I really want to be added; transparent background for SCPL.

Pleeeeeeeaseeeeee

And to Track display as well!

Pleeeeeeeeeeeeeee


Oh yeah, maybe we can have a transparent Foobar with an image background.

Yay, look like Winamp.
Russell777
Well now on a serious note:no,and i mean no panel that natively supports mouse wheel scrolling doesn't do it
under panels ui.For a plain text lyrics it's quite a pain.Could a mouse wheel scrolling be supported.Please
consider it,thanks for your time (and mostly patience smile.gif).
Kessy
Hello...

where can i find the newest version 0.10.2 ?
Falstaff
QUOTE(Kessy @ Apr 29 2007, 08:22) *

Hello...

where can i find the newest version 0.10.2 ?


link on the 1st post of this thread ! it written 0.10.0 but file is 0.10.2 laugh.gif

Br3tt
barry123
QUOTE(barry123 @ Apr 23 2007, 12:31) *

I use panel UI and Columns Playlist.
with Columns Playlist I use the code %Play_counter%
when I hit the Colum Play Counter it sort the tracks from low to high.
so 1,2,3,4,5,6 etc.

I've to hit the Colum twice to sort from high to low.
kind of annoying when there are 10.000+ mp3's in the playlist.

is there any way to just click ones?


anyone? rolleyes.gif
UnduTheGun
I don't know why, but since I installed the new version (0.10.2), foobar crashes on startup saying "unhandled exception: bad allocation", even when using default settings. (foobar doesn't create a crash log)

I also use the following plugins:
CODE
Core (2007-04-20 21:36:34)
    foobar2000 core 0.9.4.3
foo_abx.dll (2007-04-20 21:35:00)
    ABX Comparator 1.3.1
foo_adpcm.dll (2006-12-07 02:19:38)
    ADX decoder 1.6
    BRR decoder and converter 0.7
    GCN DSP decoder 1.3
    Interplay ACM decoder 1.0
    kode's ADPCM decoders 1.2
    OKI-ADPCM decoder 0.14
    RAC decoder 1.0
    XA ADPCM decoder 1.2
foo_albumlist.dll (2007-04-20 21:34:58)
    Album List 3.2.0
foo_audioscrobbler.dll (2006-06-15 22:07:04)
    Audioscrobbler 1.3.4
foo_autoplaylist.dll (2006-08-04 21:56:56)
    Autoplaylist Manager 1.0
foo_cdda.dll (2007-04-20 21:34:44)
    CD Audio Decoder 2.1.1
foo_converter.dll (2007-04-20 21:34:28)
    Converter 1.0.1
foo_cwb_hooks.dll (2006-12-01 14:47:46)
    cwbowron's title format hooks 1.1.0beta [Dec  1 2006 - 13:47:34]
foo_dsp_bs2b.dll (2006-03-28 15:34:30)
    bs2b 2.0.0b2
foo_dsp_delta.dll (2006-03-21 18:16:22)
    LPCM <--> delta-PCM converter 0.1.1
foo_dsp_dolbyhp.dll (2006-04-30 14:59:34)
    Dolby Headphone Wrapper 1.1
foo_dsp_soundtouch.dll (2006-10-02 19:38:40)
    SoundTouch DSP 0.1
foo_dsp_ssrc.dll (2006-04-25 17:00:00)
    Resampler DSP (SSRC) 0.53 SSE2
foo_dsp_std.dll (2007-01-20 01:36:56)
    Standard DSP array 1.0
foo_freedb2.dll (2006-08-29 20:43:04)
    freedb Tagger 0.5.2a
foo_gep.dll (2006-11-29 06:49:50)
    Game Emu Player 1.4.1
foo_input_monkey.dll (2006-08-04 21:57:18)
    Monkey's Audio decoder 2.1.1
foo_input_std.dll (2007-04-20 21:34:22)
    FLAC Decoder 1.1.0
    Standard Input Array 1.0
    WMA Decoder 1.1
foo_input_tak.dll (2007-04-19 00:24:04)
    TAK Decoder 0.3.1
foo_lyricsdb.dll (2007-02-26 18:42:02)
    foo_lyricsdb 0.0.7 beta 5
foo_managedWrapper.dll (2006-08-01 20:10:46)
    foo_managedWrapper 0.3
foo_masstag.dll (2007-04-20 21:33:44)
    Masstagger 1.6
foo_midi.dll (2006-12-28 04:54:20)
    MIDI synthesizer host 1.7
foo_msnalt.dll (2006-08-26 14:49:16)
    MSN Now Playing (alt) 2.4.2
foo_oddcastv3.dll (2006-10-06 06:37:54)
    OddcastV3 3.x
foo_playlist_tree.dll (2007-04-03 11:40:00)
    Playlist Tree Panel 3.0.BETA_3 [Apr  3 2007 - 11:39:32]
foo_rgscan.dll (2007-04-20 21:33:22)
    ReplayGain Scanner 2.0.2
foo_sic.dll (2007-01-08 11:52:52)
    foosic music database 1.0 beta 12
foo_ui_columns.dll (2006-11-22 14:05:24)
    Columns UI 0.1.3 beta 1v7
foo_ui_std.dll (2007-04-20 21:33:14)
    Default User Interface 0.9acc
foo_uie_albumart.dll (2006-06-20 16:47:30)
    Album Art Panel 0.2.1
foo_uie_lyrics.dll (2007-03-12 15:32:45)
    Lyric Show Panels 0.3.1.1
foo_uie_playlists_dropdown.dll (2006-06-09 13:49:24)
    Playlists Dropdown 0.5.7.5
foo_uie_quicksearch.dll (2007-01-03 15:18:46)
    Quick Search Toolbar 2.8k
foo_uie_single_column_playlist.dll (2007-01-09 16:43:08)
    Single Column Playlist Display 0.5.4 beta [Jan  9 2007 - 15:42:59]
foo_uie_tabs.dll (2006-10-17 23:54:32)
    Tabbed panel modified 0.2.5
foo_uie_trackinfo.dll (2006-07-18 22:35:10)
    Track info panel 0.8
foo_uie_trackinfo_mod.dll (2007-01-05 14:36:20)
    Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]
foo_uie_vis_egoh.dll (2007-03-12 22:30:28)
    Egoh Spectrum analyser (uie) 1.1.2
foo_uie_wsh_panel.dll (2007-03-18 03:24:24)
    WSH Panel (uie) 0.7.1
foo_unpack.dll (2007-04-20 21:35:14)
    RAR reader 1.1
    ZIP/GZIP reader 1.0
foo_unpack_jma.dll (2006-08-21 11:06:02)
    JMA unpacker 1.0
foo_winamp_spam.dll (2006-12-16 03:48:34)
    Winamp API Emulator 0.94
shakey_snake
QUOTE(barry123 @ Apr 29 2007, 06:06) *

QUOTE(barry123 @ Apr 23 2007, 12:31) *

I use panel UI and Columns Playlist.
with Columns Playlist I use the code %Play_counter%
when I hit the Colum Play Counter it sort the tracks from low to high.
so 1,2,3,4,5,6 etc.

I've to hit the Colum twice to sort from high to low.
kind of annoying when there are 10.000+ mp3's in the playlist.

is there any way to just click ones?


anyone? rolleyes.gif

I have no idea what you're asking, barry.

But it sounds like it probably needs to be addressed in the ColumnsUI thread, not this one.
StanRex
I have a bit of a problem here. It seems jpg images are displayed ok, but pngs arent.

What's weird is that I dled zlib and libpng and put them properly in the foobar folder, but it still wont work.

Here s a screen of the issue :

Issue
cvax
is there a way to 'turn off' panels that you call up earlier? what i have is 2 buttons. one button brings up the library and another button brings up the track display. what keeps happening is whenever i click a button it just overlays the panel over the old panel without first clearing the space.

CODE

$button2(0,0,0,0,16,14,button,button,
PVAR:SET:display:$select($getpvar(display),2),)

$button2(0,0,0,0,16,14,button,button,
PVAR:SET:display2:$select($getpvar(display2),2),)

$select($getpvar(display),
//Panel One codes
,
//Panel Two codes
)

$select($getpvar(display2),
//Panel Three codes
,
//Panel Four codes
)


as you can see from the code theres no clearing issue between panel1&2 or panel3&4 since the code will only render one from each set. the problem arises between the sets because the code is rendering one from each set and this is why i am having the overlaying panels issue.

i have tried several dummy variables but my programming skills are obviously too noob to get it to work. any ideas would be appreciated. thanks

ps. dont mind the syntaxing of the spacing on the buttons. they are on distinct locations in the real code
mil3s
is it possible to somehow read the vaule of a SYSCOLOR ? if not it would be a very useful feature. one could use it to see what color theme is used and match foobar images with it somehow.
db78
Hi I just had a quick question in regards to sorting in the playlist. I added my own custom sort which works out perfectly for my needs. The problem is whenever I closed foobar, it goes back to a different sorting method and I have to change to custom sorting again. I'm using the 0.9.2 version of PanelsUI because I'm having some problems with the new panels and certain images showing up. Is there a way to fix the sorting problem?
mil3s
How can I see what a playlist is grouped by to set the correct header (%album% or %artist% for example) in Group Display.
4nt1
how you tried right clicking > Sort/Group By > the one with the tick is what is currently sorting/grouping with - you can edit to make your own or select presets...v

these can also further be edited from preferences > PanelsUI > Sort/Group By

Have fun - enjoy ask questions if you have them.

mil3s
^My question was probably not clear enough. I meant that I was wondering how to see it with code. Like for example $grouped(artist) could return 1 if the playlist is sorted by artist. Or something like that, so I can create a dynamic header for the Group Display.
The Judge
Yeah,

As 4nt1 said,

Preferences>Panels>Sort/Group By
cvax
is it possible to define an overall scpl header that isnt part of the group header?

i am trying to get a header above the playlist that will act as a playlist switcher and hopefully will be a floating one so that as i scroll up and down the playlist i can still see this "playlist switcher" header at all times
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.