Help - Search - Members - Calendar
Full Version: [Not my release]foo_uie_panel_splitter
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Pages: 1, 2, 3, 4
Falstaff
QUOTE(Andu @ Oct 10 2008, 22:28) *

Will you release a hotfix or a new version?


if i can fix all these new bugs or changes (developper only knows ...) i'll make a new release of my configs to make them compatible with this new version, if there is onnly one new problem that i can't fix, i'll do nothing and wait for a new release more clean ...

i check what other can have be changed ... tests continue
Falstaff
truncating the command path do not resolve all the buttons i use in IBIZA or KUNG-FOO configs ...

i wait for a fixed new version of Panel Stack Splitter, i come back to previous version and wait for news from the developper, i hope he will find what's wrong in this new release...

good luck to him and thanx by advance.
Spirit_of_the_ocean
The code:
$imagebutton(50,50,50,50,C:\Programme\foobar2000_9.5.5\images\play.png,C:\Programme\foobar2000_9.5.5\images\playH.png,COMMAND:Play or Pause;REFRESH,,)

Works
Falstaff
QUOTE(Spirit_of_the_ocean @ Oct 10 2008, 22:57) *

The code:
$imagebutton(50,50,50,50,C:\Programme\foobar2000_9.5.5\images\play.png,C:\Programme\foobar2000_9.5.5\images\playH.png,COMMAND:Play or Pause;REFRESH,,)

Works


i know, i've said it in a previous post above wink.gif (#99) but some other commands still don"t work, example :

$imagebutton(154,1,25,25,'./images/ibiza/bt/fav-off.png','./images/ibiza/bt/fav-on.png',CONTEXT:'Edit/Add to Current Playlist',,)


changed in ==>

$imagebutton(154,1,25,25,'./images/ibiza/bt/fav-off.png','./images/ibiza/bt/fav-on.png',CONTEXT:'Add to Current Playlist',,)

still do not work ! just an example
fbuser
This bug is fixed now. Thanks to the dev.
Falstaff
QUOTE(Falstaff @ Oct 10 2008, 23:08) *

QUOTE(Spirit_of_the_ocean @ Oct 10 2008, 22:57) *

The code:
$imagebutton(50,50,50,50,C:\Programme\foobar2000_9.5.5\images\play.png,C:\Programme\foobar2000_9.5.5\images\playH.png,COMMAND:Play or Pause;REFRESH,,)

Works


i know, i've said it in a previous post above wink.gif (#99) but some other commands still don"t work, example :

$imagebutton(154,1,25,25,'./images/ibiza/bt/fav-off.png','./images/ibiza/bt/fav-on.png',CONTEXT:'Edit/Add to Current Playlist',,)


changed in ==>

$imagebutton(154,1,25,25,'./images/ibiza/bt/fav-off.png','./images/ibiza/bt/fav-on.png',CONTEXT:'Add to Current Playlist',,)

still do not work ! just an example


ok, make it works, all is fine now, but have to be fixed anyway please, not very clean no ?
Falstaff
v0.3.5.1a is out !! command-path problems fixed smile.gif

@ dev:
thanx a lot to the dev for reactivity to fix this bug, it works fine now

%isplaying% is always not supported, is it on your to do list ?

grounder
Google Translate:
foo_uie_panel_splitter_Readme_english
Falstaff
new bug found in last version :

alpha parameter do not work anymore with $drawimage (not tested $imageabs yet)

example :

$drawimage(195,$sub(%_height%,75),$sub(%_width%,260),55,'./images/kung-foo/bg/scr_ov_white4.png',nokeepaspect,0,070)

==> alpha-070 not actived, it stay to 255 by default

@ developper : thanx by advance for fixing this bug please

keep the good work and thanx for this nice component wink.gif

other bug found in last version :

==> always with $drawimage in PSS or $imageabs too, pictures are not visible in a PSS after showing it, reappear sometimes after a track change !!

in fact, the problem is only with $imageabs which do not work sad.gif ... $drawimage works but this function is working worth than $imageabs sad.gif, picture resize is ugly with $drawimage, not smooth at all (nice in $imageabs)

IPB Image
Falstaff
another bug with $drawrect function, offset is lower of one pixel than in previous version ... very strange !

a $drawrect coded to draw a rect 10x10 is now painted in 9x9 pixels !!!

@dev : could you fix it too ?

thanx
Falstaff
@ developper :

ANOTHER bug in v0.3.5.x new version of PSS :

