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
+4 -4
View File
@@ -490,7 +490,7 @@
</div>
<h2>Re-Encoding Options:</h2>
<p>
<input class="styled" type="checkbox" name="encode" id="encode" value="1" ${config['encode']} />
<input class="styled" type="checkbox" name="music_encoder" id="music_encoder" value="1" ${config['music_encoder']} />
Re-encode downloads during postprocessing
</p>
<div id="encoderoptions">
@@ -738,7 +738,7 @@
$('#api_key').val(data);
});
});
if ($("#encode").is(":checked"))
if ($("#music_encoder").is(":checked"))
{
$("#encoderoptions").show();
}
@@ -747,8 +747,8 @@
$("#encoderoptions").hide();
}
$("#encode").click(function(){
if ($("#encode").is(":checked"))
$("#music_encoder").click(function(){
if ($("#music_encoder").is(":checked"))
{
$("#encoderoptions").show("fast");
}
+4 -4
View File
@@ -349,7 +349,7 @@
<h2>Re-Encoding Options:</h2>
<i class="smalltext">Note: this option requires the lame or ffmpeg encoder</i>
<br><br>
<h3><input type="checkbox" name="encode" id="encode" value="1" ${config['encode']}/> Re-encode downloads during postprocessing</h3>
<h3><input type="checkbox" name="music_encoder" id="music_encoder" value="1" ${config['music_encoder']}/> Re-encode downloads during postprocessing</h3>
<br>
<div id="encoderoptions">
<h4><input type="checkbox" name="encoderlossless" value="1" ${config['encoderlossless']}/> Only re-encode lossless files (.flac)</h4>
@@ -580,7 +580,7 @@
$('#api_key').val(data);
});
});
if ($("#encode").is(":checked"))
if ($("#music_encoder").is(":checked"))
{
$("#encoderoptions").show();
}
@@ -589,8 +589,8 @@
$("#encoderoptions").hide();
}
$("#encode").click(function(){
if ($("#encode").is(":checked"))
$("#music_encoder").click(function(){
if ($("#music_encoder").is(":checked"))
{
$("#encoderoptions").show("fast");
}
+4 -4
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();
}
+4 -4
View File
@@ -349,7 +349,7 @@
<h2>Re-Encoding Options:</h2>
<i class="smalltext">Note: this option requires the lame or ffmpeg encoder</i>
<br><br>
<h3><input type="checkbox" name="encode" id="encode" value="1" ${config['encode']}/> Re-encode downloads during postprocessing</h3>
<h3><input type="checkbox" name="music_encoder" id="music_encoder" value="1" ${config['music_encoder']}/> Re-encode downloads during postprocessing</h3>
<br>
<div id="encoderoptions">
<h4><input type="checkbox" name="encoderlossless" value="1" ${config['encoderlossless']}/> Only re-encode lossless files (.flac)</h4>
@@ -580,7 +580,7 @@
$('#api_key').val(data);
});
});
if ($("#encode").is(":checked"))
if ($("#music_encoder").is(":checked"))
{
$("#encoderoptions").show();
}
@@ -589,8 +589,8 @@
$("#encoderoptions").hide();
}
$("#encode").click(function(){
if ($("#encode").is(":checked"))
$("#music_encoder").click(function(){
if ($("#music_encoder").is(":checked"))
{
$("#encoderoptions").show("fast");
}