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 1317467 times) previous topic - next topic
0 Members and 9 Guests are viewing this topic.

foo_ui_panels

Reply #2600
Doh, I thought that Album Directory was something included with Panels UI  . I guess I am also using foo_run along side this code.

I just created a run command called "Album Directory" and made the Path "C:\Song Album Covers\%album%.jpg".

As for your code, it works perfectly fine for me. It creates a mini preview of the album art, and upon clicking it, it loads irfanview for me  .

Using the new 9.5 beta 5 of foobar running on WinXP SP2.


Couldn't get the run script to work either. Are you using 0.14.x version of panels_ui? Using 0.13.8b myself but perhaps I should try with newer. Hope it's not OS issue

Edit: I just noticed the iview32.exe process appears in task manager when button is executed, but application won't launch. Seems like OS issue then.

foo_ui_panels

Reply #2601
Could be an OS issue, I don't know :/.
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_ui_panels

Reply #2602
How come my seekbar doesn't show?

And can anyone help me add play/pause/stop buttons... Thank you
Code: [Select]
// Tabs
$select($eval($getpvar(display.mode)+1),

// Playlist
$drawrect(0,0,0,0,brushcolor-SYSCOL-15 pencolor-SYSCOL-15)

$panel(Playlist,Single Column Playlist,0,20,%_width%,$eval(%_height%-40),)

$panel(Playlists Dropdown,Playlists Dropdown,0,0,$sub(%_width%,0),20,)

$panel(Seekbar,Seekbar,00,$sub(%_height%,20),$sub(%_width%,0),20,)

,

// Explorer
$drawrect(0,0,0,0,brushcolor-SYSCOL-15 pencolor-SYSCOL-15)
$panel(Explorer,Explorer Tree,0,0,%_width%,$eval(%_height%-20),)
)



$button2(5,$eval(%_height%-16),0,0,20,12,'$font(,,bold,SYSCOL-2)PL','$font(,,bold,SYSCOL-13)PL',PVAR:SET:display.mode:0,TOOLTIP:"PLAYLIST")
$button2(25,$eval(%_height%-17),0,0,18,12,'$font(Wingdings,10,,SYSCOL-2)0','$font(Wingdings,10,,SYSCOL-13)1',PVAR:SET:display.mode:1,TOOLTIP:"EXPLORER TREE")

$panel(Seekbar,Seekbar,45,$sub(%_height%,20),$sub(%_width%,45),20,)


foo_ui_panels

Reply #2604

How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?

normally foobar starts at the position of the screen where you closed it before.


@shrinky
that's because the Seekbar panel is invisible. the function of this plugin is to make a seekbar, created in panels ui, clickable so that you can skip through the track by clicking on it.
you have to make a progress bar like this:

$if(%isplaying%,
   $puts(l,$eval(591* %playback_time_seconds% /  %length_seconds%))
   $imageabs2(,,,,$get(l),,174,$eval(%_height%-27),%foobar_path%\PanelsUI\flow\images\progress.png,)
,)

you can also use $rectabs(...) instead of a picture.

foo_ui_panels

Reply #2605
normally foobar starts at the position of the screen where you closed it before.


@shrinky
that's because the Seekbar panel is invisible. the function of this plugin is to make a seekbar, created in panels ui, clickable so that you can skip through the track by clicking on it.
you have to make a progress bar like this:

$if(%isplaying%,
   $puts(l,$eval(591* %playback_time_seconds% /  %length_seconds%))
   $imageabs2(,,,,$get(l),,174,$eval(%_height%-27),%foobar_path%\PanelsUI\flow\images\progress.png,)
,)

you can also use $rectabs(...) instead of a picture.


thank you.... but i am very foobar illiterate, and am still confused as to how to add one. thank you though.

 

foo_ui_panels

Reply #2606

How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?


Yes this is possible using Panels UI. All you have to do is use this code in a $button(...) command (read the wiki for more info):

WINDOWSIZE:width:height:RIGHT:TOP


thank you.... but i am very foobar illiterate, and am still confused as to how to add one. thank you though.