- i use Chronflow panel in a PSS panel, and in the new version of PSS, the chronflow option that allow to find a cover (positionning) by typing the key <=> first letter of the display (%artist% - %album%) no more work sad.gif

here is the chronflow setting that allow this, it is checked but do not work !!, tested in 0.3.4 and it works fine, so, it is due to your update.

IPB Image
Andu
Actually the last bug report isn't just limited to letters or the arrows. It just refuses to take any keyboard command with this version.
s33m33
Playback on hitting enter key stopped working with above version.
Back to stable version.
Falstaff
i go back to the stable version 0.3.4.

i hope the dev. will fix the new release asap wink.gif
vlada
Hi,

is there any guide on using this component? I'm interested in making buttons to switch layout (display or hide certain panels). I knew hot to do it in Panels UI using pvars. How can I do it in Panel Stack Splitter?

Also is it possible to use this component as a replacement for Track Info (Mod)? I think it should work or are there any drawbacks?
Falstaff
QUOTE(vlada @ Oct 22 2008, 19:25) *

Hi,

is there any guide on using this component? I'm interested in making buttons to switch layout (display or hide certain panels). I knew hot to do it in Panels UI using pvars. How can I do it in Panel Stack Splitter?

Also is it possible to use this component as a replacement for Track Info (Mod)? I think it should work or are there any drawbacks?


the embbeded txt file give you all what you need (commands, synthax, examples); you just have to translate it (google do the job) except if you read japanese.

no more PVAR in PSS, no way to keep permanenet variables. we could think that it can replace trackinfo_mod but it depends of what you need, because there are lack in PSS :
- %isplaying% do not work
- Commands for buttons in PSS are limited if you compare with PanelsUI or Trackinfo_mod, for example, there is no way to set TAGs from buttons or to set variables (i miss that)

PSS display image is better than TrackInfo_Mod => better handling of memory usage to free them when they are no more displayed or replaced by another (big lack in TrackInfo mod that make grower and growser the amount of memory)

just try to learn!
vlada
Thanks a lot for your information. I know I could have tried it all myself, but it would take many hours to find it out.
tedgo
Found two little cosmetical bugs in PSS 0.3.5.1 (maybe already mentioned):
- when switching between two panels in tab stack, there is always a white flash (i have a very dark background, so it is very annoying)
- on foobar startup the first button i've set in PSS always shows the mousehover image instead of the normal one until i move the mouse over any button in PSS or over album art-image
- same with the last button, but it shows the mousehover-image coincidentally...
Falstaff
there are many bugs to fix in the last version of PSS ... i hope this could be fix by the dev...
tedgo
May anybody help me?

I want to add a button that changes appearance if a special panel is shown.

This is my string:
CODE
$imagebutton(1024,15,24,24,$if($isvisivble_c(Lyrics),C:\Programme\foobar2000\AlbumList.png,C:\Programme\foobar2000\Lyrics.png),$if($isvisivble_c(Lyrics),C:\Programme\foobar2000\AlbumListMH.png,C:\Programme\foobar2000\LyricsMH.png),$showpanel_c(Lyrics:$if($isvisible_c(Lyrics),0,1)))

It only shows up the lyric buttons but without any function.
What's wrong with my code?

Btw. the two panels are the same size and the same position, album list panel is hidden on startup.
xbullethammer
@tedgo

You migth try something like this:

CODE

$if($isvisible_c(Lyrics),
Here goes the code for the button when the lyrics panel is shown
,
now the button when the lyrics panel is hidden
)


...and for the command, use SHOWPANEL:'Lyrics':$if($isvisible_c(Lyrics),0,1)
tedgo
Ok thanks, i'll try it.

EDIT:
The same, except that i have non-functional album list buttons now...

