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(Paws @ Jun 13 2007, 16:42) *

QUOTE(terrestrial @ Jun 12 2007, 20:09) *

QUOTE(mil3s @ Jun 12 2007, 03:17) *

In the latest version the View > Panels UI menu is broken. I no longer se my configs there. Not even the provided basic.


yeah, I removed it. should be slightly faster startup as the layouts don't have to be enumerated on startup.

QUOTE

Also, this code is also broken in the new version. How do I make it work again?


use a separate layout called "Album" to handle album grouping, and %groupformat% in a layout called "Singles" for the others. See here for the recommended layout names, and the basic.pui for an example.

QUOTE(Kiteroa @ Jun 12 2007, 07:54) *

In the Prefernces for Panels_UI Sort/Group criterea, how do the

Group By code windows and

Group by sort switch interact?

And interact with the options in the Sort/Group by settings window?


if "group by sort" is checked, items are grouped by the same format string used to sort, else the format string in "group by" is used.

QUOTE(YounhaLOV @ Jun 12 2007, 12:53) *

but.....Run service is not executed


what do you mean? you have a context menu item that is not being executed by a button?

QUOTE(macca @ Jun 12 2007, 13:32) *

Request: Buttons only work stably for me when placed under a // PerTrack header, but sometimes I need to give a button a command that needs to be evaluated Per Second. Is it at all possible to make buttons function more stably under // PerSecond headers too?


buttons aren't meant to be used under // PerSecond. add this to the feature requests page, and I will try to add it for the future.

QUOTE(carmenm @ Jun 12 2007, 14:42) *

Ok i just love all the new feature and how you reorganised everything. Just amazing.
One thing bugging me yet, you removed the layout selector, so is it not possible anymore to force the layout on playlist name?


no, but since the last layout used for each playlist is remembered and restored on playlist change, you would have to sort/group each playlist once, and it will subsequently be remembered.

QUOTE

EDIT: Found one strange behaviour with the last version. When i move foobar or click on album art panel, my whole desktop flicks(every opened applications). Might be due to the hidetitlebar feature. Apparently you changed the way it works because now i can resize foobar on notitlebar mode(which is great by the way but would be even better if we could only accept vertical or horizontal resize)


please post your .pui and component list and I will take a look.

QUOTE(evo3 @ Jun 12 2007, 18:18) *

Hi guys, I've just started fooling around with panels and i have a quick question. Can i group/sort each playlist differently, instead of having all my playlists sorted one way? I have one i'd like to sort by album, while another playlist i'd like to sort by artist. Thanks, sorry if this has been touched upon.


yes. you just have to sort/group each playlist once, and when you switch to it again the layout will be switched automatically.



Falstaff, read the top of this.


ok, thanx, i haven't seen it tongue.gif
jclim00
Just a small request, could you add an apply button to the library filter settings? I've been doing a lot of editing lately and it's a pain to have to close the window, reset the panel, then scroll to the grouping i was changing.
Sam Stoat
Terrestrial,

I've been using foo_run to make a button that opens %path% in Directory Opus (my Open Directory has always opened Explorer instead of dopus), but it's stopped working in the latest PanelsUI. So, I tried to get the new EXEC: button to do the same job.

CODE
EXEC:dopus
opens DOpus ok, but if I put
CODE
EXEC:dopus %path%
nothing happens.

Is it possible to pass arguments to external programs like DOpus?
Falstaff
QUOTE(Sam Stoat @ Jun 13 2007, 18:58) *

Terrestrial,

I've been using foo_run to make a button that opens %path% in Directory Opus (my Open Directory has always opened Explorer instead of dopus), but it's stopped working in the latest PanelsUI. So, I tried to get the new EXEC: button to do the same job.

CODE
EXEC:dopus
opens DOpus ok, but if I put
CODE
EXEC:dopus %path%
nothing happens.

Is it possible to pass arguments to external programs like DOpus?


1) be sure that dopus accept parameters (simple to test under command line cmd.exe)

2) have you tried quotes ?

EXEC:'dopus %path%'
callisto
QUOTE(wraithdu @ Jun 13 2007, 03:41) *

