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_uie_trackinfo (Read 819217 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

foo_uie_trackinfo

Reply #450
When foobar starts up, trackinfo displays info for the first entry in the playlist instead of the selected song.  Is there any way to correct this or is it a bug?  I'm using trackinfo 0.1.1 with fb2k 0.8.3 and columns ui 0.1.2.

foo_uie_trackinfo

Reply #451
[a href="http://img226.imageshack.us/my.php?image=foobarsidecopy1zf.jpg" target="_blank"]

Critque welcome.

foo_uie_trackinfo

Reply #452
@Nervie

Nice code for Trackinfo.  Can you post it, please?

((((( Strictly4me )))))

foo_uie_trackinfo

Reply #453
Code: [Select]
$puts(left,0000bb$get(neut) )
$puts(right,0000bb $char(10))
$puts(middle, $get(color1))

//Track Information
$char(1)C0080ff┌$repeat(─,11)┐$char(10)
$char(1)C000000Track Information$char(10)
$char(1)C0080ff└$repeat(─,11)┘$char(10)

$char(1)C$get(left)Artist:$get(middle)%Artist%$get(right)
$char(1)C$get(left)Title:$get(middle)$iflonger(%title%,20,$trim($cut(%title%,$sub(23,3)))...,%title%)$get(right)
$char(1)C$get(left)Album:$get(middle)$iflonger(%album%,20,$trim($cut(%album%,$sub(23,3)))...,%album%)$get(right)
$char(1)C$get(left)Date:$get(middle)%date%$get(right)
$char(1)C$get(left)Genre:$get(middle)%genre%$get(right)
$char(10)


I find it very very simple, and probably messy. Like i said, i will be cleaning it up and making use of release.

foo_uie_trackinfo

Reply #454
Nice, but thats not the whole code. I just can see "Track Information". 
Playback Information, Song Rating and Progress i miss!

((((( Strictly4me )))))

foo_uie_trackinfo

Reply #455
 Apologies you said "Track Info" and i thought that is what you wanted.

Would you mind if i cleaned it up like i said i was going to. It just needs a few more touches and its complete. Then its all yours to squish, crunch, scribble over and eventually toss out.

foo_uie_trackinfo

Reply #456
Sorry, i have decided on a new method for creating this panel. But here is as far as i got with the code.

Code: [Select]
//---Characters Config
$puts(neut,000000)
$puts(color1,0080ff)
$puts(left,0000bb$get(neut) )
$puts(right,0000bb $char(10))
$puts(middle, $get(color1))

//---Progress Bar Config
//Desired Length
$puts(len,20)
//Desired Filler (♫, █, Custom)
$puts(a,$get(neut)█)
$puts(b,$get(color1)█$get(neut))

//=======================================
//-----Progress Bar
$puts(pos1,%_time_elapsed_seconds%)
$puts(pos2, %_time_total_seconds%)

//---Day Conversion
$puts(day,$substr(%last_played%,9,10))
$if(%last_played%,
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($strcmp($get(day),13),$puts(xx,th),
$if($strcmp($right($get(day),1),1),$puts(xx,st),
$if($strcmp($right($get(day),1),2),$puts(xx,nd),
$if($strcmp($right($get(day),1),3),$puts(xx,rd),
$puts(xx,th)))))))

// Month Conversion
$puts(month,$substr(%last_played%,6,7))
$puts(month_name,$select($get(month),
January,February,March,April,May,June,July,August,September,October,November,December))

// Year Conversion
$puts(year,$substr(%last_played%,1,4))

// Time Conversion
$puts(hour,$substr(%last_played%,12,13))
$puts(min,$substr(%last_played%,14,16))
$puts(sec,$substr(%last_played%,17,19))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min)$get(sec) $get(yy))


//Track Information
$char(1)C0080ff┌$repeat(─,11)┐$char(10)
$char(1)C000000Track Information$char(10)
$char(1)C0080ff└$repeat(─,11)┘$char(10)

