Ma conf vient d’ici
Je n’ai rien changé au code que voici
[codebox]$puts(space2, )
$puts(space1, )
$if(%_time_total%,Streaming$get(space2))
$if(%__codec%,%__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)),
747474Ratio$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’%'$get(space2),
$if(%__bitrate_dynamic%,%__bitrate_dynamic%$get(space1)747474kbps$get(space2),$if(%__bitrate%,%__bitrate%$get(space1)747474kbps$get(space2),)))
$if(%__channels%,%__channels%$get(space1)747474Channels$get(space2),)
$if(%__samplerate%,%__samplerate%$get(space1)747474Hz,)
$if(%__bitspersample%,$get(space2)%__bitspersample% 747474Bits,)
$if($stricmp(%__codec%,cdda),$if(%__referenced_file%,$if(%_length%,$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%,$get(space2)747474$caps(%__mp3_stereo_mode%)$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_track_gain%,$get(space2)747474TG:$get(space1)
$cut(%__replaygain_track_gain%,5)$get(space1)747474dB,)
$if(%__replaygain_album_gain%,
$get(space2)747474AG:$get(space1)$cut(%__replaygain_album_gain%,5)$get(space1)747474dB,)
$if(%__replaygain_track_peak%,$get(space2)747474Peak:$get(space1)
$cut(%__replaygain_track_peak%,5))
$get(space2)
// PROGRESSBAR
$tab()
$puts(theme,1)
$puts(progress_char,$char(9608))
$puts(progress_length,20)
$if($strcmp($get(theme),1),
$puts(progress_color1,918377)
$puts(progress_color2,918377)
)
// PREPARE COLOR-STRINGS
$puts(progress_color1a,$blend($get(progress_color1),AAAAA,2,4.5))
$puts(progress_color2a,$blend($get(progress_color2),FFFFFF,1,5.7))
$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))
,streaming…
)
)
$if(%_isplaying%,$get(progressbar) ,)
$if(%_time_total%,$if(%_time_total_seconds%,$right($muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%),3)’%’)747474$get(space1)Played$if(%_time_elapsed%,$get(space2)%_time_elapsed%$get(space1)/$get(space1),)$if(%_time_total%,%_time_total%$get(space2),)
)[/codebox]