Also small bug - the $settray() tooltip does not work if only 'Minimize to Tray' is selected. That tooltip always says 'foobar2000'. If I also/only check 'Show Tray Icon', it works correctly.


Got this problem, too...
but then checked "tray icon" and now I see the tooltip but it (2nd bug) won't change on trackchange if minimized (string is in // PerTrack)



QUOTE
plunky:
Thanks so much, but I get ? - ? when a song is not playing now any idea's how to fix this?


@plunky
e.g.: $if(%isplaying%,$settitle(%artist% - %tracknumber% - %title%),$settitle(stopped))

But I would put this string into the // PerTrack section b/c it doesn't need to update per second unless you put some remaining time or sth in it
mil3s
Why is it no longer possible to create new sort / group by entries? Or am I missing something? I can edit but not create new.
Falstaff
QUOTE(mil3s @ Jun 13 2007, 22:18) *

Why is it no longer possible to create new sort / group by entries? Or am I missing something? I can edit but not create new.


for me it works like i was always work ...
1/ edit one
2/ modify
3/ click Save button
4/ Give new name in empty field
5/ Validate

is it what you do ?
Safe Drive Home
This may sound a little pithy, but here's a request, however useful it may or may not be to others:

The ability to add text-input functionality to $drawrect, along with a mappable field\tag to it, as well as an "apply" functionality for a button, for, say, any of those text input $drawrects set to a certain value. ie I could fill out ten fields mapped to different values (artist, album, yadda), then click a button to apply all of the set values.

Yes, I'm looking to create a tagging array panel, for metatags - because it's ridiculous to, say, build a gigantic array of tagging buttons for %style% tagging, and when you're tagging quite often (as some may be - I know I am) it gets kind of silly to open properties to change single fields otherwise, many or few ("What... is that apostrophe in the wrong spot?").

Having a customizable file-properties dialogue in a panel would be of great use and convenience, and if was integrated properly would honestly leave foobar to be the only program I'd need for anything music related, for full album tagging or for occasional small changes to my library without having to go through a dialogue.

Yes... there's the dialogue, masstagger, and columns ui that can be used just fine - but there's certain functionality in each that aren't in others. Using masstagger scripts in buttons, input boxes for metatagging and boxes also for easy changes to single fields, all in a hideable panel one click away, would put everything into one awesome bucket.

Does this sound too absurd to bother with?


(Also, while I'm here - thanks for creating Panels!)

VVV Shakey - Thanks. After some looking, it doesn't seem to have the same kind of functionality I'm asking for here though (despite having one text input\apply bit - more would be useful, for different fields. That's what I need. Having the check-boxes alone in my library has 8 scrolls worth to go through for %style%.). Useful otherwise, but its now just yet another tagging use with its own special merit, and without those of others. More specialization in yet another tagger, instead of bringing the power of all of the taggers into a single accumulated use.
shakey_snake
cwb is working on a tagging panel in his latest versions of cwb_hooks
mil3s
QUOTE(Falstaff @ Jun 13 2007, 15:47) *

QUOTE(mil3s @ Jun 13 2007, 22:18) *

Why is it no longer possible to create new sort / group by entries? Or am I missing something? I can edit but not create new.


for me it works like i was always work ...
1/ edit one
2/ modify
3/ click Save button
4/ Give new name in empty field
5/ Validate

is it what you do ?

Thanks Falstaff. smile.gif This window is truly confusing. It's only possible to create new when the preset box is empty, and it's only empty on start. If you select one of the presets it's no way to get it empty unless you close it and open it again. There should be a Save As... button, or it should be possible to type a new name directly in the preset box!
Sam Stoat
QUOTE(Falstaff @ Jun 13 2007, 19:01) *
1) be sure that dopus accept parameters (simple to test under command line cmd.exe)

2) have you tried quotes ?

EXEC:'dopus %path%'


Thanks, Falstaff

1) I tried "dopus C:\Windows" from the run dialog and it opened the folder, so, yes, dopus will accept parameters.

2) I have tried quotes, even in different places in the string, but no joy. I also tried removing the %filename _ext% from %path%, just in case, but it's still not working.
Falstaff
Hi,