$char(1)C$get(left)Artist:$get(middle)%Artist%$get(right)
$char(1)C$get(left)Title:$get(middle)$iflonger(%title%,20,$trim($cut(%title%,$sub(23,3)))...,%title%)$get(right)
$char(1)C$get(left)Album:$get(middle)$iflonger(%album%,20,$trim($cut(%album%,$sub(23,3)))...,%album%)$get(right)
$char(1)C$get(left)Date:$get(middle)%date%$get(right)
$char(1)C$get(left)Genre:$get(middle)%genre%$get(right)
$char(10)


$if(%last_played%,
//Playback Information
$char(1)C0080ff┌$repeat(─,13)┐$char(10)
$char(1)C000000Playback Information$char(10)
$char(1)C0080ff└$repeat(─,13)┘$char(10)


$char(1)C000000Last played on: 0080ff$get(info)$get(time_of_year)000000 at $char(10)$char(1)C 0080ff$get(time_of_day)$char(10),)
$if(%play_counter%,$char(1)C000000Number of times played: $get(info)0080ff%play_counter%$char(10)
$char(10), )


$if(%rating%,
//Rating
$char(1)C0080ff┌$repeat(─,8)┐$char(10)
$char(1)C000000Song Rating$char(10)
$char(1)C0080ff└$repeat(─,8)┘$char(10)

$puts(r_cl,000000)
$char(1)C$select(%rating%,
0080ff●$get(r_cl)●●●●,
0080ff●●$get(r_cl)●●●,
0080ff●●●$get(r_cl)●●,
0080ff●●●●$get(r_cl)●,
0080ff●●●●●),
$char(10)$char(1)C0000ffYou Have Not Selected A Rating For This$char(10)$char(1)C0000ff Song. )
$char(10)

$if(%_isplaying%,
//Progress Bar
$char(10)
$char(1)C0080ff┌$repeat(─,8)┐$char(10)
$char(1)C000000Progress$char(10)
$char(1)C0080ff└$repeat(─,8)┘$char(10)

$char(1)C000000Percentage $muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%)'%'$char(10)
$char(1)C000000♪│$progress2($get(pos1),$get(pos2),$get(len),$get(b),$get(a))│♪$char(10)
$char(1)C000000%_time_elapsed%/ %_time_total%)



foo_uie_trackinfo

Reply #457
Works fine here, thx! 

((((( Strictly4me )))))

foo_uie_trackinfo

Reply #458
Hi People,

 Heres how my Foobar Now looks. I added entire Foobar and not just Trackinfo because  i use two TrackInfo Panels. Take a look at the image (its animated).

 First frame shows Foobar Trackinfo on the "Playing" song. It shows progress, rating, trackinfo in the left Trackinfo frame. And shows Technical, Playback and Comments in the right panel.

 Second frame shows Foobar Trackinfo on a "Not Playing" song. It shows Trackinfo and a "Need to rate" notice in the ;eft window; if you have rated the track, it will show the rating and if you have not and are on the "Playing" track it will show the Progress bar in the correct position as it usually is. In the left window same as above.

 Third frame is during Stream Playback mode. Left frame shows some information (Until  Foobar allows you to show more Stream related information) and animations of Kirbys <(o.o)> that dance. They go from <(o.o<) to <(o.o)> to (>o.o)> and back again. You can set the amount of kirbys to be displayed.

 I will work on a way to utilize both windows in one, for people who like the look but dont use dual windows. Until then i shall reframe from posting my Code.