I will specify my problem:
I have two same-sized, same-positioned panels and want to switch between them with one button.
But the button has to show "album list" symbol when lyrics panel is shown and "lyrics" symbol when album list panel ist shown.
Maybe my code is totally wrong, so can anybody give me an example code for this?
(I'm a total newbie in title formatting. Have begun with it this week, as i tried to change appearance of foobar2000)
The japanese readme is not really helpful and the google or babelfish translations are like japanese with well-known letters...
(I only understand about a quarter of the translates sentences...)

EDIT2:
I just saw that i forgot two commas before the last bracket in my code. Added them, but without any effect...

EDIT3:
Ok. At least i got PSS to switch between two panels with two different buttons and this code:
CODE
$imagebutton(1022,16,24,24,C:\Programme\foobar2000\Lyrics.png,C:\Programme\foobar2000\LyricsMH.png,PANELSHOW:Lyrics:1;PANELSHOW:Albums:0,,)
$imagebutton(1052,16,24,24,C:\Programme\foobar2000\AlbumList.png,C:\Programme\foobar2000\AlbumListMH.png,PANELSHOW:Lyrics:0;PANELSHOW:Albums:1,,)

But how to do it with one button with different symbols for lyrics and album list?

Btw. the above mentioned "flash"-bug is gone since i removed tab stack. Might has been a problem with it in PSS...
Falstaff
@developper (ssenna ?) :

i would love a such panel for field replacement in Panel Stack Splitter like done in ELPlaylist settings :

IPB Image

that would make code more clear and easy configuration of parameters ...

i hope you will done it in e next release of this wonderfull component.

Thanx by advance

PS: back to 0.3.5.1 version but a big bug to fix in priority is the $drawimage() function that do not support the alpha OPTION no moren always opacity set to 255 even i set a lower value (i.e 125 to make the image transparent ...)
$drawimage() has a better handle of memory usage (cache?)

Thanx
tedgo
I'll stay on 0.3.4 because with 0.3.5.1 i can't use keyboard shortcuts.
Or is it fixed now?

@falstaff
You have two very good skins made with ibiza and kung-foo, so i think you are very good in using PSS wink.gif
Did you have a solution for my above mentioned problem?
xbullethammer
@tedgo

I told you... did you use the $if($isvisible_c(Lyrics), ... , ... ) ?

Look 3 posts above.
tedgo
@xbullethammer
I tried:
CODE
$if($isvisible_c(Lyrics),$imagebutton(1022,36,24,24,C:\Programme\foobar2000\AlbumList.png,C:\Programme\foobar2000\AlbumListMH.png,PANELSHOW:Lyrics:0;PANELSHOW:Albums:1,,),$imagebutton(1022,36,24,24,C:\Programme\foobar2000\Lyrics.png,C:\Programme\foobar2000\LyricsMH.png,PANELSHOW:Lyrics:1;PANELSHOW:Albums:0,,))

Where is my logical flaw?
fbuser
Try to add a refresh commands:
CODE
... PANELSHOW:Lyrics:1;PANELSHOW:Albums:0;REFRESH ...
tedgo
@fbuser
Many thanks! smile.gif
REFRESH command did it.

But i have another question:
Since it doesn't seem to be possible to hide the vertical scrollbar in NG Playlist, is there any way in PSS to place Album List Panel and Lyrics Panel permanent in front of NG Playlist, to "disguise" the scrollbar part of NG Playlist?
If i try to widen NG Playlist to hide the scrollbar part behind the other panels, the scrollbar is only hidden as long as i click in NG Playlist...
Falstaff
NEW VERSION of PSS released : v0.3.6.1a

http://foo2k.chottu.net/

Change log (Google Translate):
*%ps_isplaying%,%ps_ispause% added.
* Set to organize the dialog.
* TF can be set to two times the characters going.
* Fixed a bug in the Settings dialog box.

not tested yet, but i'm very pleased to see an is_playing feature waited for a long time wink.gif
thanx to the developper for the update !! (ssenna) smile.gif

i hope that many bugs added with previous version 0.3.5.x are now fixed, i'll test that and make feed back a.s.a.p
Falstaff
my quick feedback :

1) %ps_isplaying% and %ps_ispause% work fine, thank you, see below an example of use :

IPB Image

2) no regressions if you compare this version to the 0.3.5.1b version

3) bug in $drawimage() function always here !!! ==> the alpha OPTION always disable for this function :

i.e :
$drawimage(21,$sub($get(cover_y),18),$sub($get(leftpanel_width),41),$div($mul($get(coverbox_height),100),150),$get(foo_path)'images/'$get(config_name)'/bg/coverlay.png',nokeepaspect,,127)

127 alpha value not taken, PSS make 100% opacity instead of ~50% opacity sad.gif


Waiting for an update to fix it wink.gif

