$('#totalTime').append(format_time($('length',data).text()));
$('#currentTime').append(format_time($('time',data).text()));
$('#seekSlider').slider({value: toFloat($('position',data).text()) * 100 });
- $('#currentVolume').append(Math.round($('volume',data).text()/5.12)+'%');
+ $('#currentVolume').append(Math.round($('volume',data).text()/2.56)+'%');
$('#volumeSlider').slider({value: ($('volume',data).text()/5.12) });
$('#rateSlider').slider({value: ($('rate',data).text()) });
$('#currentRate').append(Math.round($('rate',data).text()*100)/100+'x');
min: 0,
max: 100,
stop: function( event, ui ) {
- $( "#currentVolume" ).empty().append( ui.value+"%" );
+ $( "#currentVolume" ).empty().append( ui.value * 2 +"%" );
sendCommand({
'command':'volume',
'val':Math.round(ui.value*5.12)