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: [Not my release] foo_uie_panel_splitter (Read 408410 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Not my release] foo_uie_panel_splitter

Reply #350
Still unable to play selected track when hitting "ENTER" on keyboard.

Been this way for the last few versions. Anybody else facing same problem?

Yes, same problem here. Some *native* hotkeys (e.g. Ctrl+C, Ctrl+X, Ctrl+V, Ctrl+A, etc) don't work when *certain* panel layout is used.

This problem is gone in 0.3.7.1a (likely). 


[Not my release] foo_uie_panel_splitter

Reply #352
Hi all,

i've got a little problem with the new global vars.

I'm declaring an image, but it doesn't show up on the button.

Code: [Select]
$set_ps_global(foo.path,%ps_foobar2000_path%)
$set_ps_global(pauseb_,%foo.path%\images\FFF2k\button-pause.png)
$set_ps_global(pauseb_over,%foo.path%\images\FFF2k\button-pauseh.png)

$imagebutton($add($get(button.x),0),$sub(%_height%,17),17,16,%previousb%,%previousb_over%,COMMAND:'Playback/Previous';REFRESH,,)


Can't figure out what the problem is.

r3v0

p.s. I want to thank ssenna for this great plugin! 
<3 f00

[Not my release] foo_uie_panel_splitter

Reply #353
You'll want %FOOBAR_PATH%, not %ps_foobar2000_path%. %ps_foobar2000_path% points to the foo_uie_panel_splitter dll.

[Not my release] foo_uie_panel_splitter

Reply #354
Change your first global variable to:
$set_ps_global(foo.path,$replace(%ps_foobar2000_path%,\components\foo_uie_panel_splitter.dll,))(%ps_foobar2000_path% unfortunately doesn't directs to the foobar installation path but to the foo_uie_panel_splitter.dll...)

EDIT:
@qwertz
%foobar_path% is only available with foo_exvar...

[Not my release] foo_uie_panel_splitter

Reply #355
Ah yes I recall now, it gets damn confusing to remember which string works with which plug-in.

Btw, I'm still trying to decide, if those new transparent menus are a bug or a feature. I now tend to bug.

[Not my release] foo_uie_panel_splitter

Reply #356
Change your first global variable to:
$set_ps_global(foo.path,$replace(%ps_foobar2000_path%,\components\foo_uie_panel_splitter.dll,))(%ps_foobar2000_path% unfortunately doesn't directs to the foobar installation path but to the foo_uie_panel_splitter.dll...)


Aaah yes, that worked.
Quite logic that the images don't show up when the path is incorrect 

Thanks tedgo
<3 f00

[Not my release] foo_uie_panel_splitter

Reply #357
ssenna, could you make it so that panel context menus are always accessible when using the $movepanel_c() function? The WSH Panel mod context menu doesn't show up, and I've just found that the channel spectrum panel is also broken- although it's weird, it used to work fine, but today I changed some settings and now I can't get back to the config panel- you can't get their from Prefs>Columns UI>Layout>Configure either (it's greyed out!)

Thanks, the latest PSS is nice.

edit: actually the channel spectrum context menu is accessible, but only when foobar is playing...

edit 2: actually it's not necessarily accessible when foobar is playing... you have to right click on the actual spectrum bit, but not the background. Transparency is on (but not fast transparency).


[Not my release] foo_uie_panel_splitter

Reply #359
i've removed this $movepanel_c(xxx,0,0,0,0), PSS do not like when i used this and after another $movepanel_c(xxx,x,y,width,height) (in the same cycle pertrack)

so, i'll add one again to see if new version is more stable for this, and give you feedback about it asap. thanx for your work


tested, and ... no more crash, it seems you have fix it, congrat and thanx

[Not my release] foo_uie_panel_splitter

Reply #360
@ssenna
Could you take a look at this strange issue:
http://www.hydrogenaudio.org/forums/index....st&p=630939
http://www.hydrogenaudio.org/forums/index....st&p=630953

It worked perfectly with 0.3.6.3 but my config get a crash on startup with 0.3.7.1
Maybe its caused by foo_customdb, but since it worked with PSS 0.3.6.3 it may also be an issue of PSS 0.3.7.1
Thanks

[Not my release] foo_uie_panel_splitter

Reply #361
Great to see the global variables! A BIG step ahead, I think!

@ssenna: You´re something like a fairy here, so I have three wishes:

1. Some panels´ properties are not saved correctly in the .fcl; e.g. the browser panels settings for fonts and so. Moreover for the same panel, if "hide on startup" is checked, it shows up anyway (not after apply but after restart). I´m not shure if it´s a problem of the browser panel itself, but could you have a look at this issue?

2. Most important point: Is it possible you make the "run service" command available for button commands? This would be sooo necessary, because we all here have to use the old track_info_mod panel instead of PSS just for that (at least I do) ...

3. Can you have a look at the problem that buttons are sometimes flickering (I also think, the refresh command is only executed completely AFTER the button loses focus, I mean when mouse-over-off) ?

Thanks a lot in advance - keep up the great work! 

[Not my release] foo_uie_panel_splitter

Reply #362
Great to see the global variables! A BIG step ahead, I think!

@ssenna: You´re something like a fairy here, so I have three wishes:

1. Some panels´ properties are not saved correctly in the .fcl; e.g. the browser panels settings for fonts and so. Moreover for the same panel, if "hide on startup" is checked, it shows up anyway (not after apply but after restart). I´m not shure if it´s a problem of the browser panel itself, but could you have a look at this issue?

2. Most important point: Is it possible you make the "run service" command available for button commands? This would be sooo necessary, because we all here have to use the old track_info_mod panel instead of PSS just for that (at least I do) ...

3. Can you have a look at the problem that buttons are sometimes flickering (I also think, the refresh command is only executed completely AFTER the button loses focus, I mean when mouse-over-off) ?

Thanks a lot in advance - keep up the great work! 


i second requests for point 2 and 3

[Not my release] foo_uie_panel_splitter

Reply #363
@SSENNA :

other request that often restrict me ...

there is a limitation of 65535 characters maximum in a PSS panel ... this limis is to small, is it possible to remove this limitation or at least increase it at the maximum possible value PLEASE !!

Thanx by advance for a feedback SSENNA.


just realize that the last version fix it !!!! Thanx !!! You're great

[Not my release] foo_uie_panel_splitter

Reply #364
@SSENNA (dev) :

Hi,

so, i'm experiencing globals for a while now, and it works perfectly

now, there is another big lack in PSS (if i compare it to track info panel Mod or PUI) : the hability to set TAG with buttons

is it possible ? would be a great addition like globals are.

as:

SETGLOBAL:name:val

could you think about :

SETTAG:name:val

... or something similar

Please, tell us if you can add it on your TODO list. Regards.

[Not my release] foo_uie_panel_splitter

Reply #365
I have some little problems...

1.)
I placed some panels with $movepanel and displays them using a global variable like:
$showpanel(0,$ifequal(%globalvar%,1,1,0))

