Skip to main content

Notice

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

foo_ui_panels

Reply #1700
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.
Wrong. This code:
Quote
$ifequal(%playback_time_seconds%,$getpvar(total_playtime),,
      $setpvar(total_playtime,$eval($getpvar(total_playtime)+1))
      )
...changes the pvar when the value is different than %playback_time_seconds%.
This is needed as a work around for VBR files.
(which since I didn't know we needed to do this for multiple songs, it fulfills your original request).

However, since you made you requirement more clear...
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...

...we'll need to modify the code:
Code: [Select]
$ifequal(%playback_time_seconds%,$getpvar(vbr_check),,
        $setpvar(total_playtime,$eval($getpvar(total_playtime)+1))
        $setpvar(vbr_check,%playback_time_seconds%)
        )


Keep in mind that this won't update if foobar is minimized, and if the pvars are cleared, this will be deleted.
elevatorladylevitateme

foo_ui_panels

Reply #1701
...we'll need to modify the code:
Code: [Select]
$ifequal(%playback_time_seconds%,$getpvar(vbr_check),,
        $setpvar(total_playtime,$eval($getpvar(total_playtime)+1))
        $setpvar(vbr_check,%playback_time_seconds%)
        )


You are the man  thanks. it works well. sometimes, espacially on trackchange the issue is still there. but it's much better now...

once more, thanks a lot...

plukin

foo_ui_panels

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


don't you need columns_ui installed to use panels_ui?? so if you removed columns, then I guess this option disappears (b/c it stand below column at keyboard shortcuts) ...got no other idea, I have columns_ui installed and use panels_ui and got the feature...
fb2k on OSX: flac q8 > rockboxed Sansa e280v1: Vorbis q5.0

foo_ui_panels

Reply #1703
don't you need columns_ui installed to use panels_ui?? so if you removed columns, then I guess this option disappears (b/c it stand below column at keyboard shortcuts) ...got no other idea, I have columns_ui installed and use panels_ui and got the feature...


I would agree.  Re-install ColumnsUI, and the command should be available once again.

I modify every configuration I get so that I have a button that does that exact command.  It's a real time saver to have that available!

foo_ui_panels

Reply #1704
For some reason, I can't use imageabs2 in library filter. I get an unknown function. Is the syntax different from that in other panels bij terrestial or have I encountered some sort of bug?

Code: [Select]
$ifequal(
$get(isSingle),1,! Singles
,
%album%
)

$imageabs2(%_width%,%_height%,0,0,%_width%,%_height%,0,0,..\images/wmp/mbar.png,NOKEEPASPECT)
$imageabs2(%_height%,%_height%,0,0,%_height%,%_height%,0,0,


$if($fileexists($replace(%path%,%filename_ext%,cover.jpg)),
$replace(%path%,%filename_ext%,cover.jpg),
images\wmp\no cover.png)

,NOKEEPASPECT)
$imageabs2(%_width%,%_height%,0,0,%_width%,%_height%,0,0,..\images/wmp/mbar.png,NOKEEPASPECT alpha-60)

foo_ui_panels

Reply #1705
gob
Works fine...
Maybe check your keybord shortcuts ?


yup, just checked that. i dont have the up/down/enter keys assigned to anything. moved foobar.cfg to get a default profile with all my components, seems to work there.. im not too sure what could overwrite these ksys...

foo_ui_panels

Reply #1706
don't you need columns_ui installed to use panels_ui?? so if you removed columns, then I guess this option disappears (b/c it stand below column at keyboard shortcuts) ...got no other idea, I have columns_ui installed and use panels_ui and got the feature...
I would agree.  Re-install ColumnsUI, and the command should be available once again.
I never realised ColumnsUI was still needed for Panels.  Just thought I could trim some of the fat from Foobar.  Thanks, both.


foo_ui_panels

Reply #1708
Hey Guys!

Sorry for a stupid question which apparently was asked many times before (I tried to use search to find the answer, really)... but how to set minimal ui_panels panel height when used in columns_ui interface? It was set previously to some number but now I can't figure out how to alter it.

Thanks,
N

foo_ui_panels

Reply #1709
Lock the panel with ColumnsUI's lock feature.
If you're using columnsUI as your interface, then this should have been asked in the columnsUI thread.
elevatorladylevitateme

foo_ui_panels

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


Can at least someone confirm this behavior so I know that resizing of popups is not possible? Maybe there is a conflict between %_width% and %_height% from the popup and the main window?

foo_ui_panels

Reply #1711
Request

Would it be possible to change the sort order from columns to rows with the option to start a new row when the end of the window has been reached?

What I'm thinking about is to make a layout with only a 'Group Display' which contains only covers. Something similar to the 'Album List' plugin of winamp?

foo_ui_panels

Reply #1712
Request

Would it be possible to change the sort order from columns to rows with the option to start a new row when the end of the window has been reached?

What I'm thinking about is to make a layout with only a 'Group Display' which contains only covers. Something similar to the 'Album List' plugin of winamp?

Please read the Panels UI Request page before making requests
elevatorladylevitateme

 

foo_ui_panels

Reply #1713

Request

Would it be possible to change the sort order from columns to rows with the option to start a new row when the end of the window has been reached?

What I'm thinking about is to make a layout with only a 'Group Display' which contains only covers. Something similar to the 'Album List' plugin of winamp?

Please read the Panels UI Request page before making requests



I have read the Request Page. This feature is listed only for Library Filter. If this means that's also available in SCPL, fine. If not, it would be great to implement this for SCPL, too.

foo_ui_panels

Reply #1714

...we'll need to modify the code:
Code: [Select]
$ifequal(%playback_time_seconds%,$getpvar(vbr_check),,
        $setpvar(total_playtime,$eval($getpvar(total_playtime)+1))
        $setpvar(vbr_check,%playback_time_seconds%)
        )


You are the man  thanks. it works well. sometimes, espacially on trackchange the issue is still there. but it's much better now...

once more, thanks a lot...

plukin

It might help on trackchanges to set vbr_check back to zero before the increment is evaluated -
Code: [Select]
$ifequal(%playback_time_seconds%,0,$setpvar(vbr_check,0),)
$ifequal(%playback_time_seconds%,$getpvar(vbr_check),,
        $setpvar(total_playtime,$eval($getpvar(total_playtime)+1))
        $setpvar(vbr_check,%playback_time_seconds%)
        )

foo_ui_panels

Reply #1715
Been getting a crash with foo_playcount (official). Seems like any foo_playcount tags not in an SCPL cause it to crash. Don't have any problems with it in a Track Display panel in Columns UI but for some reason it crashes no matter the code if I have any foo_playcount tags in the PUI.

http://www.hydrogenaudio.org/forums/index....c=55680&hl=

EDIT: And for some reason my background images aren't rendered upon start-up. I need to 'apply' the PUI before they show up. Thoughts?

foo_ui_panels

Reply #1716
Hey guys,

How does your CPU usage fair for your layouts with quite a bit of titleformat code and many Track Display sub-panels?

Without any DSPs, mine jumps from 2% to 7% on average. I don't understand why it fluctuates so much, considering I do not have any code in the PerSecond redraw type. If I understood correctly, button functions are processed differently regardless of the redraw type they are in -- Could that be the culprit? Because I do have quite a bit of them.

I wouldn't mind hearing some tips on making more efficient titleformat scripts. This could be useful for everyone as I think the layouts seem to be getting bigger and more complex in general. I'd love to hear some from Terrestrial.

foo_ui_panels

Reply #1717
Request:

1. It would be nice if we can change "Transparent Background" in playlist using command, e.g.:
Code: [Select]
$transparentON()
Code: [Select]
$transparentOFF()

It could be very useful if I want to add "disable / enable transparent option" to my settings
2. Could you switch back to previous title formating in status bar and titlebar. I using:
Code: [Select]
$settitle($if($or(%ispaused%,$not(%isplaying%)),Foobar2000,%artist% - %title%))
$settray($if($or(%ispaused%,$not(%isplaying%)),Foobar2000,%artist% - %title%))
and of course title doesn't update when foo is minimized. Although "Minimize to tray" option always have "Foobar2000" tooltip.

Question:

Can someone discovered how to add foo_run commands (especially those with AlbumArt Downloader) in 0.13.8?

Greats

foo_ui_panels

Reply #1718
Quick question regarding the library filter:

Any way to have what I select with it automatically sent to the playlist? Right now I have to select an album, then right click to send to playlist.

foo_ui_panels

Reply #1719
*feature request*

it would be nice if you can limit the width and height of a window (main window and popups)... just something like $minwindow(width,height)
so some layouts would keep its beautifulness

just an idee
plukin

foo_ui_panels

Reply #1720
I have read the Request Page. This feature is listed only for Library Filter. If this means that's also available in SCPL, fine. If not, it would be great to implement this for SCPL, too.
I don't really understand how this would work for a playlist.
How would you be able to differentiate between tracks from the same album?
I think (like it is implimented in Winamp's Album List) this is probably only reasonable for the Library.

Hey guys,

How does your CPU usage fair for your layouts with quite a bit of titleformat code and many Track Display sub-panels?

Without any DSPs, mine jumps from 2% to 7% on average. I don't understand why it fluctuates so much, considering I do not have any code in the PerSecond redraw type. If I understood correctly, button functions are processed differently regardless of the redraw type they are in -- Could that be the culprit? Because I do have quite a bit of them.

I wouldn't mind hearing some tips on making more efficient titleformat scripts. This could be useful for everyone as I think the layouts seem to be getting bigger and more complex in general. I'd love to hear some from Terrestrial.
I would say that by far the most important thing is whether or not you have transparent back grounds on anything.
I don't and with a pretty complex layout, with quite a few panels, I stay between 0%-1%.
elevatorladylevitateme

foo_ui_panels

Reply #1721
Run services doesn't work anymore, since v0.13.8.
Please terrestrial try to fix it.

foo_ui_panels

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



Sorry for the late reply. Its an actual picture of a frame that I was wanting to use. I guess i could add the frame to a background colour so the BG would be one big image!!! Ill give it a try now. Thanks for your help. S

EDIT: well i made it look right when its maximised just when its any size less than that the X and Y coordinates get messed up along with the width and height. But say when i use $sub(%_width%,80) nothing shows up. I give up can't be arsed anymore.
I love π

foo_ui_panels

Reply #1723
I still don't have tray context menu...

foo_ui_panels

Reply #1724
I would say that by far the most important thing is whether or not you have transparent back grounds on anything.
I don't and with a pretty complex layout, with quite a few panels, I stay between 0%-1%.

I have two relatively small transparent backgrounds. I disabled them and didn't notice any difference.

I just got an idea of removing the foo_uie_tabs component that contains five tagger window components inside it. I forgot that foo_uie_tab always runs in the background regardless if its displaying or not, which means every component inside it is being processed constantly. CPU usage is now mainly between 1 and 3% but it still spikes up to 5%-6% every few seconds. I'm not sure if that is normal or abnormal depending on my CPU (AMD64 3800+ Dual Core).

Using foo_uie_tabs for my layout was a bad idea after all