Integration of deezloader provider by ParadoxalManiak under CC BY-NC-SA 4.0

Integration of aria2 downloader by Xyne under GPLv2

I'm not responsible of any kind for the usage of this programs by other people.
These integrations come with no warranty.
Please refer to your local country laws and respect Deezer's terms of service.
This commit is contained in:
Kallys
2017-04-24 14:32:51 +02:00
parent 2df13ad823
commit 04e8767ea9
8 changed files with 1722 additions and 20 deletions

View File

@@ -304,6 +304,45 @@
<input type="text" name="usenet_retention" value="${config['usenet_retention']}" size="5">
</div>
</fieldset>
<fieldset title="Method for downloading direct download files.">
<legend>Direct Download</legend>
<input type="radio" name="ddl_downloader" id="ddl_downloader_aria" value="0" ${config['ddl_downloader_aria']}> Aria2
</fieldset>
<fieldset id="ddl_aria_options">
<div class="row">
<label title="Aria2 RPC host, port and path.">
Aria2 Host
</label>
<input type="text" name="aria_host" value="${config['aria_host']}" size="30">
<small>usually http://localhost:6800/jsonrpc</small>
</div>
<div class="row">
<label title="Aria2 RPC username. Leave empty if not applicable.">
Aria2 Username
</label>
<input type="text" name="aria_username" value="${config['aria_username']}" size="20">
</div>
<div class="row">
<label title="Aria2 RPC password. Leave empty if not applicable.">
Aria2 Password
</label>
<input type="password" name="aria_password" value="${config['aria_password'] | h}" size="20">
</div>
<div class="row">
<label title="Aria2 RPC secret key. Leave empty if not applicable.">
Aria2 secret token
</label>
<input type="text" name="aria_token" value="${config['aria_token']}" size="36">
</div>
<div class="row">
<label title="Path to folder where Headphones can find the downloads.">
Music Download Directory:
</label>
<input type="text" name="download_ddl_dir" value="${config['download_ddl_dir']}" size="50">
<small>Full path where ddl client downloads your music, e.g. /Users/name/Downloads/music</small>
</div>
</fieldset>
</td>
<td>
<fieldset title="Method for downloading torrent files.">
@@ -461,6 +500,7 @@
<label>Prefer</label>
<input type="radio" name="prefer_torrents" id="prefer_torrents_0" value="0" ${config['prefer_torrents_0']}>NZBs
<input type="radio" name="prefer_torrents" id="prefer_torrents_1" value="1" ${config['prefer_torrents_1']}>Torrents
<input type="radio" name="prefer_torrents" id="prefer_torrents_3" value="3" ${config['prefer_torrents_3']}>Direct Download
<input type="radio" name="prefer_torrents" id="prefer_torrents_2" value="2" ${config['prefer_torrents_2']}>No Preference
</div>
</fieldset>
@@ -573,6 +613,21 @@
</div>
</div>
</fieldset>
<fieldset>
<legend>Direct Download</legend>
<fieldset>
<div class="row checkbox left">
<input id="use_deezloader" type="checkbox" class="bigcheck" name="use_deezloader" value="1" ${config['use_deezloader']} />
<label for="use_deezloader">
<span class="option">DeezLoader</span>
<small class="heading"><i class="fa fa-info-circle"></i> Note: this option requires <a href="https://pypi.python.org/pypi/pycrypto">pycrypto</a></small>
</label>
</div>
</fieldset>
</fieldset>
</td>
<td>
<fieldset>
@@ -2405,6 +2460,11 @@
$("#deluge_options").show();
}
if ($("#ddl_downloader_aria").is(":checked"))
{
$("#ddl_aria_options").show();
}
$('input[type=radio]').change(function(){
if ($("#preferred_bitrate").is(":checked"))
{
@@ -2458,6 +2518,9 @@
{
$("#torrent_blackhole_options,#utorrent_options,#transmission_options,#qbittorrent_options").fadeOut("fast", function() { $("#deluge_options").fadeIn() });
}
if ($("#ddl_downloader_aria").is(":checked"))
{
}
});
$("#mirror").change(handleNewServerSelection);
@@ -2560,6 +2623,7 @@
initConfigCheckbox("#enable_https");
initConfigCheckbox("#customauth");
initConfigCheckbox("#use_tquattrecentonze");
initConfigCheckbox("#use_deezloader");
$('#twitterStep1').click(function () {