Here is a better example:

Put the following code in your // PerTrack header:

Code: [Select]
$panel(CustomizableSeekbar,Track Display,20,40,400,20,)
$panel(SeekPanel,Seek Panel,20,40,400,20,)


Obviously change the names to suit your needs. The dimentions of BOTH panels need to be the same for it to function and look right.

Now in the Track Display panel (called "CustomizableSeekbar" in this example) use the following code:

Code: [Select]
// PerSecond
$puts(SEEKdir,'C:\Program Files\foobar2000\FoOrby\buttons\powerpanels\seekbar')
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,0),%length_seconds%))
$imageabs2(%_width%,13,,,,,0,4,$get(SEEKdir)\seek_back.png,nokeepaspect)
$ifgreater($get(progress),0,
$imageabs2(%_width%,13,,,$get(progress),,0,4,$get(SEEKdir)\seek_fore.png,nokeepaspect),)


Again, changing it to suit your needs. Hopefully this is helpful .
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_ui_panels

Reply #2607
How come custom buttons doesn't seem to work on PanelsUI 14.12?

foo_ui_panels

Reply #2608


How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?


Yes this is possible using Panels UI. All you have to do is use this code in a $button(...) command (read the wiki for more info):

WINDOWSIZE:width:height:RIGHT:TOP


thank you.... but i am very foobar illiterate, and am still confused as to how to add one. thank you though.


Here is a better example:

Put the following code in your // PerTrack header:

Code: [Select]
$panel(CustomizableSeekbar,Track Display,20,40,400,20,)
$panel(SeekPanel,Seek Panel,20,40,400,20,)


Obviously change the names to suit your needs. The dimentions of BOTH panels need to be the same for it to function and look right.

Now in the Track Display panel (called "CustomizableSeekbar" in this example) use the following code:

Code: [Select]
// PerSecond
$puts(SEEKdir,'C:\Program Files\foobar2000\FoOrby\buttons\powerpanels\seekbar')
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,0),%length_seconds%))
$imageabs2(%_width%,13,,,,,0,4,$get(SEEKdir)\seek_back.png,nokeepaspect)
$ifgreater($get(progress),0,
$imageabs2(%_width%,13,,,$get(progress),,0,4,$get(SEEKdir)\seek_fore.png,nokeepaspect),)


Again, changing it to suit your needs. Hopefully this is helpful .


thank you thank you

foo_ui_panels

Reply #2609
one more question, how do i make it so that when i click on my seekbar, it fast forwards to there... or is that not possible. thanks!

foo_ui_panels

Reply #2610
one more question, how do i make it so that when i click on my seekbar, it fast forwards to there... or is that not possible. thanks!


Can be done - you need  foo_uie_powerpanels

foo_ui_panels

Reply #2611
in the library filter I only want to sort my media libaray by Artist -> Album -> Tracks, of course ordering the artist alphabetically, album by date of release and tracks by tracknumber of each album.

to my problem:

since I only have one Top Level Header in the library filter, I would love to have it expanded right away and not have to bother klicking it open everytime. moreover, Id love to rid of the Top Level Header completely and have the list of artists displayed from the start. is this possible?


and where do I specify to which playlist my selected tracks will be sent? right now it always sends them to a newly created playlist called ' *FILTER* '

foo_ui_panels

Reply #2612
I've been using the latest beta version ever since terrestrial disappeared and it's never ever crashed for me.

foo_ui_panels

Reply #2613
Can anyone tell me where I can get the betas from? I'd like to have double and middle click options in the filter, so I'd need a beta, I think I read 14.9 is stable, but I've only been able to find 14.12. Thanks.


foo_ui_panels

Reply #2615
i have my setup configured so that if the album art exists for the currently playing song, it shows the album art using the $imageabs function, and doesn't show anything if there is no art

if there is no art i have a button that uses foo_run to download the art to the directory of the song

my question: is there a way for the art to show (after adding the art) - other than restarting foobar?

foo_ui_panels

