Track Info Panel with ability to change font, Split from foo_uie_trackinfo |
![]() ![]() |
Track Info Panel with ability to change font, Split from foo_uie_trackinfo |
Jun 18 2007, 01:45
Post
#1151
|
|
![]() Group: Members Posts: 53 Joined: 23-May 04 Member No.: 14262 |
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? |
|
|
|
Jun 18 2007, 01:50
Post
#1152
|
|
![]() Group: FB2K Moderator Posts: 4321 Joined: 1-November 06 From: Cincinnati Member No.: 37036 |
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 -------------------- "It must be 'Take A Worm For A Walk' week!"
|
|
|
|
Jun 18 2007, 02:09
Post
#1153
|
|
![]() Group: Members Posts: 53 Joined: 23-May 04 Member No.: 14262 |
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. |
|
|
|
Jun 18 2007, 03:29
Post
#1154
|
|
![]() Group: FB2K Moderator Posts: 4321 Joined: 1-November 06 From: Cincinnati Member No.: 37036 |
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. -------------------- "It must be 'Take A Worm For A Walk' week!"
|
|
|
|
Jun 18 2007, 03:37
Post
#1155
|
|
![]() Group: Members Posts: 53 Joined: 23-May 04 Member No.: 14262 |
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. This post has been edited by Scrith: Jun 18 2007, 16:55 |
|
|
|
Jul 7 2007, 04:40
Post
#1156
|
|
|
Group: Members Posts: 123 Joined: 18-October 06 Member No.: 36519 |
hi. I'm having problems with the SORT command. I'm using this, just to try it out:
CODE $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 This post has been edited by sune: Jul 7 2007, 04:41 |
|
|
|
Jul 8 2007, 16:37
Post
#1157
|
|
![]() Group: Members Posts: 23 Joined: 4-October 06 From: Germany Member No.: 35938 |
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? |
|
|
|
Jul 15 2007, 10:30
Post
#1158
|
|
![]() Group: Members Posts: 26 Joined: 7-January 07 Member No.: 39378 |
I've got a little problem with the config that I use:
CODE // 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). |
|
|
|
Aug 2 2007, 10:04
Post
#1159
|
|
|
Group: Members Posts: 1 Joined: 1-August 07 Member No.: 45800 |
the link for dl the dll of track info panel mod is down
|
|
|
|
Aug 4 2007, 01:09
Post
#1160
|
|
![]() Group: Members Posts: 1535 Joined: 8-May 06 Member No.: 30546 |
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.
-------------------- http://www.ubuntu.com
|
|
|
|
Jun 27 2008, 15:17
Post
#1161
|
|
|
Group: Members Posts: 2340 Joined: 28-August 02 Member No.: 3218 |
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 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? This post has been edited by Squeller: Jun 27 2008, 15:22 |
|
|
|
Jul 7 2008, 23:44
Post
#1162
|
|
![]() Group: Members Posts: 103 Joined: 27-June 05 From: Berlin Member No.: 22987 |
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 |
|
|
|
Jul 13 2008, 07:30
Post
#1163
|
|
|
Group: Members Posts: 246 Joined: 4-January 07 Member No.: 39305 |
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 |
|
|
|
Jul 13 2008, 09:02
Post
#1164
|
|
![]() Group: Members Posts: 66 Joined: 17-November 04 Member No.: 18177 |
That's bull, ColumnsUI is still supported as well as it ever was. PanelsUI was a bad hack...
|
|
|
|
Jul 13 2008, 15:45
Post
#1165
|
|
|
Group: Members Posts: 2340 Joined: 28-August 02 Member No.: 3218 |
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. |
|
|
|
Jul 13 2008, 17:10
Post
#1166
|
|
|
Group: Members Posts: 246 Joined: 4-January 07 Member No.: 39305 |
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% ? |
|
|
|
Jul 15 2008, 13:47
Post
#1167
|
|
![]() Group: Members Posts: 55 Joined: 6-October 06 Member No.: 36035 |
|
|
|
|
Jul 15 2008, 15:26
Post
#1168
|
|
![]() Group: Members Posts: 103 Joined: 27-June 05 From: Berlin Member No.: 22987 |
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? |
|
|
|
Jul 15 2008, 15:36
Post
#1169
|
|
![]() Group: Members Posts: 55 Joined: 6-October 06 Member No.: 36035 |
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. |
|
|
|
Jul 24 2008, 23:44
Post
#1170
|
|
|
Group: Members Posts: 2 Joined: 18-July 08 Member No.: 55941 |
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 // 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',) //// |
|
|
|
Jul 25 2008, 08:38
Post
#1171
|
|
![]() Group: Members Posts: 103 Joined: 27-June 05 From: Berlin Member No.: 22987 |
looks nice :-)
could you be so nive to also provide the images? |
|
|
|
Jul 25 2008, 09:13
Post
#1172
|
|
![]() Group: Members Posts: 35 Joined: 15-April 06 Member No.: 29585 |
Please HELP !!!
Here is the problem: I wanna display album art per track, i use this script: CODE $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 This post has been edited by (Sly): Jul 25 2008, 09:13 -------------------- LAME 3.99.5 -V0
|
|
|
|
Jul 25 2008, 11:40
Post
#1173
|
|
|
Group: Members Posts: 123 Joined: 18-October 06 Member No.: 36519 |
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 |
|
|
|
Jul 25 2008, 13:47
Post
#1174
|
|
|
Group: Members Posts: 2 Joined: 18-July 08 Member No.: 55941 |
|
|
|
|
Aug 16 2008, 03:52
Post
#1175
|
|
![]() Group: Members Posts: 54 Joined: 21-June 06 Member No.: 32071 |
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. This post has been edited by TheChipstar: Aug 16 2008, 03:53 |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 13:03 |