thanx for the update again, keep the good work dude!
tedgo
The old bugs are still there sad.gif :
- keyboard shortcuts don't work with panel stack splitter since 0.3.5.1
- showing mousehover image of the first button on foobar startup until mouse is moved over any image or button
- showing a mousehover image of any button randomly while moving the mouse over another part of the panel stack splitter
- sometimes flickering when mouse is moved over any button
- flickering on changing tracks when no background colour is selected
(Maybe more, i don't use images in PSS so i don't know about falstaff's problem)

I hope this will be fixed in the next version (especially the keyboard shortcuts!).

But nevertheless i'm glad about the new release.
Finally we got %ps_isplaying% and %ps_ispause%! smile.gif
PSS isn't far away anymore from replacing trackinfo_mod totally...

EDIT:
After restarting foobar the keyboard shortcuts are working!

EDIT2:
No, keyboard shortcuts only work sometimes. Strange...
Canar
QUOTE(Falstaff @ Nov 8 2008, 04:50) *
IPB Image
Wow. That is some uuugly titleformatting...
Falstaff
QUOTE(Canar @ Nov 8 2008, 21:33) *

QUOTE(Falstaff @ Nov 8 2008, 04:50) *
IPB Image
Wow. That is some uuugly titleformatting...

that is an ugly comment with no consistency...


-------------------------------------------------------------------------------------------------
v0.3.6.2a released

it fix the alpha OPTION support in $drawimage() function, THANX A LOT to the dev !! biggrin.gif

*%ps_isplaying%,%ps_ispause% added.
* Set to organize the dialog.
* TF can be set to two times the characters going.
* Fixed a bug in the Settings dialog box. (v0.3.6.1)
* $ Drawimage specify the alpha-resistant bug fixes. (v0.3.6.2)
tedgo
Now i found out how to get the keyboard shortcuts working with PSS:
An item in a playlist or an album in album list panel has to be selected first.
It hasn't attract my attention before using PSS...

But again:
Dear developer, you made a good job by creating such a plugin!
Keep up the good work!
Canar
I'm not criticizing the quality of your work, Falstaff, I just think that there should be more sensible ways to input that kind of information to a component... The title formatting syntax is designed to format tag information, not design user interfaces.
Falstaff
QUOTE(Canar @ Nov 8 2008, 21:46) *

I'm not criticizing the quality of your work, Falstaff, I just think that there should be more sensible ways to input that kind of information to a component... The title formatting syntax is designed to format tag information, not design user interfaces.


ok

so, just a point of view, nobody oblige you to use it wink.gif


DocBeard
I actually agree with Canar. It'd be nice if there were something better.

But you work with the tools you have, y'know?

(Edit to clarify). I really like this component a lot; I genuinely don't think there's anything out there for FB2K that does what it does nearly as well. And, for all that titleformatting is ill-suited to this sort of work, I think the implementation is quite good, all things considered. It'd be nice if the code involved weren't so arcane, but I'd much rather the component were around, arcane code and all, than not.
Falstaff
@ developper :

what about my request, could you make it real please ?

check post #123 below :
http://www.hydrogenaudio.org/forums/index....st&p=596810

thanx by advance

Canar
Who should I credit this component to? I'd like to mention it on fb2k.net, but leaving the developer anonymous doesn't seem right... Plus, if I had a name of some sort I could list his site under component developers.
Falstaff
@ developper :

Now, things to add on your to do list to make PSS replacing TrackInfo_Mod panel are :

- command for TAGGING music files with $imagebutton() like TrackInfo_Mod : i.e TAG:SET:rating:4

- command that allow to Run foo_run commands, because for now, it still don't work at all

i think these 2 features have to be add in priority if possible smile.gif

I hope you make it real soon smile.gif

keep the good work cool.gif
Andu
Keyboard function seems to be mostly restored in the last version. But for some reason I cannot search albums by keystroke in a chronflow panel.
London Mike
QUOTE(Andu @ Nov 9 2008, 14:44) *

Keyboard function seems to be mostly restored in the last version. But for some reason I cannot search albums by keystroke in a chronflow panel.

It was a problem that appeared in 0.3.5 and seems to be still there sad.gif

http://www.hydrogenaudio.org/forums/index....st&p=593197
Andu
I know. But the last time the problem was in all panels as I posted back then. Now it's limited to the Chronflow panel for me at least.
tedgo
I again need a little help on using PSS:

I want to indicate $info(encoding) in a custom display:
If $info(encoding) is lossless, then it should display a light font, otherwise a dark one.
If it is lossy or hybrid, it should do the same.

I tried:
CODE
$font(Arial Black,5,)
$drawtext(LOSSLESS,$sub(%_width%,289),$sub(%_height%,437),60,12,$ifequal($info(encoding),lossless,114-181-229,31-50-63),hcenter vcenter)
$drawtext(LOSSY,$sub(%_width%,233),$sub(%_height%,437),60,12,$ifequal($info(encoding),$or(lossy,hybrid),114-181-229,31-50-63),hcenter vcenter)

But it always shows the light fonts.
Any ideas?

Btw. I tried with trackinfo_mod too, but it also only shows the light font. Maybe $ifequal() doesn't work for my needs. Is there another way?

If I try $ifgreater($info(bitrate),500,...) it works with lossless, but it is not really exactly...
byterhythm
hi, I'm a new pss user and I want to ask how can I emulate tabs like in cui?

heres my simple config and I want to replace the tab stack with something prettier...

http://img3.imagebanana.com/view/lti49rd0/fb2k.jpg
Falstaff
QUOTE(tedgo @ Nov 14 2008, 10:51) *

I again need a little help on using PSS:

I want to indicate $info(encoding) in a custom display:
If $info(encoding) is lossless, then it should display a light font, otherwise a dark one.
If it is lossy or hybrid, it should do the same.

I tried:
CODE
$font(Arial Black,5,)
$drawtext(LOSSLESS,$sub(%_width%,289),$sub(%_height%,437),60,12,$ifequal($info(encoding),lossless,114-181-229,31-50-63),hcenter vcenter)
$drawtext(LOSSY,$sub(%_width%,233),$sub(%_height%,437),60,12,$ifequal($info(encoding),$or(lossy,hybrid),114-181-229,31-50-63),hcenter vcenter)

But it always shows the light fonts.
Any ideas?

Btw. I tried with trackinfo_mod too, but it also only shows the light font. Maybe $ifequal() doesn't work for my needs. Is there another way?

If I try $ifgreater($info(bitrate),500,...) it works with lossless, but it is not really exactly...


so you should code this to make it work :

CODE
$if($stricmp($info(encoding),'lossless'),
$drawtext(LOSSLESS,$sub(%_width%,289),$sub(%_height%,437),60,12,114-181-229,hcenter vcenter)
,
$drawtext(LOSSY,$sub(%_width%,289),$sub(%_height%,437),60,12,031-050-063,hcenter vcenter)
)


$equal() work only with numeric values, not with char strings => $stricmp(text1,tex2) is better (return TRUE is equality)

wink.gif
tedgo
@falstaff
Thank you for your help and clearing this up smile.gif

Your suggestion would place "LOSSLESS" and "LOSSY" at the same place with light "LOSSLESS" and dark "LOSSY", but i modified it and used:
CODE
$font(Arial Black,5,)
$drawtext(LOSSLESS,$sub(%_width%,289),$sub(%_height%,437),60,12,$if($stricmp($info(encoding),lossless),114-181-229,31-50-63),hcenter vcenter)
$drawtext(LOSSY,$sub(%_width%,233),$sub(%_height%,437),60,12,$$if($not($stricmp($info(encoding),lossless)),114-181-229,31-50-63),hcenter vcenter)


...and got this:
IPB ImageIPB Image

Exactly what I want (though it isn't definitely done, I have to "improve" it still).
Again, thank you very much smile.gif
Falstaff
QUOTE(tedgo @ Nov 14 2008, 13:12) *

@falstaff
Thank you for your help and clearing this up smile.gif

Your suggestion would place "Lossless" and "Lossy" at the same place, but i modified it and used:
CODE
$font(Arial Black,5,)
$drawtext(LOSSLESS,$sub(%_width%,289),$sub(%_height%,437),60,12,$if($stricmp($info(encoding),lossless),114-181-229,31-50-63),hcenter vcenter)
$drawtext(LOSSY,$sub(%_width%,233),$sub(%_height%,437),60,12,$$if($not($stricmp($info(encoding),lossless)),114-181-229,31-50-63),hcenter vcenter)


...and got this:
IPB ImageIPB Image

Exactly what I want (though it isn't definitely done, I have to "improve" it still).
Again, thank you very much smile.gif


what is this digital font ? looks good smile.gif
tedgo
@falstaff
It is called "Digital-7" (i googled after your digital font you used in your new curacao config and found this wink.gif )
But the dark "parts" are only the same font as background...
tedgo
Is it possible to give portions of PSS TF mode "now playing" when "titleformat mode on startup: follow cursor" is selected?
How can i do it?
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-2009 Invision Power Services, Inc.