[a href=\"http://img225.imageshack.us/my.php?image=foobar0xl.gif\" target=\"_blank\"];;
/////////////
//////////////////////////////////////////////////////

//--=============== Edit This Part Safely

//---General Config
//Color 1 = Artist etc --- $get(color1)
$puts(color1,c0c0c0)
//Color 2 = TAGZ info --- $get(color2)
$puts(color2,ffFFFF)
//Color 3 = ♪ --- $get(color3)
$puts(color3,808080)

//---Progress Bar Config
//Desired Length
$puts(len,20)
//Desired Filler (█)
$puts(a,█)
$puts(b,█)

///---- 2 = Yes 1 =No
//Replace Comments with Animation?
$puts(anim1,2)

//---Stream Config - Comment Animation Config

//Choose animation (1 = Kirby Dancing, 2 = Musical Notes, 3 =Person Dancing )
$puts(animation,3)
//Amount of animations
$puts(amount,1)






//--================= Edit Past Here At Own Risk

//-----Animations
$select($get(animation)
,
$puts(animation,$select($add(1,$mod(%_time_elapsed_seconds%,4)),$get(color1)<'('$get(color2)o.o$get(color1)<')' ,$get(color1)<'('$get(color2)o.o$get(color1)')'>,$get(color1)'('>$get(color2)o.o$get(color1)')>',$get(color1)<'('$get(color2)o.o$get(color1)')'>))
,
$puts(animation,$select($add(1,$mod(%_time_elapsed_seconds%,4)),$get(color2)♪♫♪♬ ,$get(color2)♬♩♫,$get(color2)♫♪♬♪,$get(color2)♫♩,♫♬♪♫♩))
,
$puts(animation,$select($add(1,$mod(%_time_elapsed_seconds%,6)),$get(color1)'|'$get(color2)o$get(color1)'|',$get(color1)'/'$get(color2)o$get(color1)'/',$get(color1)'|'$get(color2)o$get(color1)'|',$get(color1)'\'$get(color2)o$get(color1)'\',$get(color1)'|'$get(color2)o$get(color1)'|',$get(color1)'\'$get(color2)o$get(color1)'/'))
)

//-----Progress Bar
$puts(pos1,%_time_elapsed_seconds%)
$puts(pos2, %_time_total_seconds%)

//---Day Conversion
$puts(day,$substr(%last_played%,9,10))
$if(%last_played%,
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($strcmp($get(day),13),$puts(xx,th),
$if($strcmp($right($get(day),1),1),$puts(xx,st),
$if($strcmp($right($get(day),1),2),$puts(xx,nd),
$if($strcmp($right($get(day),1),3),$puts(xx,rd),
$puts(xx,th)))))))

// Month Conversion
$puts(month,$substr(%last_played%,6,7))
$puts(month_name,$select($get(month),
January,February,March,April,May,June,July,August,September,October,November,December))

// Year Conversion
$puts(year,$substr(%last_played%,1,4))

// Time Conversion
$puts(hour,$substr(%last_played%,12,13))
$puts(min,$substr(%last_played%,14,16))
$puts(sec,$substr(%last_played%,17,19))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min)$get(sec) $get(yy))

//--=================

//--=================

$if(%_length%,
//Song Information
$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Song Information $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$get(color1)∙Artist: $get(color2)$iflonger(%artist%,20,$trim($cut(%artist%,$sub(20,3)))...,%artist%)$repeat( ,7)c0c0c0∙Album: $get(color2)$iflonger(%album%,20,$trim($cut(%album%,$sub(20,3)))...,%album%)$char(10)
$get(color1)∙Track: $get(color2)%title% $get(color1)'('$get(color2)#%tracknumber%$get(color1)')'$char(10)
$get(color1)∙Genre: $get(color2)%genre% $repeat( ,4) $get(color1)∙Date: $get(color2)%date%$char(10)$char(10)

$if(%rating%,
//Rating
$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Rating $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$char(1)C$select(%rating%,
$get(color2)□$get(color1)□□□□,
$get(color2)□□$get(color1)□□□,
$get(color2)□□□$get(color1)□□,
$get(color2)□□□□$get(color1)□,
$get(color2)□□□□ )$char(10)
$char(1)C$get(color1)Song Rated $get(color2)$select(%rating%,One,Two,Three,Four,Five) $get(color1)out of Five$char(10)$char(10)$char(10),$char(10)$get(color1)You Have Not Rated This Song.$char(10)$char(10)$char(10)$char(10))

$if(%_isplaying%,
//Progress Bar
$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Progress Bar $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$char(1)C$get(color3)♪│$progress2($get(pos1),$get(pos2),$get(len),$get(color2)$get(a)$get(color3),$get(color1)$get(b)$get(color3))│♪$char(10)
$char(1)C$get(color2)%_time_elapsed%$get(color1)/$get(color2)%_time_total%$get(color3) $char(10)$char(1)C $get(color1)Progress: $get(color2)$muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%)$get(color1)'%', )$char(10)$char(10)