I've big problem with Library Filter display of pictures ! (look like a bugg, sure!)

=> sometimes, my panel 'Library Filter' display no pics !
it's always when i lauch my foobar and when panel 'Library filter' is displayed by default in my config
So, if panel 'Library filter' is not displayed when i launch foobar, and then i click a button to display it (instead of SCPL panel for exemple) ... it works nice and display all pictures

has somebody already notice this pb ?

could you fix this pb Terrestrial please ?

1)screenshot when LF doesn't work (no pics displayed !!! path pb ??)
http://brett.free.fr/foobar/LF_ko.png

2)screenshot when ok :
http://brett.free.fr/foobar/LF_ok.png

Thanx in advance

Br3tt

PS: i'm using panelsUI 0.13.8 but same pb with 0.13.6, 0.13.7 (i've tested them)

EDIT:
i don't notice this bug earlier because before i was using Library Filter in a POPUP, so when foobar is launched, POPUP are closed, so panel Library Filter appear after full load of foobar (& his components and var ...)
... so it was always working good for the display of pictures in it
shakey_snake
QUOTE(shakey_snake @ Jun 13 2007, 00:36) *
For some reason I can't get these to do anything for me.
Would have something to do with my .pui's having been first created many versions ago?
laugh.gif sooooooooooooooo...

$windowstyle(hidetitlebar) is new to 0.13.8
I was using 0.13.7 at the time. whistling.gif

[Reproducible Bug]
Now that I have it working, I've found a bug with it.
If the height of my window is <25 and I close foobar, it will be resized to 25 when I reopen the window.

I don't suppose that 25 is some magic number, but probably the height of my titlebar + the window border.
metal_termite
EDITED: Nevermind. Inconsequential.
metal_termite
I don't know if this is an issue with Panels UI or CWB Hooks but %cwb_selection_count% doesn't get updated instantaneously inside a panel when its value changes. Whereas a related variable like %cwb_selection_duration% does get updated instantaneously inside a panel when its value changes. Is this just happening to me or others as well?
shakey_snake
QUOTE(metal_termite @ Jun 14 2007, 22:27) *

I don't know if this is an issue with Panels UI or CWB Hooks but %cwb_selection_count% doesn't get updated instantaneously inside a panel when its value changes. Whereas a related variable like %cwb_selection_duration% does get updated instantaneously inside a panel when its value changes. Is this just happening to me or others as well?

WFM
using:
foo_panels_ui 0.13.8
foo_cwb_hooks 1.2.5- Jun 8


-----------------



Could there be an option to NOT make window edges dragable? like was with the pre 0.13.8 versions with no titlebar?
I have a 5 pixel wide button on one side of my config which opens a side panel, and this new feature makes it almost unusable.
metal_termite
Well I am stumped as to why %cwb_selection_count% doesn't change when the selections change. It works in every other panel except this one. Also if I put another variable like %cwb_selection_duration%, it updates instantaneously like it should, so its just %cwb_selection_count% for some reason.

I tried removing all the code of the panel, cleaned it all out and just leaving %cwb_selection_count% as the only line of code, it still wouldn't update. Meanwhile, I have the same line of code in another Track Display panel and it updates instantaneously, both in the same // PerTrack redraw type too.

The only way I can get it to work is if I write %cwb_selection_count% %cwb_selection_duration% as the only line of code. As soon as I remove %cwb_selection_duration% from that line, it won't update. I don't get it.

I'm using:
foo_cwb_hooks 1.2.5 [June 8...]
foo_ui_panels 0.13.8 [June 12...]

Anyway why do the characters 'ACK' with a black background get put on the active line in the edit box if CTRL+F are pressed. What does this 'ACK' thing mean?

IPB Image
Falstaff
QUOTE(Falstaff @ Jun 14 2007, 16:06) *

Hi,

I've big problem with Library Filter display of pictures ! (look like a bugg, sure!)

=> sometimes, my panel 'Library Filter' display no pics !
it's always when i lauch my foobar and when panel 'Library filter' is displayed by default in my config
So, if panel 'Library filter' is not displayed when i launch foobar, and then i click a button to display it (instead of SCPL panel for exemple) ... it works nice and display all pictures