Works great here, but i can't get access to some panels settings with right-click (e.g. Item Details, Item Properties and WSH Panel mod) when placing them mith $movepanel instead of entering the values on the PanelList.
Is there any workaround?

2.)
I want to use global variables to switch panels with a button from a "mother" panel splitter in a child panel splitter too.
But the panel in the child PSS only switches on track change whereas the panels in the main PSS switches immediately.
Has anyone got luck doing something similar?

[Not my release] foo_uie_panel_splitter

Reply #366
2.)
I want to use global variables to switch panels with a button from a "mother" panel splitter in a child panel splitter too.
But the panel in the child PSS only switches on track change whereas the panels in the main PSS switches immediately.
Has anyone got luck doing something similar?


to my experience it´s not possible, I think REFRESH only affects the panlel splitter it was executed from, not a "child" panel splitter...
maybe someone knows some workaround?

[Not my release] foo_uie_panel_splitter

Reply #367
Hm, maybe...
So i'll have to go another way to reach my goal.

Switching panels from a mother panel is possible though, but as i still said, it doesn't take effect during playback.
Would be nice if it could be "enhanced" for a future release

Does anyone has an idea about my first problem?

[Not my release] foo_uie_panel_splitter

Reply #368
@Tedgo I only have two hacky solutions

1. Temporarily disable forced layout while you configure the panel

2. Put something like the following sequence in the button command

$if(%ps_ispause%,COMMAND:'Playback/Play';COMMAND:'Playback/Pause',$if(%ps_isplaying%,COMMAND:'Playback/Pause';COMMAND:'Playback/Play',COMMAND:'Playback/Play';COMMAND:'Playback/Pause'))

This causes a more thorough refresh and does a number of child panels for me (but not all & it seems to depend on the panel type). It does not seem to have any noticeble affect on the continuity of playback & can be useful in other circumstances where a more thorough refresh is needed. But a more effective REFRESH command would be preferable

[Not my release] foo_uie_panel_splitter

Reply #369
Thanks for your suggestions.
Looks really hacky
I hope there will be a native solution for both problems soon, but i'll try your suggestions today

[Not my release] foo_uie_panel_splitter

Reply #370
Does anybody know a way to make a press of a button change the value of tag to a value stored in a variable (for example %tag%)? I'm looking for a way to do this without being limited to a fixed list of values (in that case I could use quicktag). Any suggestion?

[Not my release] foo_uie_panel_splitter

Reply #371
Does anybody know a way to make a press of a button change the value of tag to a value stored in a variable (for example %tag%)? I'm looking for a way to do this without being limited to a fixed list of values (in that case I could use quicktag). Any suggestion?


In PSS at the moment, no. (see falstaff´s last post above  ) You have to use a track info mod panel or (more convenient but also more complicated) a wsh panel mod.

[Not my release] foo_uie_panel_splitter

Reply #372
for now, you can set global variables with a button, but not file Tags.

example for a global PSS variable titled %theme% (setted to an initial value at the beginning of the PSS script with : $if(%theme%,,$set_ps_global(theme,1)) to set it to 1 by default (init)

...
$imagebuttons($get(button.x),$get(button.y),$get(button_width),$get(button_height),$get(image_path)'/buttons/my_nice_button.png',$get(image_path)'/buttons/my_nice_button_hover.png',SETGLOBAL:theme:0;REFRESH,)
...


this button set the %theme% gobal variable to 0


 

[Not my release] foo_uie_panel_splitter

Reply #373
Hmm, just wanted to make a button to add the highlighted track to the Playback Queue.

I made a small PS with this button inside. The Title Format Code on Startup is set to "Follow Cursor", but each time I press the button, the song playing is added to the playback queue instead of the one highlighted (I thought that 'follow cursor' means that all code is related to the things highlighted. wrong?)

[Not my release] foo_uie_panel_splitter

Reply #374
$if(%ps_ispause%,COMMAND:'Playback/Play';COMMAND:'Playback/Pause',$if(%ps_isplaying%,COMMAND:'Playback/Pause';COMMAND:'Playback/Play',COMMAND:'Playback/Play';COMMAND:'Playback/Pause'))


hehe, something like this is also good for making run services available when playback is stopped (for track info mod panel) , a short play command - run service - and stop again... nice

edit: no way to use more than one command for a button in track info mod...