$if(%_length%,
//Technical Information
$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Technical Information $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$if(%__codec%,$get(color1)∙Codec: $get(color2)%__codec%$repeat( ,4),$get(color1)∙Codec: $get(color2)No Codec$repeat( ,4))
$if(%__flac_vendor%,$get(color1)∙Encoder: $if($stricmp(%__flac_vendor%,reference libFLAC 1.1.2 20050205),FLAC 1.1.2 -8)$char(10),$get(color1)∙Encoder: $get(color2)No Encoder$char(10))
$get(color1)∙Compression: $get(color2)$div(1411,%__bitrate%).$substr($muldiv(1411,100,%__bitrate%),2,3):1 '('$muldiv(%__bitrate%,100,1411)'%)'$char(10)$if(%__samplerate%,$get(color1)∙Samplerate: $get(color2)$div(%__samplerate%,1000).$substr(%__samplerate%,3,3) KHz $char(10))
$get(color1)∙Bitrate: $get(color2)$if2(%__bitrate_dynamic%,%__bitrate%) Kbps $if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),VBR,CBR))$repeat( ,7)$if(%__bitspersample%,$get(color1)∙Bitdepth: $get(color2)%__bitspersample,)$char(10)
$if(%_filesize%,$get(color1)∙Filesize: $get(color2)$div(%_filesize%,1048576).$left($num($muldiv($mod(%_filesize%,1048576),100,1048576),2),2) $get(anno)'MB',)$repeat( ,5)$get(color1)∙Channels: $get(color2)$if(%__channels%,$ifgreater(%__channels%,1,Stereo,Mono),'?')$char(10)$char(10)

$if(%play_counter%,
//Playback Information
$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Playback Information $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$get(color1)∙Times Song Played: $get(color2)%play_counter%$char(10)
$get(color1)∙Last Time Played: $get(color2)$get(time_of_year)$char(10) $get(color1)at $get(color2)$get(time_of_day) , $get(color1)No Playback Information.$char(10)$char(10))$char(10)$char(10)

$select($get(anim1)
,
$if(%comment%,
//Comments
$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Comments $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$get(color1)∙Comments: ffFFFF%comment%, )

,
$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Get Down With Ya Self $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$char(1)C$repeat($get(animation) ,$get(amount))))
,

//Stream Information
$char(10)$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Stream Information $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$get(color1)∙Artist: $get(color2)$iflonger(%artist%,40,$trim($cut(%artist%,$sub(40,3)))...,%artist%)$repeat( ,7)$char(10)
$get(color1)∙Track: $get(color2)%title%$char(10)
$get(color1)∙Listened For $get(color2)%_time_elapsed%
$char(10)$char(10)$char(10)

//Animation
$char(1)C$transition($repeat(─═,2),6c5037,$get(color2))$get(color2) Get Down With Ya Self $transition($repeat(═─,2),$get(color2),6c5037)$char(10)
$char(1)C$repeat($get(animation) ,$get(amount)))


Now, if anyone would like the setup the way i have it. Post.. and ye shall recieve. Laterz ;;

foo_uie_trackinfo

Reply #459
Quote
When foobar starts up, trackinfo displays info for the first entry in the playlist instead of the selected song.  Is there any way to correct this or is it a bug?  I'm using trackinfo 0.1.1 with fb2k 0.8.3 and columns ui 0.1.2.
[{POST_SNAPBACK}][/a]