has somebody already notice this pb ?

could you fix this pb Terrestrial please ?

1)screenshot when LF doesn't work (no pics displayed !!! path pb ??)
http://brett.free.fr/foobar/LF_ko.png

2)screenshot when ok :
http://brett.free.fr/foobar/LF_ok.png

Thanx in advance

Br3tt

PS: i'm using panelsUI 0.13.8 but same pb with 0.13.6, 0.13.7 (i've tested them)

EDIT:
i don't notice this bug earlier because before i was using Library Filter in a POPUP, so when foobar is launched, POPUP are closed, so panel Library Filter appear after full load of foobar (& his components and var ...)
... so it was always working good for the display of pictures in it


in fact, when panel 'Library Filter' is displayed on launch of foobar, we lost the path of the actual PanelsUI layout (where the .pui is!)

I explain what happens in panel LF when panel 'Library Filter' is displayed on launch of foobar:

i display pics using this PATH (store in Globals) :
$puts(images-folder,'/images')
but it looks like path before /images has been lost, because no more pics are displayed in LF !

so, i declare a new PATH in globals for pics in LF to resolve this bug:
when panel 'Library Filter' is displayed on launch of foobar:
$puts(LF-images-folder,%foobar_path%'PanelsUI\Scaled-0.6\images')
and now it works in all case (1. panel LF open at the launch of foobar and 2.when displayed after launch using special button)

Please Terrestrial, could you see why PATH of .pui (PanelsUI\Scaled-0.6) is lost in this case ?

Thanx

Bye

Br3tt
stampgevaar
I was wondering, is it already possible to put empty lines in the scp or the library filter, that would be nice if you have album art next to the tracks.

If it doesn't exist can somebody put it in the wiki cause I have no idea how I must edit that...
shakey_snake
QUOTE(stampgevaar @ Jun 15 2007, 08:16) *

I was wondering, is it already possible to put empty lines in the scp or the library filter, that would be nice if you have album art next to the tracks.

If it doesn't exist can somebody put it in the wiki cause I have no idea how I must edit that...

Being able to set some sort of minimum group size has been suggested many times for SCPL and Terrestrial has said it would pretty much require a complete rewrite.
Since [I believe] the library filter is based on SCPL's code, [I'd imagine that] the same holds true.

Perhaps I should add "minimum group size" to the Rejected Section of the request page?
Purple Monkey
Was $get_global support in SCPL removed? If so any reason why, as it works in Track Display :s. I don't want to copy and paste my complex globals into half of my config.
mil3s
Feature request. The ability to add entries (links to .pp files) in the Library menu. Would be a cool feature imo since I have the Library Filter in a separate window, and I can't currently find a good place in my design to put a link for it. The Library menu would be perfect.

Also the ability to rename the *FILTER* playlist would be a nice feature.
SmilerSmiles
So I hope this is the right place here goes....
I'm trying to have a frame surround my album art. I have it working for when the window is maximised but if i restore the window the alb art shrinks with a awful border of nothing around it. I will post the code but it's off at the moment because every time I try to edit it now panels crashes. I have my window split in two with the track display on the left I want it in the centre of that.

CODE
$imageabs2($sub(%_width%,180),$sub(%_width%,180),,,,,$sub(%_width%,20),87,$getpvar(MyCoverPath),NOKEEPASPECT)
$imageabs2($sub(%_width%,20),$sub(%_width%,20),,,,,12,5,D:\Ohhh Two\black frame.png,NOKEEPASPECT)


How would i determine where the inside top left corner would be? <= that is what i really need to know.

Panels (version 0.13.8) would crash when i would try to change $sub(%_width%,20) of the alb art line. I know one of you can help PLEASE.


metal_termite
From my understanding you just want a border around your album art?

Use $drawrect instead of $imageabs2 for a border.

$drawrect(X-i,Y-i,W+i,H+i,brushColor-null penColor-R-G-B OPTIONS)
$imageabs2(...)

Where X, Y, W, H are all the same coordinates as your $imageabs2 album art. And i is the size of the border in pixels. So for a black 1 pixel border $drawrect would look like this...

