Help - Search - Members - Calendar
Full Version: Track Info Panel Mod (foo uie trackinfo mod)
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
s33m33
Using Columns UI layout. having problem with Track Info Panel Mod (foo uie trackinfo mod).

when i restart foobar, the problem occurs because sometimes when i highlight it, it shows color code highlighting. but other times after restarting, it just shows plain text code.
both the configurations create a different offset and in the process disfigures my layout.

how can i make it consistent in displaying code?
foosion
Do you have - by any chance - both foo_ui_panels and foo_uie_trackinfo_mod installed?
s33m33
yes foosion, thats true, both installed.
Keikonium
Get rid of foo_uie_trackinfo_mod. Panels UI now comes with it bundled together. Having both will cause problems.

Just incase however (and I am not to sure), backup your code from foo_uie_trackinfo_mod and just paste it in notepad or something. Then when you load back up foobar, tell it to forget your settings for foo_uie_trackinfo_mod, and add "Track Display" to your config (this is the same as foo_uie_trackinfo_mod but enhanced a bit depending on your Panels UI version).

Use the wiki to figure out how this enhanced version works. I think (if I remember correctly) the versions that come with Panels UI added headers to the code. Just go here to figure the stuff out:

http://wiki.hydrogenaudio.org/index.php?ti...(foo_ui_panels)
s33m33
Thanks Keikonium, for the detailed solution.
Using Panels UI 0.14.12.

Removed foo_uie_trackinfo_mod and re-loaded. Also removed settings when asked.
"Track Info Mod" is automatically replaced by "Track Display" in Columns UI and the original code is copied by default. Did not need to copy back the saved code. Also, its showing color highlighted code now.
Problem Solved. Thanks for the prompt help smile.gif

just a quick second question, the text is flowing out of the border in the new config.
how do i word-wrap it?

Edit: found it via google. using the $wordwrap() tag.
krabapple
Running 0.9.4, I have foo_ui_columns and foo_uie_panels in my components list, but not foo_uie_trackinfo

So, how do I get 'track display' to show as an option in Columns UI? Currently the only options under my 'vertical splitter' are Playlist switcher, Album Art, and Peak Meter.

(I have read two Panels UI wiki pages, and they're both maddeningly opaque.)
s33m33
Select Insert Panel/Panels/Track Display

You should be running the latest PanelsUI beta for track display:
http://panels.fooblog2000.com/foo_ui_panels_beta.zip
krabapple
QUOTE(s33m33 @ Nov 3 2007, 00:02) *

Select Insert Panel/Panels/Track Display

You should be running the latest PanelsUI beta for track display:
http://panels.fooblog2000.com/foo_ui_panels_beta.zip



Thanks, that worked. I see how to control font size in the code for the track display, but how/where to control background color?
s33m33
Insert this code at the top and play around with background colors:

//GLOBAL
$drawrect(0,0,0,0,brushcolor-38-43-49 pencolor-null)
krabapple
QUOTE(s33m33 @ Nov 4 2007, 14:27) *

Insert this code at the top and play around with background colors:

//GLOBAL
$drawrect(0,0,0,0,brushcolor-38-43-49 pencolor-null)




I was able to do some trial error changes, but is there a guide or colormaps somewhere for 'brushcolor', pencolor, SYSCOLOR or other style attributes for drawrect?

I'm also having trouble incorporating a dynamic %playback_time_remaining% counter in the track display window...can you tell me what the code should be? Adding that code as is just creates a static snapshot of playb ack time remaining.
Cosmo
@ krabapple :

Regarding color formatting - http://wiki.hydrogenaudio.org/index.php?ti...shape_functions

Regarding dynamic updates - http://wiki.hydrogenaudio.org/index.php?ti...29#Redraw_types
krabapple
QUOTE(Cosmo @ Nov 4 2007, 17:15) *


thanks.

(looking at all this new syntax I'm kind of wondering why I've switched to foobar 0.9 unsure.gif )
picmixer
QUOTE(krabapple @ Nov 5 2007, 07:31) *

(looking at all this new syntax I'm kind of wondering why I've switched to foobar 0.9 unsure.gif )


This has actually nothing to do with foobar2000 0.9 itself but only with the Panels UI and Trackinfo components.
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.