I took the liberty of inspecting the source and came up with a simple workaround for this issue.  If anyone cares, I uploaded a modified version of foo_uie_trackinfo [a href="http://www.hydrogenaudio.org/forums/index.php?showtopic=40458]here[/url].

 

foo_uie_trackinfo

Reply #460
You should ask Phi before you release that, you know.

Here's my current one:



Code: [Select]
// Original code by necropimp, modified by AstreaEdge, final by KockRoach
// Appearance changed by Habla. Muchas gracias to those above!
// Best viewed with vert pad 10, hor pad 13, line space 2, Segoe UI 7pt font, black background

// !!!!BEGIN USER CONFIGURATION!!!!

// Show Artist? (1 = show, 0 = don't show)
$puts(arts,1)

// Show Album?
$puts(albs,1)

// Show Title?
$puts(tils,1)

// Info Heading Color e.g. "Title:"
$puts(head,$rgb(61,129,193))

// Info Color e.g. "Black Dog"
$puts(info,$rgb(255,255,255))

// Info Annotation Color (e.g. kbps is the annotation)
$puts(anno,$rgb(255,255,255))

// Separator
// the separators (Song,Play,Tech info) will change to a different color if the panel mode is set to Follow cursor.
// change "followcursorcol" to change this color. It is currently set to flash orange.
$puts(followcursorcol,$rgb(200,150,50))
$puts(text2,$rgb(255,255,255))
$puts(text1,$if(%_trackinfo_nowplaying%,$rgb(61,129,193))$if(%_trackinfo_followcursor%,$get(followcursorcol)))
$puts(fadeend,$rgb(0,0,0))
$puts(seplen,83)
$puts(sepchar,'.')

// Set Rating character
$puts(ratingchar,'●●●')

// !!!!END USER CONFIGURATION!!!!

// Day Conversion
$puts(day,$substr(%last_played%,9,10))
$if(%last_played%,
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($strcmp($get(day),13),$puts(xx,th),
$if($strcmp($right($get(day),1),1),$puts(xx,st),
$if($strcmp($right($get(day),1),2),$puts(xx,nd),
$if($strcmp($right($get(day),1),3),$puts(xx,rd),
$puts(xx,th)))))))

// Month Conversion
$puts(month,$substr(%last_played%,6,7))
$puts(month_name,$select($get(month),
Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec))

// Year Conversion
$puts(year,$substr(%last_played%,1,4))

// Time Conversion
$puts(hour,$substr(%last_played%,12,13))
$puts(min,$substr(%last_played%,14,16))
$puts(sec,$substr(%last_played%,17,19))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min)$get(sec) $get(yy))

// SONG INFO SEPARATOR
$transition($repeat($get(sepchar),$get(seplen)),$get(fadeend),$get(text1))$get(text1)'[' $get(text2)S o n g  I n f o $get(text1)']'$char(10)

