Skip to main content

Topic: Track Info Panel with ability to change font (Read 576387 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • Scrith
  • [*][*]
Track Info Panel with ability to change font
Reply #1150
I've been using this component for awhile without any problems, but then I decided to experiment with my configuration by playing with PanelsUI a bit, and that caused a problem with my TrackInfo panel:  I couldn't set the background color anymore (although the new dialog box for editing it is nice).

Is there something I'm missing here?  I read the msg about how you can now use PanelsUI as your TrackInfo (I think it said that), but I tried that and it obviously requires much more than just a copy/paste of my lengthy config text, because it looked really screwed up.

Can I make my existing TrackInfo mod panel work while I have PanelsUI in my components folder?

  • shakey_snake
  • [*][*][*][*][*]
  • Moderator
Track Info Panel with ability to change font
Reply #1151
copy your trackinfo_mod code into a .txt

remove trackinfo_mod and install panelsUI

in file -> prefs -> display -> columns UI Layout (tab) find where you have (or had) your trackinfo panel and add a Track Display panel.

click "Configure..." and paste in your code from the .txt
elevatorladylevitateme

  • Scrith
  • [*][*]
Track Info Panel with ability to change font
Reply #1152
Thanks for the fast reply.

Obviously I am missing something.  It looks right, but it's black.  I try to change the color (using the Color button in the Settings dialog box) but it just stays black.  I've tried creating a custom color, but it is never being saved.  When I change the color I see the old $font command replaced with $rgb, but hitting OK to close the dialog box doesn't do anything, and when I return to the Settings for it the custom color is gone, the color is 0,0,0 and the command is back to $font.

  • shakey_snake
  • [*][*][*][*][*]
  • Moderator
Track Info Panel with ability to change font
Reply #1153
Yeah, the color button is only there for reference.
You have to use $drawrect()

If your use 0 for the first 4 parameters, you will fill the whole window with color whatever your color is.
elevatorladylevitateme

  • Scrith
  • [*][*]
Track Info Panel with ability to change font
Reply #1154
Thanks, adding the $drawrect() solved it.

I also had to add the "// PerSecond" command to the file to make it work like the old one.
  • Last Edit: 18 June, 2007, 11:55:01 AM by Scrith

  • sune
  • [*][*][*]
Track Info Panel with ability to change font
Reply #1155
hi. I'm having problems with the SORT command. I'm using this, just to try it out:

Code: [Select]
$button(0,0,0,0,18,17,sort.png,sortblack.png,SORT:artist|%artist%:year|%date%,)

the context menu does come up when I click it, but it just doesn't sort anything

I'm thinking it's maybe due to an outdated version of the component (I`m using 0.7.1 beta) I tried to get the new one but the link doesn't work. terrestrial could you please look into it?

and also, if someone could tell me if the code is correct, that'd be nice, cause I'm not sure of what I'm doing...

thanks in advance
  • Last Edit: 06 July, 2007, 11:41:11 PM by sune

  • freanir
  • [*]
Track Info Panel with ability to change font
Reply #1156
Hi,
I've switche from tackinfo_mod to PanelsUI.
I'm only using Track Display in ColummnsUI.
How can I set the Window frame style to grey?

  • cyRq
  • [*]
Track Info Panel with ability to change font
Reply #1157
I've got a little problem with the config that I use:

Code: [Select]
// Original code by necropimp, modified by AstreaEdge, KockRoach, Brumal
// modded by Anish

// Toggles (0=disable, 1=enable)
$puts(show_now_playing,1)
$puts(show_tech_info,1)
$puts(cut_width,39)
// Disable comments on slower machines, disable by not entering any value for show comment
$puts(show_comment,1)
// Warning: Large max_comment_length can result in high CPU usage
// for large comments. Use -1 to disable cropping
$puts(max_comment_length,1000)

$puts(uncompressed_bitrate,$muldiv(%samplerate%,$mul(%__channels%,$if2(%__bitspersample%,16)),1000))

// Color Config
// 1 - Soundtrack to Your Escape        background: 16,40,46
// 2 - Reroute to Remain                background: 229,232,231
// 3 - Sandman2012                      background: 255,255,255
// 4 - Draconian Times                  background: 129,52,65
// 5 - Since the Day It All Came Down  background: 246,248,245
// 6 - Tales from the Thousand Lakes    background: 35,22,89
// 7 - Projector                        background: 0,0,0
// 8 - The Astral Sleep                background: 134,107,76
// 9 - Verisäkeet                      background: 64,76,61
// 10 - Haunted                        background: 0,0,16
// 11 - Ghost Reveries                  background: 29,20,15
// 12 - Rain Without End                background: 34,27,67
// 13 - Arte Novecento                  background: 240,240,240
// 14 - Ghosts of Loss                  background: 87,111,117
// 15 - The Truth Inside the Shades    background: 16,20,23
// 16 - 00 Void                        background: 167,167,177
// 17 - Antimatter                      background: 0,0,0
// 18 - Frail Words Collapse            background: 202,184,122
// 19 - Am Universum                    background: 204,201,124
// 20 - Character                      background: 228,226,227
// 21 - From Mars to Sirius            background: 239,233,221
// 22 - Voice of Wilderness            background: 169,169,159
// 99 - Custom config
$puts(color_config,17)

// Custom color scheme
$puts(cc_text1,$rgb(70,07,16))
$puts(cc_text2,$rgb(10,10,10))
$puts(cc_section_title,$rgb(245,245,245))
$puts(cc_fade_inside,$rgb(245,245,245))
$puts(cc_fade_outside,$rgb(0,0,0))


// color schemes
$if($strcmp($get(color_config),99),
// User defined scheme
$puts(info,$get(cc_text1))
$puts(head,$get(cc_text2))
$puts(anno,$get(cc_text1))
$puts(text2,$get(cc_section_title))
$puts(text1,$get(cc_fade_inside))
$puts(fadeend,$get(cc_fade_outside))
,
$select($get(color_config),
// Soundtrack to Your Escape
$puts(head,$rgb(170,170,170))
$puts(info,$rgb(170,207,216))
$puts(anno,$rgb(98,114,121))
$puts(text1,$rgb(170,207,216))
$puts(text2,$rgb(255,250,216))
$puts(fadeend,$rgb(0,0,0)),
// Reroute to Remain
$puts(head,$rgb(0,0,0))
$puts(info,$rgb(100,106,102))
$puts(anno,$rgb(100,106,102))
$puts(text1,$rgb(179,181,180))
$puts(text2,$rgb(123,40,48))
$puts(fadeend,$rgb(0,0,0)),
// Sandman2012
$puts(head,$rgb(0,128,192))
$puts(info,$rgb(130,130,130))
$puts(anno,$rgb(100,106,102))
$puts(text1,$rgb(235,242,254))
$puts(text2,$rgb(0,128,64))
$puts(fadeend,$rgb(0,0,0)),
// Draconian Times
$puts(head,$rgb(201,193,146))
$puts(info,$rgb(217,219,206))
$puts(anno,$rgb(217,219,206))
$puts(text1,$rgb(157,51,67))
$puts(text2,$rgb(178,196,200))
$puts(fadeend,$rgb(176,107,68)),
// Since the Day It All Came Down
$puts(head,$rgb(3,46,41))
$puts(info,$rgb(104,104,94))
$puts(anno,$rgb(104,104,94))
$puts(text1,$rgb(76,107,106))
$puts(text2,$rgb(50,85,91))
$puts(fadeend,$rgb(0,0,0)),
// Tales from the Thousand Lakes
$puts(head,$rgb(98,167,162))
$puts(info,$rgb(203,203,210))
$puts(anno,$rgb(203,203,210))
$puts(text1,$rgb(78,112,173))
$puts(text2,$rgb(143,201,234))
$puts(fadeend,$rgb(62,67,171)),
// Projector
$puts(head,$rgb(227,122,76))
$puts(info,$rgb(170,134,98))
$puts(anno,$rgb(170,134,98))
$puts(text1,$rgb(132,55,40))
$puts(text2,$rgb(248,214,134))
$puts(fadeend,$rgb(0,0,0)),
// The Astral Sleep
$puts(head,$rgb(67,45,32))
$puts(info,$rgb(208,204,199))
$puts(anno,$rgb(208,204,199))
$puts(text1,$rgb(103,75,51))
$puts(text2,$rgb(214,200,168))
$puts(fadeend,$rgb(0,0,0)),
// Verisäkeet
$puts(head,$rgb(160,146,117))
$puts(info,$rgb(208,194,165))
$puts(anno,$rgb(208,194,165))
$puts(text1,$rgb(113,52,47))
$puts(text2,$rgb(244,244,244))
$puts(fadeend,$rgb(0,0,0)),
// Haunted
$puts(head,$rgb(119,119,136))
$puts(info,$rgb(160,176,184))
$puts(anno,$rgb(208,194,165))
$puts(text1,$rgb(216,88,16))
$puts(text2,$rgb(228,228,232))
$puts(fadeend,$rgb(0,0,0)),
// Ghost Reveries
$puts(head,$rgb(145,113,54))
$puts(info,$rgb(238,219,135))
$puts(anno,$rgb(162,144,88))
$puts(text1,$rgb(172,148,76))
$puts(text2,$rgb(241,238,205))
$puts(fadeend,$rgb(35,27,16)),
// Rain Without End
$puts(head,$rgb(83,119,171))
$puts(info,$rgb(204,204,204))
$puts(anno,$rgb(194,194,194))
$puts(text1,$rgb(70,102,149))
$puts(text2,$rgb(244,244,244))
$puts(fadeend,$rgb(0,0,0)),
// Arte Novecento
$puts(head,$rgb(122,116,128))
$puts(info,$rgb(115,106,111))
$puts(anno,$rgb(115,106,111))
$puts(text1,$rgb(106,100,128))
$puts(text2,$rgb(130,139,148))
$puts(fadeend,$rgb(122,116,128)),
// Ghosts of Loss
$puts(head,$rgb(151,174,180))
$puts(info,$rgb(197,207,216))
$puts(anno,$rgb(197,207,216))
$puts(text1,$rgb(93,116,122))
$puts(text2,$rgb(237,233,228))
$puts(fadeend,$rgb(0,0,0)),
// The Truth Inside the Shades
$puts(head,$rgb(191,195,168))
$puts(info,$rgb(246,242,155))
$puts(anno,$rgb(246,242,155))
$puts(text1,$rgb(244,163,107))
$puts(text2,$rgb(251,251,251))
$puts(fadeend,$rgb(0,0,0)),
// 00 Void
$puts(head,$rgb(55,54,72))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(145,68,63))
$puts(text2,$rgb(244,241,234))
$puts(fadeend,$rgb(0,0,0)),
// Antimatter
$puts(head,$rgb(107,111,122))
$puts(info,$rgb(204,204,204))
$puts(anno,$rgb(184,184,184))
$puts(text1,$rgb(206,158,66))
$puts(text2,$rgb(204,204,204))
$puts(fadeend,$rgb(0,0,0)),
// Frail Words Collapse
$puts(head,$rgb(77,40,22))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(187,155,103))
$puts(text2,$rgb(128,83,62))
$puts(fadeend,$rgb(0,0,0)),
// Am Universum
$puts(head,$rgb(122,100,40))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(122,100,40))
$puts(text2,$rgb(107,70,13))
$puts(fadeend,$rgb(235,229,143)),
// Character
$puts(head,$rgb(98,100,97))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(160,66,35))
$puts(text2,$rgb(115,39,23))
$puts(fadeend,$rgb(221,162,88)),
// From Mars to Sirius
$puts(head,$rgb(159,143,127))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(159,143,127))
$puts(text2,$rgb(111,89,66))
$puts(fadeend,$rgb(0,0,0)),
// Voice of Wilderness
$puts(head,$rgb(0,0,4))
$puts(info,$rgb(77,75,63))
$puts(anno,$rgb(77,75,63))
$puts(text1,$rgb(0,0,0))
$puts(text2,$rgb(89,87,71))
$puts(fadeend,$rgb(199,197,181)),
))


// Progress Bar Divider Width (0 yeilds no divider)
$puts(divw,16)

// Progress Bar Divider Character (blank yields no divider)
$puts(divc,)

// Separator
$puts(sepc,–)
$puts(sepw2,$calcwidth($get(sepc)$get(sepc)))
$puts(sep1,$if(%_isplaying%, NOW PLAYING , SELECTED TRACK ))
$puts(sep2, TECH INFO )
$puts(sep3, COMMENT )

$align(center, top)$font(,,shadow,)
$if(%_trackinfo_notrack%,
$align(left,bottom)$font(Uni 05_53,6,shadow,200-200-200)v0.9.4.3
$align(right,bottom)$font(Impact,25,shadow,102-102-85)2000
$align(right,bottom)$font(Candara,14,bold italic shadow,200-200-200)$repeat($char(10),5)foobar$repeat( ,13),

// SONG INFO SEPARATOR
$puts(sepw,$repeat($get(sepc),$sub($div($sub(%_width%,$calcwidth($get(sep1))),$get(sepw2)),1)))
$transition($get(sepw),$get(fadeend),$get(text1))
$get(text2)$get(sep1)
$transition($get(sepw),$get(text1),$get(fadeend))
$char(10)

$if(%title%,$ifgreater($get(cut_width),$len(%title%),,)$get(head)$get(info)%title%$ifgreater($get(cut_width),$len(%title%), ,)$char(10),)
$if(%artist%,$get(head)by$char(10)$ifgreater($get(cut_width),$len(%artist%),,)$get(info)%artist%$ifgreater($get(cut_width),$len(%artist%), ,)$char(10),)
$ifgreater($meta_num(performer),0,$get(info)%performer%$char(10),
$if(%album%,$get(head)track #$get(info)%tracknumber% $get(head)from$char(10)$ifgreater($get(cut_width),$len(%album%),,)$get(info)%album%$ifgreater($get(cut_width),$len(%album%), ,)$if2(%discname%,$get(head)Disc $get(info)%discnumber%)$char(10),)
$if(%genre%,$get(head)$if($strcmp($replace($upper($left(%genre%,1)),A,{},E,{},I,{},O,{}),{}),an,a) $get(info)%genre%$if($or($strcmp(%genre%,Soundtrack),$strcmp(%genre%,Audiobook)),, $get(head)$if(%album%,album,song))$char(10),)
$if(%style%,$get(head)in the style of$char(10)$ifgreater($get(cut_width),$len(%style%),,)$get(info)%style%$ifgreater($get(cut_width),$len(%style%), ,)$char(10),)
$if(%date%,$get(head)released in $get(info)%date%$char(10),))

// TECH INFO SEPARATOR
$puts(sepw,$repeat($get(sepc),$sub($div($sub(%_width%,$calcwidth($get(sep2))),$get(sepw2)),1)))
$transition($get(sepw),$get(fadeend),$get(text1))
$get(text2)$get(sep2)
$transition($get(sepw),$get(text1),$get(fadeend))
$char(10)

// set 4-character filetype
$puts(filetype,$upper(
$if(%__referenced_file%,$cut($ext(%__referenced_file%),4),
$if($stricmp($left(%_path%,4),cdda),CD,$cut($ext(%_path%),4)
))
))

// detect detailed filetype2
$puts(filetype2,$replace($get(filetype),
WAV,[%codec% ]WAVE,
SND,'Next/Sun',
AC3,Dolby Digital,
CD,Audio CD,
MKA,Matroska[ %codec%][ %codec_profile%],
OGG,Ogg[ %codec%][ $get(head)$replace($info(bitrate_nominal),32,Q-2,48,Q-1,64,Q0,80,Q1,96,Q2,112,Q3,128,Q4,160,Q5,192,Q6,224,Q7,256,Q8,320,Q9,500,Q10)],
MP4,MPEG-4[ %codec%][ %codec_profile%],
M4A,MPEG-4[ %codec%][ %codec_profile%],
MP2,MPEG Layer 2,
MP3,[%codec%][ %codec_profile%],
AAC,AAC[ %codec_profile%],
WMA,Window'$' Media Audio,
MPC,Musepack $if(%codec_profile%,$get(head)MPC Profile: $get(info)%codec_profile%),
OFR,OptimFROG,
OFS,OptimFROG DS,
FLA,FLAC,
APE,Monkey''s Audio[ %codec_profile%],
MAC,Monkey''s Audio[ %codec_profile%],
APL,Monkey''s Audio[ %codec_profile%],
WV,WavPack[ %codec_profile%],
SHN,Shorten,
SPX,Speex,
SID,C64 SID-Tune,
MDZ,Soundtracker Module,
S3Z,Screamtracker Module,
ITZ,Impulsetracker Module,
XMZ,Fasttracker II Module,
MO3,Compressed Module,
MOD,Soundtracker Module,
S3M,Screamtracker Module,
XM,Fasttracker II Module,
IT,Impulsetracker Module,
UMX,Unreal Music File,
MTM,Multitracker Module,
TFM,Final Musicsystem
))
$puts(filetype2,$replace($get(filetype2),FLACC,FLAC[ %codec_profile%]))
$get(head)$get(info)[%_time_elapsed%][$if(%_time_elapsed%, $get(head)/$get(info) )%length%]$get(head) @ $get(info)
%__bitrate% $get(head)kb/s $get(info)$get(filetype2)$char(10)

$if(%__samplerate%,$get(head)$get(info)$div(%__samplerate%,1000).$substr(%__samplerate%,3,3) kHz )
$get(head)$get(info)$if($stricmp($codec(),MP3),$get(space2)$caps(%__mp3_stereo_mode%),[$caps(%channels%)])$char(10)
$if(%__bitspersample%,$get(head)Bitdepth: $get(info)%__bitspersample%$char(10),)
$if(%_filesize%,$get(head)$get(info)
$puts(f_size,$add($ifequal(%subsong%,0,$div(%filesize%,1024),$muldiv($info(bitrate),%length_seconds%,8)),5))
$div($get(f_size),1024).$left($right($num($muldiv($get(f_size),1000,1024),4),3),2)$get(head)'MB',)
$get(head) ~ $get(info)$substr($put(ratio,$muldiv($get(uncompressed_bitrate),100,$info(bitrate))),1,$sub($len($get(ratio)),2))
.$substr($get(ratio),$sub($len($get(ratio)),1),$len($get(ratio))):1 $get(head)'('$muldiv($info(bitrate),100,$get(uncompressed_bitrate))$get(head)'%)'$char(10)

// COMMENT INFO SEPARATOR
$if($and(%comment%,$strcmp($get(show_comment),1)),
$puts(sepw,$repeat($get(sepc),$sub($div($sub(%_width%,$calcwidth($get(sep3))),$get(sepw2)),1)))
$transition($get(sepw),$get(fadeend),$get(text1))
$get(text2)$get(sep3)
$transition($get(sepw),$get(text1),$get(fadeend))
$char(10)
$rgb(204,204,204)
$ifgreater($calcwidth(%comment%),%_width%,$alignset()$alignrel(left,),)
$ifgreater($len(%comment%),$get(max_comment_length),$cut(%comment%,$get(max_comment_length))'...',%comment%)
))

The problem is when I put // PerSecond at the beginning of the code so the %_time_elapsed% would update. It simply uses to much CPU. Is there a way to put the // PerSecond somewhere inside the // TECH INFO SEPARATOR? Then the script would only update per second the part that is needed and the CPU usage would drop (i think).

  • alpha
  • [*]
Track Info Panel with ability to change font
Reply #1158
the link for dl the dll of track info panel mod is down  where can i download the dll please

  • Yotsuya
  • [*][*][*][*][*]
Track Info Panel with ability to change font
Reply #1159
This component is no longer being developed. It has been merged into PanelsUI. If you add foo_ui_panels.dll into your foobar you will have "Track Display" panel available in your ColumnsUI configuration even if you do not use PanelUI as your primary interface.

  • Squeller
  • [*][*][*][*][*]
Track Info Panel with ability to change font
Reply #1160
We are in 2008 now, fb2k generates an error message for foo_ui_panels at fb2k start, so, back here again!

I downloaded a foo_uie_trackinfo_mod, from whereever. After a couple of code changes it works, I'm just puzzled about the alignabs things, not sure if this plugin has it.

Is this a japanese product or what is it? Looks this great here:



Code: [Select]
foo_uie_trackinfo_mod.dll (2007-01-05 13:36:20) Track info panel mod 0.8.0 beta [Jan  5 2007 - 13:36:12]

Anyone else?
  • Last Edit: 27 June, 2008, 10:22:25 AM by Squeller

  • ladiko
  • [*][*][*]
Track Info Panel with ability to change font
Reply #1161
same issue here with a version from here:
http://www.hydrogenaudio.org/forums/index....showtopic=64035

fortunately i backuped my "old" english one with the same file creation date:
http://www.2shared.com/file/3560916/3a24ee...ckinfo_mod.html

  • s33m33
  • [*][*][*]
Track Info Panel with ability to change font
Reply #1162
Stuck on 0.9.5.3.

The current path is taking us to DefaultUI by abandoning ColumnsUI/PanelsUI. Lot of sentimental values down the drain

  • Xerion
  • [*][*]
Track Info Panel with ability to change font
Reply #1163
That's bull, ColumnsUI is still supported as well as it ever was. PanelsUI was a bad hack...

  • Squeller
  • [*][*][*][*][*]
Track Info Panel with ability to change font
Reply #1164
fortunately i backuped my "old" english one with the same file creation date:
http://www.2shared.com/file/3560916/3a24ee...ckinfo_mod.html

Oh great, thank you, I'll try that one.

  • s33m33
  • [*][*][*]
Track Info Panel with ability to change font
Reply #1165
Thanks for english version ladiko.
Had to remove some foo_cwb_hooks code to make it function correctly.

Anybody know the code to replace %cwb_next_artist% & %cwb_next_title% ?

  • Zetto
  • [*][*]
Track Info Panel with ability to change font
Reply #1166
Download link with different versions:

http://bbs.pcpchina.com/index.php?showtopic=113645

  • ladiko
  • [*][*][*]
Track Info Panel with ability to change font
Reply #1167
Squeller's component:
foo_uie_trackinfo_mod 0.8.0Beta[Jan 5 2007]

my one
foo_uie_trackinfo_mod 0.8.0Beta[Jan 5 2007]

your one:
foo_uie_trackinfo_mod 0.8.0Beta[Jan 5 2007]

so what's the difference?

  • Zetto
  • [*][*]
Track Info Panel with ability to change font
Reply #1168
between the three you specified? nothing except the language, I think.
I just wanted to provide another download link

With "different version" I meant that there are older versions available, too.

Track Info Panel with ability to change font
Reply #1169
this is my set up, actually its my first attampt to customize foobar and i've kinda learned in the proccess

i did a little animation, all is needed are 6 images: 0-5.png (0-4 for play time, and 5 for no track)

i'll be glad if someone suggests any idea of internal clock (instead of the $mod thing) so skipping in pause mod will not change the animation, i've tried $put and $get but it didn't work.




Code: [Select]
// PerSecond


////PLAYING TIME
$if(
%Playback_time%,
$alignabs(5,$sub(%_height%,50),%_width%,100,,)$font(,11,,98-202-53) Length:$font(,10,,98-202-53) %Playback_time% / %length% $font(,8,,98-202-53)minutes
////

////CIRCLES
$puts(clock,$mod(%playback_time_seconds%,5))
$imageabs($sub(%_width%,400),$sub(%_height%,200),images\$get(clock).png,)
////

)
////

////CODEC+STATIC CIRCLES
$if(
%_trackinfo_notrack%,$imageabs($sub(%_width%,400),$sub(%_height%,200),images\5.png,),
$alignset() $alignrel(left,bottom)$font(,8,,230-40-40)  %bitrate%Kbps %codec%$if($strcmp(?,%codec_profile%),, %codec_profile%) %channels% %samplerate%Hz
)
////


////PROGRESS BAR
$if(
$strcmp(%playback_time_seconds%,0),
,
$drawrect(6,$sub(%_height%,29),$muldiv(%playback_time_seconds%,$sub(%_width%,12),%length_seconds%),13,brushcolor-$add($muldiv(%playback_time_remaining_seconds%,105,%length_seconds%),150)-255-$add($muldiv(%playback_time_remaining_seconds%,105,%length_seconds%),150) penColor-null)
)
$drawrect(5,$sub(%_height%,30),$sub(%_width%,10),15,brushcolor-null pencolor-200-200-200)
////



// PerTrack

$if(
%_trackinfo_notrack%,
$align(center,middle)$font(,24,bold glow-20-100-20,98-202-53) No Track,

////FONT
$font(,13,,98-202-53)
////

////ARTIST
$if($strcmp(?,%artist%),,$alignset() $alignrel(left,top) Artist: %artist%)
////

////TRACK AND NUMBER
$alignset() $alignrel(left,top) Track: %title%
$if($strcmp(?,%tracknumber%),,$alignset() $alignrel(left,top) Number: %tracknumber%)
$if($strcmp(?,%totaltracks%),,$alignrel(left,top)/%totaltracks%)
////

////ALBUM
$if($strcmp(?,%album%),,$alignset() $alignrel(left,top) Album: %album%)
////

////YEAR
$if($strcmp(?,%date%),,$alignset() $alignrel(left,top) Year: %date%)
////

)

//// PAUSED
$alignset() $align(center,middle)$font(,24,bold glow-20-100-20,98-202-53)$if(%_ispaused%,'Paused',)
////

  • ladiko
  • [*][*][*]
Track Info Panel with ability to change font
Reply #1170
looks nice :-)

could you be so nive to also provide the images?

  • (Sly)
  • [*]
Track Info Panel with ability to change font
Reply #1171
Please HELP !!!

Here is the problem:

I wanna display album art per track, i use this script:

Code: [Select]
$if($fileexists($replace(%path%,%filename_ext%,%filename%.jpg)),$imageabs2(%_width%,%_width%,0,$div($sub(%_width%,%_height%),2),0,0,0,0,$replace(%path%,%filename_ext%,%filename%.jpg),NOKEEPASPECT alpha-75),$imageabs2(%_width%,%_width%,0,$div($sub(%_width%,%_height%),2),0,0,0,0,./images/default.jpg,NOKEEPASPECT alpha-75))


$fileexists is working, the problem is with $imageabs

Between as u see file covers are in the same dir as files, same name but jpg extension

Problem solved my files are in a directory named #Singles, it looks like foobar not likes # character
  • Last Edit: 25 July, 2008, 04:13:24 AM by (Sly)
LAME 3.99.5 -V0

  • sune
  • [*][*][*]
Track Info Panel with ability to change font
Reply #1172
Hi. I  have a question about creating a button for sorting. I've been trying to find a way to do it and I hadn't realized track_info_mod does something like it (displaying a menu in which you can choose what you want to sort by). like this:

'SORT:Artist|RESET %artist%:Title|RESET %title%:Length|RESET %_length%'

this gives a menu with 3 options: and you can click one after the other to sort by that order, sequentially, or reset

what I'm wondering is if instead of only one field we can set a longer, adn more complicated string. I tried to just write the string in the code, but when it finds a "|" it makes different option in the menu...which makes sense

I've been trying to achieve this for a long time. I wish there was a way to make custom strings accessible in the menu (skipping the extra dialog), so they could be used with buttons, and other components

If anyone knows how to do this with this (or other) component, It would make my foobar perfect for my needs

thanks

Track Info Panel with ability to change font
Reply #1173
looks nice :-)

could you be so nive to also provide the images?









have fun!
take into consideration that the height is 200 pixels...

Track Info Panel with ability to change font
Reply #1174
I don't know if development is still going on this, but I was just wondering if this could be implemented:

Displayed Track
Automatic
Playing item
Active playlist item
(Like in 'Artwork view')

These would be really handy to refer to. Or is there already a way to do this that I'm missing?

Cheers.
  • Last Edit: 15 August, 2008, 10:53:27 PM by TheChipstar