foo_uie_trackinfo, now-playing/selected-item panel |
![]() ![]() |
foo_uie_trackinfo, now-playing/selected-item panel |
Oct 15 2006, 06:52
Post
#951
|
|
![]() Group: Members Posts: 1535 Joined: 8-May 06 Member No.: 30546 |
wrstarr:
$info(extrainfo) was crippled a few versions ago. instead try using $info(codec_profile) like this: $if($strstr($lower($info(codec_profile)),vbr),VBR,CBR) Though it doesnt seem to work for everything, if anyone else has a better suggestion please post. -------------------- http://www.ubuntu.com
|
|
|
|
Oct 15 2006, 08:03
Post
#952
|
|
![]() Group: Members Posts: 291 Joined: 29-May 04 Member No.: 14390 |
I use this
$if($strstr($lower($info(codec_profile)),vbr),VBR,%codec_profile%) -------------------- http://www.last.fm/user/acedriver
|
|
|
|
Oct 15 2006, 08:28
Post
#953
|
|
|
Group: Members Posts: 550 Joined: 24-April 03 From: Italy Member No.: 6159 |
|
|
|
|
Oct 15 2006, 08:31
Post
#954
|
|
![]() Group: Members Posts: 559 Joined: 13-April 06 Member No.: 29483 |
I use this %codec_profile% alone should be enough, or am I missing something?$if($strstr($lower($info(codec_profile)),vbr),VBR,%codec_profile%) Alessandro Only mp3's have that field,other formats don't have it,so it should be enough only for mp3's for other formats you'll need to figure it out. This post has been edited by Russell777: Oct 15 2006, 08:32 -------------------- Favourite artist:CD-R
Favourite album:700MB |
|
|
|
Oct 15 2006, 08:47
Post
#955
|
|
|
Group: Members Posts: 550 Joined: 24-April 03 From: Italy Member No.: 6159 |
Russel,
thank you for your answer. Indeed I'm only using MP3s, but that formula doesn't seem to me sufficient/appropriate for all other formats. What do you think? Alessandro |
|
|
|
Oct 15 2006, 09:23
Post
#956
|
|
![]() Group: Members Posts: 291 Joined: 29-May 04 Member No.: 14390 |
I use this %codec_profile% alone should be enough, or am I missing something?$if($strstr($lower($info(codec_profile)),vbr),VBR,%codec_profile%) Alessandro Only mp3's have that field,other formats don't have it,so it should be enough only for mp3's for other formats you'll need to figure it out. musepack has it too -------------------- http://www.last.fm/user/acedriver
|
|
|
|
Oct 15 2006, 09:47
Post
#957
|
|
![]() Group: Members Posts: 559 Joined: 13-April 06 Member No.: 29483 |
musepack has it too Right,but it only states the encoding quality. -------------------- Favourite artist:CD-R
Favourite album:700MB |
|
|
|
Oct 15 2006, 16:26
Post
#958
|
|
|
Group: Members Posts: 4 Joined: 6-June 06 Member No.: 31538 |
Thank you for all the quick responeses.. the suggestions work great
|
|
|
|
Oct 17 2006, 21:07
Post
#959
|
|
|
Group: Members Posts: 5 Joined: 7-August 05 Member No.: 23765 |
Is it possible to add an option to enable scroll bar?
|
|
|
|
Dec 8 2006, 15:35
Post
#960
|
|
|
Group: Members Posts: 525 Joined: 1-January 05 From: Boston Member No.: 18762 |
Does anybody know if this is still being developed?
|
|
|
|
Dec 8 2006, 15:38
Post
#961
|
|
|
Group: Members Posts: 257 Joined: 27-September 05 Member No.: 24739 |
not sure but check out track info mod:
http://www.hydrogenaudio.org/forums/index....showtopic=47044 its basically the same but much more advanced with colours images etc etc |
|
|
|
Feb 16 2007, 21:03
Post
#962
|
|
|
Group: Members Posts: 3 Joined: 8-February 07 Member No.: 40441 |
Hello Guys.What code is it if i want to display in my track info panel the album full length,not only the track played and remaining length?
This post has been edited by Hammered: Feb 16 2007, 23:50 |
|
|
|
Apr 16 2007, 02:02
Post
#963
|
|
|
Group: Members Posts: 7 Joined: 9-April 07 Member No.: 42363 |
You should ask Phi before you release that, you know. Here's my current one: ![]() CODE // 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. Hi, I am new to Foobar2000 (since today!) and I am trying to get this code working. It displays nothing. If I use the code of kockroach then it works fine. But this mod of Habla is not working for me (Nothing gets shown in the box). Anyone a hint for me, how to fix this? Would really appreciate, as I like this skin Thanks in advance. |
|
|
|
Apr 29 2007, 21:47
Post
#964
|
|
|
Group: Members Posts: 83 Joined: 20-January 03 From: Atlanta, GA Member No.: 4656 |
I like the sample shown in Post #478. However, I am not a coder and can't figure out any of the coding. I cut and pasted the code and it shows up the way it should in the Track Info Mod box. However, I can't get the progress bar to change or length of song remaining to change. All the items that are suppose to change as the song progresses remain static. How do I fix this?
Please forgive my ignorance. John |
|
|
|
Apr 30 2007, 20:51
Post
#965
|
|
![]() Group: Members Posts: 77 Joined: 30-April 07 Member No.: 43066 |
Forget it...
Wrong forum... Good move for my first post here i think. This post has been edited by cristox: Apr 30 2007, 21:05 |
|
|
|
Jun 14 2007, 19:29
Post
#966
|
|
|
Group: Members Posts: 119 Joined: 2-February 06 Member No.: 27497 |
i need help
i use this code CODE $if(%_trackinfo_notrack%,$char(10)$tab()no track, $upper([%artist% $rgb(128,128,128)/ ]$rgb(52,101,164) $if($and($strstr(%genre%,Classical),$not($strcmp(%album%,%title%))), [%album%: ] $select(%tracknumber%,I,II,III,IV,V,VI,VII,VIII,IX,X,XI,XII,XIII,XIV,XV,XVI,XVII,XVIII,XIX,XX,XXI,XXII,XXIII,XXIV,XXV,XXV I,XXVII,XXVIII,XXIX,XXX). ) [%title%]) $tab() [- %playback_time_remaining% / ][%length%]$char(10) $rgb(185,185,185)$if2([%performer%],[])$tab() $rgb(70,70,70)[%codec% ][%bitrate% Kb/s ]) i don't need the part showing codec & bitrate anymore, can somebody please remove it ? thanks |
|
|
|
Jun 15 2007, 04:46
Post
#967
|
|
|
Group: Members Posts: 7 Joined: 5-June 07 Member No.: 44085 |
uh, just delete the last line? up to the ) ?
|
|
|
|
Jun 15 2007, 13:12
Post
#968
|
|
|
Group: Members Posts: 119 Joined: 2-February 06 Member No.: 27497 |
i already tried that, after i do that everything disappears ...
|
|
|
|
Jun 15 2007, 13:44
Post
#969
|
|
![]() Group: FB2K Moderator Posts: 4321 Joined: 1-November 06 From: Cincinnati Member No.: 37036 |
i need help i don't need the part showing codec & bitrate anymore, can somebody please remove it CODE $if(%_trackinfo_notrack%,$char(10)$tab()no track,
$upper([%artist% $rgb(128,128,128)/ ]$rgb(52,101,164) $if($and($strstr(%genre%,Classical),$not($strcmp(%album%,%title%))), [%album%: ] $select(%tracknumber%,I,II,III,IV,V,VI,VII,VIII,IX,X,XI,XII,XIII,XIV,XV,XVI,XVII,XVIII,XIX,XX,XXI,XXII,XXIII,XXIV,XXV,XXV I,XXVII,XXVIII,XXIX,XXX). ) [%title%]) $tab() [- %playback_time_remaining% / ][%length%]$char(10) $rgb(185,185,185)$if2([%performer%],[])$tab() $rgb(70,70,70)) -------------------- "It must be 'Take A Worm For A Walk' week!"
|
|
|
|
Jun 15 2007, 15:48
Post
#970
|
|
|
Group: Members Posts: 119 Joined: 2-February 06 Member No.: 27497 |
thank you sooo much shakey snake
|
|
|
|
Jun 15 2007, 18:47
Post
#971
|
|
![]() Group: Members Posts: 89 Joined: 16-October 06 Member No.: 36419 |
Don't know if this is the right place but here goes....
I'm trying to have a frame surround my album art. I have it working for when the window is maximised but if i restore the window the alb art shrinks with a awful border of nothing around it. I will post the code but it's off at the moment because every time I try to edit it now panels crashes. I have my window split in two with the track display on the left I want it in the centre of that. CODE $imageabs2($sub(%_width%,180),$sub(%_width%,180),,,,,$sub(%_width%,20),87,$getpvar(MyCoverPath),NOKEEPASPECT) $imageabs2($sub(%_width%,20),$sub(%_width%,20),,,,,12,5,D:\Ohhh Two\black frame.png,NOKEEPASPECT) How would i determine where the inside top left corner would be? <= that is what i really need to know. Panels would crash when i would try to change $sub(%_width%,20) of the alb art line. I know one of you can help PLEASE. -------------------- I love π
|
|
|
|
Jun 15 2007, 20:17
Post
#972
|
|
![]() Group: FB2K Moderator Posts: 4321 Joined: 1-November 06 From: Cincinnati Member No.: 37036 |
Don't know if this is the right place but here goes.... Your code has nothing to do with the plugin foo_uie_trackinfoYour code applies to PanelsUI or the now defunct trackinfo_mod So, If you need help you can create your own thread here in the 3rd Party Plugins section Read the wiki if you haven't already. This post has been edited by shakey_snake: Jun 15 2007, 20:27 -------------------- "It must be 'Take A Worm For A Walk' week!"
|
|
|
|
Jun 16 2007, 01:20
Post
#973
|
|
![]() Group: Members Posts: 89 Joined: 16-October 06 Member No.: 36419 |
Don't know if this is the right place but here goes.... Your code applies to PanelsUI or the now defunct trackinfo_mod So, If you need help you can create your own thread here in the 3rd Party Plugins section Read the wiki if you haven't already. OK my bad sorry Ill go post it elsewhere. I have read the wiki, iread all the time just don't know which bit is wrong. -------------------- I love π
|
|
|
|
Sep 29 2007, 12:36
Post
#974
|
|
|
Group: Members Posts: 85 Joined: 5-May 07 Member No.: 43211 |
The link to the dll is now dead. Is there a better way to display track info in a ColumnsUI config other than this, or a newer component that I am not aware of?
I know this is old, but I want the information like this screenshot of this old config by brumal: http://img89.imageshack.us/my.php?image=br...81720064fo7.png Cheers, I've tried to read the wikis but I don't quite understand them |
|
|
|
Sep 29 2007, 12:45
Post
#975
|
|
|
Group: Members Posts: 401 Joined: 7-January 04 Member No.: 11023 |
This component is now integrated in Panels UI, that's what you need.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 08:04 |