$drawrect(X-1,Y-1,W+1,H+1,brushColor-null penColor-0-0-0)
steliyan
How I can manually set the foobar's window width and height. I also want to make the window unresizeble (I use $settitle(hidetitlebar).
towa
I just updated my panelsui from 0.13.5 to 0.13.8 and now I have some squares before everything in my Library filter (everything but the headers) First i thought it had something to do with my config, but it also happens with the basic.pui. I also tried to remove everything but %criteria% in the layout settings but there were still squares.

IPB Image

another problem that also existed in 0.13.5 is that I have an artists in my library with Ö as first letter, and one with a groupname that starts with a non-capital d, but the rest are capital letters. They are sorted incorrectly (at the bottom of the list instaed of the Ö with the rest of the O's or the d with the rest of the D's).
towa
Is it possible in the library filter to have subcategories that exist based on tags? For example: if I have some songs that don't have a date specified, I want them grouped in a 'No Date' group that isn't expandable. The songs that do have a date are grouped in 80s,90setc and can be expanded to 1991,1992 etc. With my current config i get Dates>90s>1991, but I also get dates>No Date>? where I would like Dates>No Date.
plukin
Hi,
maybe someone can help me: i work on an information center with statistics. one of the statistic value should have the total playback time like the official one intigrated in fb2k...
my issue is, that sometimes the pvar get more often updated (more often as second per second) i use this code, which stand in the // PerSecond part:

CODE
// PerSecond
$if(%_isplaying%,
$setpvar(total_playtime,$eval($getpvar(total_playtime)+1))
,)


thanks in advance for any reply...

bye plukin
FofR
Any chance of one of the Sort By defaults being "By Directory"?
cacko
Hi,