Reply #2616
i have my setup configured so that if the album art exists for the currently playing song, it shows the album art, and doesn't show anything if there is no art

if there is no art i have a button that uses foo_run to download the art to the directory of the song

my question: is there a way for the art to show (after adding the art) - other than restarting foobar?


Yes... but probably not the way you want it to show. I don't know if it's just my setup or not but I found that the following two ways will work:

1. Get the album art for the song you desire. Play a different song, then play the previous song again. The album art should show up.

2. Open the prefrences. Click Panels UI on the left hand side, then click the save button on the right (at the bottom). It will 'reload' the foobar interface and make the album art show.
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_ui_panels

Reply #2617
ROCK-STABLE PANELSUI (even 0.14.12)

Hi mates, seems i've found a way to make even version 0.14.12 stable (thx to gob).
The trick is: you need a combination of ColumnsUI and PanelsUI, where ColumnUI is your main UI Module (under display > user interface module). In ColumnsUI Layout window you then just create a TrackDisplay panel and Paste all your PanelUI code there.

Those random crashes with 0.14.12 (and even with 0.14.9 or 0.13.8 i got some), they made me sick and so im happy to have found out this workaround. it works 100%, try it out 

foo_ui_panels

Reply #2618
ROCK-STABLE PANELSUI (even 0.14.12)

Hi mates, seems i've found a way to make even version 0.14.12 stable (thx to gob).
The trick is: you need a combination of ColumnsUI and PanelsUI, where ColumnUI is your main UI Module (under display > user interface module). In ColumnsUI Layout window you then just create a TrackDisplay panel and Paste all your PanelUI code there.

Those random crashes with 0.14.12 (and even with 0.14.9 or 0.13.8 i got some), they made me sick and so im happy to have found out this workaround. it works 100%, try it out 


This was originally how I made my oldddd layout cause panels seemed over the top for me. However, with this "work around", you can't use glass (if you're on vista) and you can't hide the titlebar. I don't know if there is anything else that isn't possible .

I have experienced maybe one or two crashes with the 0.13.x versions, and only ONE with the 0.14.12 version. I am still confused about why everyone is having such problems with Panels UI, it runs perfectly fine for me.

Nice of you to post this work around for those who think that panels is buggy .
Song List: keikoniumboards.ke.funpic.org/files/songlist.html

foo_ui_panels

Reply #2619
yeah all the window tweaks off course dont work. i.e. "WINDOWSIZE" "hidetitlebar" "settitle", but i think its a fair trade.

foo_ui_panels

Reply #2620
i can also say that i have had 0 stability issues with any version of panelsUI as long as columns UI is the main UI module. i've been using it for a long time and i have a pretty complicated setup.

foo_ui_panels

Reply #2621
Likewise. I'm presently using 13.8 (within a Columns UI framework), but I've used one of the 14 betas before within Columns without any crashes to speak of.

foo_ui_panels

Reply #2622
Hey guys, im working on a config and using UI Panels and SCPL.
I want to implement an iTunes like functionality to my SCPL, which is activating and deactivating tacks on the playlist.

I want to have toggle imagebuttons on each playlist item, using the buttons to activate and inactive the individual tracks. Im planing to use foo_skip to skip tracks that are tagged inactive 

Im faced with a show stopping issue, which is:

1 - $imabutton cannot be applied in SCPL
2 - UI Panels can not render stuff for SCPL items.

Does anyone have an idea of how this can be achieved, is it even feasible?

I have to have this feature and have been stuck on it for weeks 
A teacher is a student in denial.

foo_ui_panels

Reply #2623
How do I get my tracks added to the Playlist from the Library by using double-click?

And also. Is there a way to add "Remove" to the context menu of the Playlist?

foo_ui_panels

Reply #2624


How is it possible to set the player to the right upper corner of the screen everytime the application starts?


Is this not possible?


Yes this is possible using Panels UI. All you have to do is use this code in a $button(...) command (read the wiki for more info):

WINDOWSIZE:width:height:RIGHT:TOP


Is it not possible to set this on every start instead of clicking on a button for that?