$if($strcmp(1,$get(tils)),$if(%title%,$get(head)Title: $get(info)%title%$char(10),),)
$if($strcmp(1,$get(arts)),$if(%artist%,$get(head)Artist: $get(info)%artist%$char(10),),)
$if($strcmp(1,$get(albs)),$if(%album%,$get(head)Album: $get(info)%album%$char(10),),)
$if(%date%,$get(head)Year: $get(info)%date%$char(10),)
$if(%tracknumber%,$get(head)Track #: $get(info)%tracknumber%$char(10),)
$if(%genre%,$get(head)Genre: $get(info)%genre%$char(10),)
$if(%rating%,$get(head)Rating: $repeat($get(info)$get(ratingchar),%rating%)
$repeat($rgb(70,70,70)$get(ratingchar),$sub(5,%rating%))$char(10),)

// TECH INFO SEPARATOR
$transition($repeat($get(sepchar),$get(seplen)),$get(fadeend),$get(text1))$get(text1)'[' $get(text2)T e c h  I n f o $get(text1)']'$char(10)

$get(head)Length: $get(info)$if(%_isplaying%,%_time_elapsed%$get(anno)$if(%_length%, / %_length%,)$if(%_length%, / -%_time_remaining%),%_length%)$char(10)
$get(head)Type:$if(%__codec%, $get(info)%__codec%) $get(info)
$if2(%__bitrate_dynamic%,%__bitrate%) $get(anno)Kb/s $if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),VBR,CBR))
$char(10)
$if(%__lame_version%,$get(head)Preset: $get(info)$left(%__lame_version%,4) $right(%__lame_version%,4) [$upper(%__lame_profile%)]$char(10),)
$if(%__flac_vendor%,$get(head)Encoder: $get(info)$if($stricmp(%__flac_vendor%,reference libFLAC 1.1.2 20050205),FLAC 1.1.2 -8)$char(10),)
$if(%__mpc_profile%,$get(head)MPC Profile: $get(info)%__mpc_profile%$char(10),)
$get(head)Compression: $get(info)$div(1411,%__bitrate%).$substr($muldiv(1411,100,%__bitrate%),2,3):1 '('$get(info)$muldiv(%__bitrate%,100,1411)$get(anno)'%)'$char(10)
$get(head)Channels: $get(info)$if($stricmp($codec(),MP3),$get(space2)$caps(%__mp3_stereo_mode%),
$if(%__channels%,$ifgreater(%__channels%,1,Stereo,Mono),'?'))$char(10)
$if(%__bitspersample%,$get(head)Bitdepth: $get(info)%__bitspersample% bits/sample$char(10),)
$if(%__samplerate%,$get(head)Samplerate: $get(info)$div(%__samplerate%,1000).$substr(%__samplerate%,3,3) KHz $char(10))
$if(%_filesize%,$get(head)Filesize: $get(info)
$div(%_filesize%,1048576).$left($num($muldiv($mod(%_filesize%,1048576),100,1048576),2),2) $get(anno)'MB'$char(10),)

$if(%last_played%,
// PLAY STATS SEPARATOR
$transition($repeat($get(sepchar),$get(seplen)),$get(fadeend),$get(text1))$get(text1)'[' $get(text2)P l a y  I n f o $get(text1)']'
$char(10),)

$if(%play_counter%,$get(head)Played $get(info)%play_counter% times$char(10),)
$if(%last_played%,$get(head)Last played on $get(info)$get(time_of_year) at $get(time_of_day)$char(10),)
$get(head)$progress(%_time_elapsed_seconds%,%_time_total_seconds%,52,$get(info)'()',$get(head)'-')
 $get(info)$muldiv(%_time_elapsed_seconds%,100,%_length_seconds%)'%'$char(10)

Question: Why can't the panel update %rating%, %last_played%, and %play_count% on the fly? In Navigator, they update immediately.

foo_uie_trackinfo

Reply #461
Quote
You should ask Phi before you release that, you know.
[a href="index.php?act=findpost&pid=355951"][{POST_SNAPBACK}][/a]

Since Phi hasn't updated this thing in ages, I figured it has been abandoned and didn't think he'd mind.  Besides, I have modified the component description to indicate that it's not an official release.  I can take it off the HA uploads if he objects.

foo_uie_trackinfo

Reply #462
Ok, well, it's up to him.

foo_uie_trackinfo

Reply #463
Quote
Quote
You should ask Phi before you release that, you know.

Since Phi hasn't updated this thing in ages, I figured it has been abandoned and didn't think he'd mind.

Yeah, that's fine.

foo_uie_trackinfo

Reply #464
Nervie,


How do you get TrackInfo to open up in two different panels? Each time I attempt to do this, the already open instance of TrackInfo will close.

foo_uie_trackinfo

Reply #465
Quote
Nervie,


How do you get TrackInfo to open up in two different panels? Each time I attempt to do this, the already open instance of TrackInfo will close.
[a href="index.php?act=findpost&pid=356377"][{POST_SNAPBACK}][/a]



You need to  download a separate Trackinfo panel which has been modified to so asllow it to run separately  while the original Trackinfo panel is running.  The download link is posted in this thread.

foo_uie_trackinfo

Reply #466
http://www.hydrogenaudio.org/forums/index....ndpost&p=301999