I cannot get the matroska transparent access to attachment file (ex. matroska://%path%|cover.jpg) to work with uie_panels. Is it possible anyway ?

mil3s
Here is idea. If the x,y,width,height info of the main window available to call via a function and it was also possible to set these it would be possible to make popup window from button, and it could appear directly beneath the button if you set it to. This could be used for volume slider or anything. Would be pretty cool. smile.gif
Falstaff
QUOTE(mil3s @ Jun 17 2007, 12:22) *

Here is idea. If the x,y,width,height info of the main window available to call via a function and it was also possible to set these it would be possible to make popup window from button, and it could appear directly beneath the button if you set it to. This could be used for volume slider or anything. Would be pretty cool. smile.gif


+1,

having possibility to indicate x,y coords of a panelsUI window would be great and useful ...
FofR
$button2 bug

I am finding that placing a $button2 command inside an $if statement causes changes to $alignabs and hence the positioning of text. This $alignabs is NOT within the $if, but prior to it.

Commenting out the $button2 section removes the error. Taking $button2 outside of the $if and placing ABOVE the $alignabs fixed the problem, when below the problem persisted.

It is irrelevant of the command in the $if statement and commenting out other things within the $if gave no fix.

EDIT: The bug only occurs if the $button2 is in the vicinity of the $alignabs command.

Seems to be some conflict between $alignabs and $button2
shakey_snake
$settitle() BUG

Sometimes...
If 'Hide Taskbar Entry' is unchecked,
and $settitle() is used,
and the user has their taskbar set to auto-hide,
the taskbar refuses to auto-hide.

(this has happened a couple of times for me, but I can't seem to make it reproduceable)
eboomer
QUOTE(towa @ Jun 16 2007, 10:44) *

I just updated my panelsui from 0.13.5 to 0.13.8 and now I have some squares before everything in my Library filter (everything but the headers) First i thought it had something to do with my config, but it also happens with the basic.pui. I also tried to remove everything but %criteria% in the layout settings but there were still squares.

IPB Image

another problem that also existed in 0.13.5 is that I have an artists in my library with Ö as first letter, and one with a groupname that starts with a non-capital d, but the rest are capital letters. They are sorted incorrectly (at the bottom of the list instaed of the Ö with the rest of the O's or the d with the rest of the D's).

* The square character is usially displayed whenever a character comes up that is not defned in the currently used font, so try changing to a font that has more characters, like Arial Unicode MS. Also, only the style settings accessed through the context menu change with changing config. The layout settings that define the tree structure do not.

* Foreign characters are often sorted unintuitively and incosistently. It's a bit of a hack, but try something like "$replace($replace([criteria],D,d),Ö,o)". You can nest like this as needed for all the strange sorting characters

QUOTE(towa @ Jun 16 2007, 11:24) *

Is it possible in the library filter to have subcategories that exist based on tags? For example: if I have some songs that don't have a date specified, I want them grouped in a 'No Date' group that isn't expandable. The songs that do have a date are grouped in 80s,90setc and can be expanded to 1991,1992 etc. With my current config i get Dates>90s>1991, but I also get dates>No Date>? where I would like Dates>No Date.

* Currently, each path through the tree structure must (and will, one way or another) be expandable to the esame number of levels. If you try to have the tree structure dead-end when there aren't files in a particular catagory, you will tend to get empty children until you've reached the number of levels you've defined for everything else.

QUOTE(plukin @ Jun 16 2007, 11:56) *

Hi,
maybe someone can help me: i work on an information center with statistics. one of the statistic value should have the total playback time like the official one intigrated in fb2k...
my issue is, that sometimes the pvar get more often updated (more often as second per second) i use this code, which stand in the // PerSecond part:

CODE
// PerSecond
$if(%_isplaying%,
$setpvar(total_playtime,$eval($getpvar(total_playtime)+1))
,)


thanks in advance for any reply...

bye plukin

* Try "%playback_time_seconds%". If that's what you were looking for, you really should check out:
http://wiki.hydrogenaudio.org/index.php?ti...ormat_Reference
shakey_snake
QUOTE(plukin @ Jun 16 2007, 12:56) *

Hi,
maybe someone can help me: i work on an information center with statistics. one of the statistic value should have the total playback time like the official one integrated in fb2k...

Since you seem to not to want to use the official one, try something like this:

CODE
$ifequal(%playback_time_seconds%,$getpvar(total_playtime),,
        $setpvar(total_playtime,$eval($getpvar(total_playtime)+1))
        )
PedroElGringo
Feature Request :

Hi, would there be a possibility to implement a custom ROTATE in the $imageabs2 function ?
Like rotating a specific amount of degrees ?

Thanks a lot
gob
are there plans to make the up/down and enter keys active in single columns playlist? the page up, down, home and end work nicely wink.gif
simply
gob
Works fine...
Maybe check your keybord shortcuts ?
bit4bit
Resizing popups with button and WINDOWSIZE.

Is this possible? All I notice is that the parent window sizes change (what I don't want) and the popup stays the same. Is this a bug? Can this be changed in a future update of PanelsUI?
Kiteroa
Feature request:

Allow users to set the order in which panels are drawn!

towa
QUOTE(eboomer @ Jun 19 2007, 02:06) *

* The square character is usially displayed whenever a character comes up that is not defned in the currently used font, so try changing to a font that has more characters, like Arial Unicode MS. Also, only the style settings accessed through the context menu change with changing config. The layout settings that define the tree structure do not.

Thanks for the info. I worked around the squares by using the tags in my library layout, instead of %criteria%. I still don't understand how an undefined character got there (there aren't any in my tags).
QUOTE(eboomer @ Jun 19 2007, 02:06) *

* Foreign characters are often sorted unintuitively and incosistently. It's a bit of a hack, but try something like "$replace($replace([criteria],D,d),Ö,o)". You can nest like this as needed for all the strange sorting characters

And I worked around the d,D by using $caps(), I'll use the replace for the other characters.
QUOTE(eboomer @ Jun 19 2007, 02:06) *

* Currently, each path through the tree structure must (and will, one way or another) be expandable to the esame number of levels. If you try to have the tree structure dead-end when there aren't files in a particular catagory, you will tend to get empty children until you've reached the number of levels you've defined for everything else.

I think this should be a feature, it would also make it possible to use my directory structure as tree structure.



Sam Stoat
Request

In ColumnsUI, there's an 'Activate now playing' menu option which selects the current track, which I've been binding to the F5 key. Handy when you've scrolled away in a long playlist and want to get back quickly. If this menu item was available in PanelsUI, I could finally get rid of ColumnsUI.
Maranatha
QUOTE(Sam Stoat @ Jun 19 2007, 10:01) *

Request

In ColumnsUI, there's an 'Activate now playing' menu option which selects the current track, which I've been binding to the F5 key. Handy when you've scrolled away in a long playlist and want to get back quickly. If this menu item was available in PanelsUI, I could finally get rid of ColumnsUI.


It's there, I use it all the time within PanelsUI. You might have to remap your F5 key to point to it, but it's there!
The Judge
Sorry if it has been asked for before but will there be a depressed button image added to the $button() function?
Kiteroa
QUOTE(towa @ Jun 20 2007, 02:16) *

QUOTE(eboomer @ Jun 19 2007, 02:06) *

* Foreign characters are often sorted unintuitively and incosistently. It's a bit of a hack, but try something like "$replace($replace([criteria],D,d),Ö,o)". You can nest like this as needed for all the strange sorting characters

And I worked around the d,D by using $caps(), I'll use the replace for the other characters.


$replace takes multiple pairs of arguments so you can put e.g. $replace(string,D,d,Ö,o,) - much easier to read!
plukin
QUOTE(eboomer @ Jun 19 2007, 03:06) *

QUOTE(plukin @ Jun 16 2007, 11:56) *

Hi,
maybe someone can help me: i work on an information center with statistics. one of the statistic value should have the total playback time like the official one intigrated in fb2k...
my issue is, that sometimes the pvar get more often updated (more often as second per second) i use this code, which stand in the // PerSecond part:

CODE
// PerSecond
$if(%_isplaying%,
$setpvar(total_playtime,$eval($getpvar(total_playtime)+1))
,)


thanks in advance for any reply...

bye plukin

* Try "%playback_time_seconds%". If that's what you were looking for, you really should check out:
http://wiki.hydrogenaudio.org/index.php?ti...ormat_Reference


Oh, thats not what i search for smile.gif and i've checkt the reference often enough wink.gif
i search a function to "save" the value of the already played seconds of every song you have played, just like the information in the fb2k config ("File"->"Preferences"->the "Playback" panel-> there under "Total Time Played". Or is there any function to get exactly this value? i dont have found something, so i want to write this function...

greetz

EDIT: @shakey_snake: this will only update the pvar "total_playtime" if the value is the same with %playback_time_seconds%. thats not what i want, too.
there is the option to make a function to add the song playtime to the pvar if the song is ending. but i want a per second update wink.gif
Sam Stoat
QUOTE(Maranatha @ Jun 19 2007, 16:39) *
It's there, I use it all the time within PanelsUI. You might have to remap your F5 key to point to it, but it's there!
Are you sure, Maranatha? If I remove ColumnsUI, I can't find any menu options to select the currently playing track. Just in case I'm looking in the wrong place, can you tell me where you find yours? Thanks.
stampgevaar
CODE

$if($strcmp($get(coverPath),'Black\images\nocover.jpg'),,

$imageabs2($get(covers),$get(covers),,,,,$get(coverx),$get(covery),$get(coverPath),NOKEEPASPECT)
$drawrect($get(coverx),$get(covery),$get(covers),$get(covers),brushcolor-null pencolor-200-200-200 alpha-0)
$imageabs2($get(covers),$get(covers),,,,,$get(coverx),$eval($get(covery)+$get(covers)+5),$get(coverPath),NOKEEPASPECTROTATEFLIP-6 alpha-230)
$imageabs2($get(covers),200,0,5,0,0,$get(coverx),$eval($get(covery)+$get(covers)+5),/images\over.png,NOKEEPASPECT)
$drawrect(0,$eval($get(covery)+$get(covers)+200),%_width%,$eval(%_height%-$get(covery)+$get(covers)+200),brushcolor-0-0-0 pencolor-null)
)


What the hell is wrong with my code, I don't want to display album art if the coverPath is the nocoverpath is this not possible? $puts(coverPath,blabla) is written in my global variables...
Kiteroa
How can I get a button in a track Display to give a key press (down) or (up) when clicked?
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.