changes nessesary for new music_encoder version.

This commit is contained in:
pablo@pabloalcantara.eti.br
2012-05-16 15:07:32 -03:00
parent 224e19b359
commit c18a9dcdb4
8 changed files with 26 additions and 26 deletions

View File

@@ -327,7 +327,7 @@
<legend>Re-Encoding Options</legend>
<small class="heading"><span style="float: left; margin-right: .3em; margin-top: 4px;" class="ui-icon ui-icon-info"></span>Note: this option requires the lame or ffmpeg encoder</small>
<div class="checkbox row clearfix">
<input type="checkbox" name="encode" id="encode" value="1" ${config['encode']}/><label>Re-encode downloads during postprocessing</label>
<input type="checkbox" name="music_encoder" id="music_encoder" value="1" ${config['music_encoder']}/><label>Re-encode downloads during postprocessing</label>
</div>
<div id="encoderoptions" class="row clearfix checkbox">
<input type="checkbox" name="encoderlossless" value="1" ${config['encoderlossless']}/><label>Only re-encode lossless files (.flac)</label>
@@ -674,7 +674,7 @@
$('#api_key').val(data);
});
});
if ($("#encode").is(":checked"))
if ($("#music_encoder").is(":checked"))
{
$("#encoderoptions").show();
}
@@ -683,8 +683,8 @@
$("#encoderoptions").hide();
}
$("#encode").click(function(){
if ($("#encode").is(":checked"))
$("#music_encoder").click(function(){
if ($("#music_encoder").is(":checked"))
{
$("#encoderoptions").slideDown();
}