Thats the direct post. People were saying that it reacts with the other TrackInfo; but i had no troubles at all. It acted like a completly differnt frame.

On a further not, i got a new WinXP theme; and thus my Foobar is changing to ^^;;

foo_uie_trackinfo

Reply #467
Thanks Nervie

foo_uie_trackinfo

Reply #468
Hey, guys!

I recently spent quite some time on my track info config and thought, sharing would be a good idea. It's especially usefull, if you want to display lots of tech info.


Features
  • Descriptive names for most common codecs. E.g. "ATSC A/52" gets displayed as "Dolby Digital AC3".
  • Detects and shows audio container (Ogg, MP4, Matroska).
  • Support for extended LAME info via modded foo_input_std.dll
  • Displays if VBR or CBR for some codecs. The function is not absolutely reliable, though, because it always assumes VBR vor Vorbis and CBR for AC3.
    Is there a way to reliably detect VBR/CBR for all codecs?
  • Lots of info about codec version etc.
  • Supports a custom 'tech comment tag'.
    If you add a %comment% tag to the file and start it with 'Tech: ' (without quotes but including the space), the tag gets displayed in the TECH INFO section (leaving out 'Tech: '). %Comment% tags without the prefix are shown under TRACK INFO.
    Might break with multiple %comment% tags!


Code: [Select]
a0a0a0
$if(%_trackinfo_nowplaying%,Currently playing song,
$if(%_trackinfo_followcursor%,Selected song))
[Mode: %_trackinfo_dropped%]
$char(10)

$if($and(%_trackinfo_nowplaying%,$not(%_isplaying%)),$char(10)--- Playback stopped ---,
$if($not(%_trackinfo_notrack%),

//===============================================================
$char(10)
800000$char(9642)$char(9642) TRACK INFO $transition($repeat($char(9642),24),800000,FFFFFF)
$char(10)$char(10)

$if($and($not(%artist%),$not(%title%)),
// Display filename, if artist & title tags are missing.
%_filename%,
// Title and artist
%title%[B66931 by %artist%])$char(10)

// If track is from an album:
$if(%album%,B66931from %album%
$if(%tracknumber%,
[B66931 Disc %disc% ]
B66931' (#'$num(%tracknumber%,1)B66931'/'$num(%album tracks%,1)B66931')'
)$char(10))

// Genre and comment
[%genre%$char(10)]
$if($not($stricmp($left(%comment%,6),'Tech: ')),[B66931Comment: %comment%$char(10)])


//===============================================================
$char(10)$char(10)
800000$char(9642)$char(9642) TECH INFO $transition($repeat($char(9642),25),800000,FFFFFF)
$char(10)$char(10)

B66931File size: $div(%_filesize%,1024) KB
$char(10)$char(10)

// Descriptive names for most common codecs
B66931Codec:
$if($stricmp(%__codec%,ATSC A/52),Dolby Digital AC3,
$if($stricmp(%__codec%,MP3),MPEG-1 Audio Layer 3,
$if($stricmp(%__codec%,FLAC),FLAC lossless,
$if($stricmp(%__codec%,AAC),Advanced Audio Coding,
$if($stricmp(%__codec%,PCM),'PCM (Wave)',
$if2(%__codec%,Unknown codec))))))

// Info about container format
$if($or($stricmp($ext(%_filename_ext%),m4a),$stricmp($ext(%_filename_ext%),mp4)),
B66931 in MP4,
$if($stricmp($ext(%_filename_ext%),ogg),
B66931 in  Ogg,
$if($or($stricmp($ext(%_filename_ext%),mka),$stricmp($ext(%_filename_ext%),mkv)),
B66931 in  Matroska
)))

// Name 1ch and 2ch Mono and Stereo, otherwise 'x channels'
$char(10)B66931Channels:
$if($greater(%__channels%,2),%__channels% Channels,
$if($greater(%__channels%,1),Stereo[' ('%__mp3_stereo_mode%')'],
$if($greater(%__channels%,0),Mono,)))$char(10)

// Bitrate, vbr/cbr, samplerate
B66931Quality: %__bitrate% kbit/s', '
$if(%__extrainfo%,%__extrainfo%', ',
$if($strcmp(%__codec%,MP3),'CBR, ',
$if($strcmp(%__codec%,Vorbis),'VBR, ',
$if($strcmp(%__codec%,Musepack),'VBR, ',
$if($strcmp(%__codec%,ATSC A/52),'CBR, ')))))
%__samplerate% Hz[', '%__bitspersample% bit]$char(10)

// Encoder version
[B66931Encoder: %__tool%$char(10)]
[B66931Encoder: %__vorbis_vendor%$char(10)]
[B66931Encoder: %__FLAC_vendor%$char(10)]
[B66931Encoder: Version %__mpc_encoder%$char(10)]

// Special LAME info (requires modded foo_input_std.dll)
$if(%__lame_version%,
B66931Encoder: %__lame_version%
$ifgreater(%__lame_profile_index%,0,
$select(%__lame_profile_index%,
' r3mix'$char(10),
' preset extreme'$char(10),
' preset standard'$char(10),
' preset fast standard'$char(10),
' preset fast extreme'$char(10),
' preset insane'$char(10)
),))

// Special AAC and Musepack info
[B66931AAC profile: %__aac_profile%$char(10)]
[B66931Profile: %__mpc_profile%[  B66931Stream version: %__mpc_streamversion%]$char(10)]

// Support for 'tech' comment field (prefix with 'Tech: ')
$if($stricmp($left(%comment%,6),'Tech: '),
B66931Comment: $substr(%comment%,7,$len(%comment%))$char(10))

// ReplayGain info
$char(10)B66931RG track gain: $if2(%__replaygain_track_gain%,RG not applied)$char(10)
B66931RG album gain: $if2(%__replaygain_album_gain%,RG not applied)
))

