User Tools

Site Tools


columns_ui:config:status_bar

This is an old revision of the document!


Configuration: Status bar

Status bar

Show status bar

Show the status bar in the main window.

Show volume

Show the volume in the status bar.

Show selected tracks' length

Shows the total length of the active playlist's selected tracks in the status bar.

Action to perform when double clicking on the status bar

The menu item action to perform when double clicking on the main part of the status bar Сценарий по умолчанию для отображения строки статуса (Status bar) во время воспроизведения.

ЦВЕТА $puts(color_scheme,0) $if($strcmp(0,$get(color_scheme)), $puts(black,$rgb(0,0,0)) $puts(blue,$rgb(0,60,119)) $puts(green,$rgb(0,47,0)) $puts(grey,$rgb(63,63,63)) $puts(grey2,$rgb(97,97,97)) $puts(grey3,$rgb(192,192,192)) $puts(brown,$rgb(52,0,0)) $puts(brown2,$rgb(100,0,0)) $puts(logo,$rgb(83,83,83)) $puts(progbar,$rgb(152,152,152)) $puts(progbar2,$rgb(0,60,119)) $puts(progbar3,$rgb(195,195,195)) $puts(progbar4,$rgb(75,75,75))) ЛЕВАЯ ЧАСТЬ STATUS BAR Кодек $get(logo)'1)'$get(black) $if($strcmp(%codec%,'ATSC A/52'),' Dolby Digital AC3', $if($info(lame_version),' Lame MP3', $if($strcmp(%codec%,'CDDA'),' CDDA (.cda)', $if($strcmp(%codec%,'FLAC'),' FLAC lossless', $if($strcmp(%codec%,'PCM'),' PCM uncompressed', %codec%))))) Кодек (способ кодирования) $if($stricmp($codec(),mp3),'('$get(grey)$get(profile)$left($info(codec_profile),8)$get(black)')',$get(grey2)'['…']')

$get(grey3) |

Вычисление [битрейта] файла для подстановки… $puts(bitrate,$if(%bitrate%,%bitrate%,)) Битрейт $get(blue)$get(bitrate) Kbps

Вычисление [частоты] файла для подстановки… $puts(samplerated,$if(%samplerate%,$div(%samplerate%,1000)'.'$div($mod(%samplerate%,1000),100),)) Частота $rgb()$get(samplerated) kHz

Вычисление [сжатия] файла для подстановки… $puts(compressed,$left($muldiv(%bitrate%,10000,1411),$sub($len($muldiv(%bitrate%,10000,1411)),2))'.'$right($muldiv(%bitrate%,10000,1411),1)) Сжатие [канал(ы)] кол-во $rgb()$get(grey)$get(compressed)'%' $get(black) '['$get(grey2)%channels%$get(black)']'' '$get(grey3)| $get(black)$get(|)%channels%' '$ifgreater(%channels%,1, 'Канала ('$get(grey2)'ов'$get(black)')','Канал') $get(grey3) | Прогрессбар воспроизведения $get(progbar) '['$get(black)$progress2(%playback_time_seconds%,%_length_seconds%,12,$get(progbar2)'●',$get(progbar3)'●')$get(progbar)']'$get(black) Прогрессбар воспроизведения:[Процент %] $get(progbar4) $pad_right($muldiv(%playback_time_seconds%,100,%length_seconds%),3)'%' $get(progbar4) $pad_right(%playback_time_seconds%) $get(grey3) | ReplayGain:[TrackGain] $get(black)TGain: $get(grey)$if2(%replaygain_track_gain%,$get(grey2)'n/a') $get(grey3) | ReplayGain:[AlbumGain] $get(black)AGain: $get(grey)$if2(%replaygain_album_gain%,$get(grey2)'n/a') $get(grey3) | Размер файла [на диске] $get(black)Размер '['$get(green)на диске$get(black)']': $get(brown) $div(%_filesize%,1048576)','$num($div($mul($mod(%_filesize%,1048576),100),1048576),2) Мб) $if(%filesize%,$if($stricmp(cue,$ext(%filename_ext%)),$ifgreater(120,%length_seconds%,$if(%bitrate%,$mul($div(%bitrate%,8),%length_seconds%)','$cut($num($mod($mul(%bitrate%,8),%length_seconds%),1),1))$if(%filesize%, Кб),$if(%bitrate%,$div($mul($div(%bitrate%,8),%length_seconds%),1024)','$cut($num($mod($mul($div(%__bitrate%,8),%length_seconds%),1048),3),2))$if(%_filesize%, Мб)),$ifgreater(1022976,%filesize%,$if(%_filesize%,$div(%_filesize%,1024)','$cut($num($mod(%_filesize%,1024),3),1)$if(%filesize%, Кб)),$if(%_filesize%,$div(%_filesize%,1048576)','$cut($num($mod(%_filesize%,1048576),6),2),)$if(%_filesize%, Мб))),) ПРАВАЯ ЧАСТЬ STATUS BAR Если нажата кнопка 'Пауза' $tab() $if(%ispaused%,$get(brown2)$if(%length%,'ПАУЗА','СТОП'), $get(brown2)$if(%length%,'ПАУЗА','СТОП'))

1)
columns_ui/config/status_bar.1285091477.txt.gz · Last modified: 2010/09/21 17:51 by 91.202.130.148