leetl90 Posted June 1, 2005 Share Posted June 1, 2005 I've got a few questions to ask. 1. can someone please help me repair this track info? $puts(info_box_width,34) $puts(default_color,ffffff) $puts(rating_color_1,ffffff) $puts(rating_color_2,042573) $puts(rating_symbol,♫) $puts(is_playing_color,5357EF) $puts(tag_missing_color,575757) $puts(heading_color_l,ffd228) $puts(heading_color_r,000000) $puts(is_playing_color,ffffff) //////////////////////////////// /////// Song Info Code //////////////////////////////// $transition(----- Song Info $repeat(-,$sub($get(info_box_width),5)),$get(heading_color_l),$get(heading_color_r)) $char(10)$get(default_color) $if(%_filename_ext%, $if(%title%,$if(%_isplaying%, $get(is_playing_color)$iflonger(%title%,$get(info_box_width),$cut(%title%,$sub($get(info_box_width),2))...,%title%), $iflonger(%title%,$get(info_box_width),$trim($cut(%title%,$sub($get(info_box_width),3)))...,%title%)), $if(%_isplaying%, $get(is_playing_color)$iflonger(%_filename_ext%,$get(info_box_width),$cut(%_filename_ext%,$sub($get(info_box_width),3))...,%_filename_ext%), $iflonger(%_filename_ext%,$get(info_box_width),$trim($cut(%_filename_ext%,$sub($get(info_box_width),2)))...,%_filename_ext%))), $get(tag_missing_color) no track selected) $char(10)$get(default_color) $if(%_filename_ext%, $if(%artist%, $iflonger(%artist%,$get(info_box_width),$cut(%artist%,$sub($get(info_box_width),2))...,%artist%), $get(tag_missing_color)no artist info) ) $char(10)$get(default_color) $if(%_filename_ext%, $if(%album%, $iflonger(%album%,$get(info_box_width),$cut(%album%,$sub($get(info_box_width),2))...,%album%), $get(tag_missing_color)no album info) ) $char(10)$get(default_color) $if(%_filename_ext%, $if($or(%publisher%.%label%,%date%),$if($or(%publisher%,%label%),? ,)%date%$if($or(%publisher%,%label%),'. ',)[%publisher% ][%label%], $get(tag_missing_color)no date or copyright info) ) $char(10)$get(default_color) $if(%_filename_ext%, $if(%rating%,$get(rating_color_1) $repeat($get(rating_symbol) ,%rating%) $get(rating_color_2)$repeat($get(rating_symbol) ,$sub(5,%rating%)) ,$get(tag_missing_color)$repeat($get(rating_symbol) ,5) ) $get(default_color)$if(%genre%,%genre%,$get(tag_missing_color)no genre) ) $char(10)$char(10) //////////////////////////////// /////// Statistics Code //////////////////////////////// $transition(----- Statistics $repeat(-,$sub($get(info_box_width),5)),$get(heading_color_l),$get(heading_color_r)) $char(10)$get(default_color) $if(%_filename_ext%, $if(%last_played%,$puts(lastplayed,%last_played%), $if(%play_date%,$puts(lastplayed,%play_date%),)) $if($get(lastplayed), $puts(month,$left($get(lastplayed),2)) $puts(day,$substr($get(lastplayed),4,5)) $if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))) $puts(year,$right($get(lastplayed),2)) $puts(month_name,$select($get(month), Jan,Feb,March,April,May,June,July,Aug,Sept,Oct,Nov,Dec)) $if($or($strcmp($get(day),11),$strcmp($get(day),12),$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)))))) $puts(time_of_year,$get(month_name) $get(day)$get(xx) 20$get(year)) $if(%play_counter%,Played $if($strcmp(%play_counter%,1), once$if($get(lastplayed),',')$if($get(lastplayed), on $get(time_of_year)), %play_counter% times$if($get(lastplayed), $char(10)$get(default_color) Last played on $get(time_of_year))),This song has not played before) $ifgreater(%play_counter%,1,,$char(10)) ,$char(10)) $char(10)$char(10) //////////////////////////////// /////// Tech Info Code //////////////////////////////// $transition(----- Tech Info $repeat(-,$sub($get(info_box_width),5)),$get(heading_color_l),$get(heading_color_r)) $char(10)$get(default_color) $if(%_filename_ext%, %__codec% $if(%__bitrate_dynamic%,%__bitrate_dynamic%,%__bitrate%)kbps $if($or($stricmp(%__extrainfo%,vbr),$stricmp($codec(),musepack),$stricmp($codec(),vorbis)),VBR,CBR) $caps($if($stricmp($codec(),MP3),%__mp3_stereo_mode%,$channels())) $char(10)$get(default_color) $if($or(%__replaygain_track_gain%,%__replaygain_album_gain%), ['['Tg']' %__replaygain_track_gain%][ '['Ag']' %__replaygain_album_gain%], $get(tag_missing_color)there is no gain) $char(10)$get(default_color) [%_time_elapsed%/][%_length%][ -%_time_remaining% ] $if(%_isplaying%, $muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%)'%',) $div(%_filesize%,1048576). $left($num($muldiv($mod(%_filesize%,1048576),1000,1048576),3),2)' MB', ) 2. how do i sort the songs automatically each time i startup foobar? everytime i start foobar, the songs are scrambled, and i'll have to select all, right-click, press sort by, and use this sorting criteria: %ARTIST% - %ALBUM% - $num(%TRACKNUMBER%,3) - %TITLE%. is there a way to make it sort automatically? 3. why does the progress bar of this status bar config not showing up? it just displays a blank space in between. $puts(space2, ) $puts(space1, ) $if(%_time_total%,,Streamingc08000$get(space2)) $if(%__codec%,c08000%__codec%$get(space2),) $if($or($stricmp($codec(),FLAC), $stricmp($codec(),Monkey''s Audio), $stricmp($codec(),OptimFROG), $and($stricmp($codec(),WavPack),$stricmp($compression(),lossless)), $stricmp($codec(),Windows Media Audio V9 '('Lossless Mode')'), $stricmp($codec(),Shorten)), 747474Ratioc08000$get(space1)$left($muldiv(%__bitrate%,1000,$if($stricmp(%__samplerate%,48000),1536,1411)),2)'.'$right($muldiv(%__bitrate%,1000,$if($stricmp(%__samplerate%,48000),1536,1411)),1)747474'%'c08000$get(space2), $if(%__bitrate_dynamic%,%__bitrate_dynamic%$get(space1)747474kbpsc08000$get(space2),$if(%__bitrate%,%__bitrate%$get(space1)747474kbpsc08000$get(space2),))) $if(%__channels%,%__channels%$get(space1)747474Channelsc08000$get(space2),) $if(%__samplerate%,c08000%__samplerate%$get(space1)747474Hz,) $if(%__bitspersample%,c08000$get(space2)%__bitspersample% 747474Bitsc08000,) $if($stricmp(%__codec%,cdda),,$if(%__referenced_file%,,$if(%_length%,c08000$get(space2)$if($stricmp($right($div(%_filesize%,1024),3),999),$add($div(%_filesize%,1024000),1)',',$if($stricmp($div(%_filesize%,1024000),0),,$div(%_filesize%,1024000)',')) $right($num($add($right($div(%_filesize%,1024),3),1),3),3)$get(space1)747474KB,))) $get(space2) $if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),747474VBR,747474CBR)) $if(%__mp3_stereo_mode%,c08000$get(space2)747474$caps(%__mp3_stereo_mode%)c08000$get(space2)) $if(%__vorbis_vendor%,747474%__vorbis_vendor%) $if(%__vorbis_version%,$get(space2)747474v%__vorbis_version%,) $if(%__flac_vendor%,747474$caps(%__flac_vendor%),) $if(%__aac_profile%,747474%__aac_profile%) $if(%__mpc_profile%,%__mpc_profile%$get(space2)747474%__mpc_encoder%$get(space2)sv%__mpc_streamversion%,) $if(%__compression%,%__compression%$get(space1)747474Compression$get(space2)$if(%__version%,v%__version%,)) $if(%__mode%,$if(%__speedup%,$caps(%__mode%)$get(space1)747474Compression$get(space2)%__speedup%$get(space2)747474v%__version%,),) $if(%__replaygain_album_gain%,$tab(5),$tab(9)) $if(%__replaygain_track_gain%,$get(space2)747474TG:c08000$get(space1) $cut(%__replaygain_track_gain%,5)$get(space1)747474dB,) $if(%__replaygain_album_gain%, $get(space2)747474AG:c08000$get(space1)$cut(%__replaygain_album_gain%,5)c08000$get(space1)747474dB,) $if(%__replaygain_track_peak%,c08000$get(space2)747474Peak:c08000$get(space1) $cut(%__replaygain_track_peak%,5)) $if(%__replaygain_album_gain%,$tab(4),$tab(5)) c08000$get(space2) $if(%_time_total%,$if(%_time_total_seconds%,$right($muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%),3)'%')747474$get(space1)Played$if(%_time_elapsed%,c08000$get(space2)c08000%_time_elapsed%$get(space2),)$if(%_time_total%,747474c08000%_time_total%c08000$get(space2),) $if(%_time_remaining%,747474%_time_remaining%,),%_time_elapsed%$get(space1)747474Listened) Thanks a lot in advance:)) Link to comment Share on other sites More sharing options...
miscellanea Posted June 1, 2005 Share Posted June 1, 2005 answer to 3rd question : there isn't any code for displaying progress bar. Link to comment Share on other sites More sharing options...
acedriver Posted June 1, 2005 Share Posted June 1, 2005 1. repair what? it works in my foobar.. 2. put the code in preferences > core > "sort incoming files by:" 3. i don't see any code for progress bar.. Link to comment Share on other sites More sharing options...
Phrozty Posted June 1, 2005 Share Posted June 1, 2005 $puts(progress_char,?) $puts(progress_length,20) $if($strcmp($get(theme),1), $puts(progress_color1,$rgb(164,235,12)) $puts(progress_color2,$rgb(54,106,179)) ) $puts(progress_color1a,$blend($get(progress_color1),000000,1,4.5)) $puts(progress_color2a,$blend($get(progress_color2),0000ff,1,5.7)) // progressbar $puts(progressbar, $if(%_length_seconds%, $puts(progress,$muldiv(%_time_elapsed_seconds%,$get(progress_length),%_length_seconds%)) $transition($repeat($get(progress_char),$get(progress)),$get(progress_color1a),$get(progress_color1)) $transition($repeat($get(progress_char),$sub($get(progress_length),$get(progress))),$get(progress_color2a),$get(progress_color2)) $pad_right($muldiv(%_time_elapsed_seconds%,100,%_length_seconds%),3)'%' ,streaming... ) ) //$get(progressbar) I can't remember where I got this --> progress bar from:)) Link to comment Share on other sites More sharing options...
leetl90 Posted June 1, 2005 Share Posted June 1, 2005 1. repair what? it works in my foobar..2. put the code in preferences > core > "sort incoming files by:" 3. i don't see any code for progress bar.. 585998714[/snapback] the last played date is screwed on my foobar Link to comment Share on other sites More sharing options...
acedriver Posted June 1, 2005 Share Posted June 1, 2005 try this code, substitute it into your file info code $if($get(lastplayed), $puts(month,$substr($get(lastplayed),3,4)) $puts(day,$substr($get(lastplayed),1,2)) $if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))) $puts(year,$right($get(lastplayed),2)) $puts(month_name,$select($get(month), Jan,Feb,March,April,May,June,July,Aug,Sept,Oct,Nov,Dec)) $if($or($strcmp($get(day),11),$strcmp($get(day),12),$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)))))) $puts(time_of_year,$get(month_name) $get(day)$get(xx) 20$get(year)) Link to comment Share on other sites More sharing options...
leetl90 Posted June 1, 2005 Share Posted June 1, 2005 thanks for the help. everything got solved :) Link to comment Share on other sites More sharing options...
Strictly4me Posted June 1, 2005 Share Posted June 1, 2005 Small update ... now with Explorer Tree and Playlist Tree. All i need is G.A.N.T! :p ((((( Strictly4me ))))) Link to comment Share on other sites More sharing options...
Dom Posted June 1, 2005 Author Share Posted June 1, 2005 Small update ... now with Explorer Tree and Playlist Tree. All i need is G.A.N.T! :p ((((( Strictly4me ))))) 585999437[/snapback] You got some gantblem... yes a problem... Link to comment Share on other sites More sharing options...
Cream Posted June 1, 2005 Share Posted June 1, 2005 Hey guys! I refomatted my laptop and forgot to backup my plugins... Can anyone direct me to the foob plugin that allows control buttons in the taskbar, with the pop-up notifier and such? The name escapes me and I loved it so :happy: Link to comment Share on other sites More sharing options...
Jexxster Posted June 2, 2005 Share Posted June 2, 2005 Here you go: foobar remote Link to comment Share on other sites More sharing options...
Cream Posted June 2, 2005 Share Posted June 2, 2005 YES!! Thanks much, Jexxster! Link to comment Share on other sites More sharing options...
leetl90 Posted June 2, 2005 Share Posted June 2, 2005 is there any way to sort the tracks by disc number? Link to comment Share on other sites More sharing options...
Phrozty Posted June 3, 2005 Share Posted June 3, 2005 Fear Platinum I-Tunes :) Link to comment Share on other sites More sharing options...
acedriver Posted June 3, 2005 Share Posted June 3, 2005 is there any way to sort the tracks by disc number? 586003947[/snapback] yes there is.. add "Disc" tag, assign 1 for disc 1, 2 for disc 2, etc.. then use this to sort: %artist% - $num(%date%,4) - %album% - %disc% - $num(%tracknumber%,2)) Link to comment Share on other sites More sharing options...
eliazu Posted June 3, 2005 Share Posted June 3, 2005 is there any way to sort the tracks by disc number? 586003947[/snapback] well, wouldnt you want it to be sorted by year? and if it the same year (like concert album) so then by name and then of course cd1 will came before cd2. i use this kind of sort and im very happy with it: $if2(%album artist%,%artist%)$num(%date%,4)%album%$num(%tracknumber%,2) Link to comment Share on other sites More sharing options...
Ran Sagy Posted June 3, 2005 Share Posted June 3, 2005 Too bad those strings dont work for VA albums too (at least for me). Link to comment Share on other sites More sharing options...
leetl90 Posted June 3, 2005 Share Posted June 3, 2005 thanks people :) Link to comment Share on other sites More sharing options...
eliazu Posted June 3, 2005 Share Posted June 3, 2005 Too bad those strings dont work for VA albums too (at least for me). 586009830[/snapback] dude! it works great for VA albums. dont you use %ALBUM ARTIST% tag? use it and it will work perfect. dont use %various%. Link to comment Share on other sites More sharing options...
Ran Sagy Posted June 3, 2005 Share Posted June 3, 2005 Im using the %album artist% tag. Various albums are displayed all over the place (per artist, rather then at the same place just ordered by the track artists). My playlist view is based on the navigator suite, that might be the problem. I did use your string in the "Sort By.." option, and that result is as ive just said. Link to comment Share on other sites More sharing options...
miscellanea Posted June 4, 2005 Share Posted June 4, 2005 how about putting it in "Sort" in Columns tab of Columns UI? Link to comment Share on other sites More sharing options...
Raum Posted June 4, 2005 Share Posted June 4, 2005 Revamped my config. Link to comment Share on other sites More sharing options...
Ran Sagy Posted June 4, 2005 Share Posted June 4, 2005 miscellanea: How does ColumnsUI uses that ? ive put it in the right column, the "Use Custom Sorting Spec" is enabled, and it doesnt change anything in the order. If i order again normally, i get the same result, various artist tracks all over the place. EDIT: ok, when i click on the column header ( i never use these ) it DOES sort it right. Any.. more comfortable way of doing it ? Link to comment Share on other sites More sharing options...
acedriver Posted June 4, 2005 Share Posted June 4, 2005 put the custom sort in preferences > core > sort incoming file by that should sort files you add to foobar.. Link to comment Share on other sites More sharing options...
Ran Sagy Posted June 4, 2005 Share Posted June 4, 2005 Hmm.. Its not the ultimate solution, but that will do i guess (i'd prefer it if i could just press a button to sort it, but the custom sort by doesnt work on a certain column). Thanks everyone. Link to comment Share on other sites More sharing options...
Recommended Posts