Cheers,
Brother John

foo_uie_trackinfo

Reply #469
Nervie i want a copy of your foobar dir

It just looks all to great im still stucked with default look .. :=)

foo_uie_trackinfo

Reply #470
I tried giving my foobar Dir to somebody, but it seemed it erases all my work and they just get all my components. If anyone has a way of sending Foobar in its customized state. I shall see what i can do; but i have already changed my foobar again.

But i can get it off the friend.

foo_uie_trackinfo

Reply #471
Well I would be very greatfull if you would .. its awsome

foo_uie_trackinfo

Reply #472
Quote
I tried giving my foobar Dir to somebody, but it seemed it erases all my work and they just get all my components. If anyone has a way of sending Foobar in its customized state. [a href="index.php?act=findpost&pid=357526"][{POST_SNAPBACK}][/a]

...seems like you have enabled user-profile-support, therefore the foobar-cfg-file is not in your foobar-folder, things get a bit messed up when you only give the foobar-folder away.
Just have a look for you config-file in your user-folder!

foo_uie_trackinfo

Reply #473
I thought that you cannot give someone else your .cfg file as it violates the license.  Unless you get authorization from the developer.

foo_uie_trackinfo

Reply #474
Quote
Quote
I tried giving my foobar Dir to somebody, but it seemed it erases all my work and they just get all my components. If anyone has a way of sending Foobar in its customized state. [a href="index.php?act=findpost&pid=357526"][{POST_SNAPBACK}][/a]

...seems like you have enabled user-profile-support, therefore the foobar-cfg-file is not in your foobar-folder, things get a bit messed up when you only give the foobar-folder away.
Just have a look for you config-file in your user-folder!
[a href="index.php?act=findpost&pid=357552"][{POST_SNAPBACK}][/a]


Okay explain this thourughly. I think your telling me that because i have User Profile support on my XP system, that my Foobar Config is stored in my personal profile folder. But where? I see nothing resembling it.

----

Okay i found it, foobar2000.cfg; this will be my new one. But if i can get my friend to send the one i gave them, then i shall upload - And if its a breach of Copyright, i shall remove it.