Added Codec conversion for WavPack DSD shown as "WavPack" to "DSD64" "DSD128" etc
It was not fair not to add 48 kHz support.
Default UI status bar:
$if($stricmp(%codec%,WavPack),$ifgreater(2,%__bitspersample%,DSD$div(%__samplerate%,$ifgreater(0,$mod(%__samplerate%,44100),48000,44100)),%codec%),%codec%) | $ifgreater(%__samplerate%,999999,[$div(%__samplerate%,1000000).[$substr($mod(%__samplerate%,1000000),0,1)]] MHz,$ifgreater(%__samplerate%,999,[$div(%__samplerate%,1000).[$substr($mod(%__samplerate%,1000),0,1)]] KHz,))$ifgreater(1000,%__samplerate%,%__samplerate Hz,) | $if($strcmp(%__encoding%,lossy),%bitrate% kbps |,$ifgreater(%__bitspersample%,0,%__bitspersample% bit |,)) $if($stricmp(%channels%,stereo),Stereo,%channels%) | %playback_time%[ / %length%]
Columns UI, Playlist View, Columns, Codec (Custom)
[$if($stricmp(%codec%,WavPack),$ifgreater(2,%__bitspersample%,DSD$div(%__samplerate%,$ifgreater(0,$mod(%__samplerate%,44100),48000,44100)),%codec%),%codec%) $ifgreater(%__samplerate%,999999,[$div(%__samplerate%,1000000).[$substr($mod(%__samplerate%,1000000),0,1)]] MHz,$ifgreater(%__samplerate%,999,[$div(%__samplerate%,1000).[$substr($mod(%__samplerate%,1000),0,1)]] KHz,))$ifgreater(1000,%__samplerate%,%__samplerate Hz,)$ifgreater(%__bitspersample%,0, %__bitspersample% bit,)$if($strcmp(%__encoding%,lossy), %bitrate% kbps) $if($stricmp(%channels%,stereo),2ch,%channels%) ]
Columns UI, Status Pane
%artist% – %title%
$crlf()
$if($stricmp(%codec%,WavPack),$ifgreater(2,%__bitspersample%,DSD$div(%__samplerate%,$ifgreater(0,$mod(%__samplerate%,44100),48000,44100)),%codec%),%codec%) | $ifgreater(%__samplerate%,999999,[$div(%__samplerate%,1000000).[$substr($mod(%__samplerate%,1000000),0,1)]] MHz,$ifgreater(%__samplerate%,999,[$div(%__samplerate%,1000).[$substr($mod(%__samplerate%,1000),0,1)]] KHz,))$ifgreater(1000,%__samplerate%,%__samplerate Hz,) | $if($strcmp(%__encoding%,lossy),%bitrate% kbps |,$ifgreater(%__bitspersample%,0,%__bitspersample% bit |,)) $if($stricmp(%channels%,stereo),Stereo,%channels%) | %playback_time%[ / %length%]