Recommended Posts

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:))

$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:))

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))

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)

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.

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 ?

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Wow, imagine you dump hundreds of hours into completing things and unlocking stuff and you lose it all. Back in the day when cheats were built into games, you could at least unlock things again that way without spending hundreds of hours again. But those days are long gone for some reason as no one builds cheats into games anymore. So it's even more painful that studio that's on its 6th installment **** it up so badly.
    • Spotify finally removes the disco ball app icon in the latest update by Ivan Jenic Image: Spotify Spotify has just released an update that removes its now infamous disco ball icon. The update reverts the app icon to the familiar flat green logo after weeks of mixed reactions online. The icon arrived on May 13 as part of the company's 20th anniversary celebration and was always intended to be temporary, though Spotify only confirmed that after the backlash started. The disco ball took the internet by storm, as the reception was split. A vocal group of users called it ugly and disorienting, with some iOS users noting that the 3D glowing effect made the app look like it was stuck mid-update. On the other end, the icon picked up a following of its own. Its retro, three-dimensional look immediately stood out against the flat, minimalist aesthetic that has dominated app design for years. It even started a small movement, spawning what people started calling "discomorphism," a mashup of disco and skeuomorphism. Other brands started posting disco ball versions of their own logos, probably in an effort to ride the wave of memes that flooded the internet during late May. Spotify has had a turbulent relationship with its user base lately. Besides the disco ball icon, which certainly wasn't appreciated by everyone, the company has also received backlash for its willingness to include AI-generated music on its platform. On May 17, Spotify promised the old icon would return “in a few weeks.” And now it looks like that time has finally arrived. So, whether you liked the disco ball or it made you uncomfortable, it’s now gone for good. The next time you update the Spotify app on your phone, the old, flat-design icon will return.
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      PsYcHoKiLLa
      197
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!