mirror of
https://github.com/moparisthebest/SickRage
synced 2024-11-11 11:55:03 -05:00
Added default host:port for each torrent clients.
This commit is contained in:
parent
c62d8f2c79
commit
cbae664ed2
@ -449,7 +449,6 @@
|
|||||||
<input type="text" name="torrent_host" id="torrent_host" value="$sickbeard.TORRENT_HOST" class="form-control input-sm input350" />
|
<input type="text" name="torrent_host" id="torrent_host" value="$sickbeard.TORRENT_HOST" class="form-control input-sm input350" />
|
||||||
<div class="clear-left">
|
<div class="clear-left">
|
||||||
<p id="host_desc_torrent">URL to your torrent client (e.g. http://localhost:8000/)</p>
|
<p id="host_desc_torrent">URL to your torrent client (e.g. http://localhost:8000/)</p>
|
||||||
<p id="host_desc_rtorrent" style="display:none"><b>Note:</b> <i>rTorrent</i> client URLs use e.g. scgi://localhost:5000/</p>
|
|
||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
|
@ -83,6 +83,7 @@ $(document).ready(function(){
|
|||||||
client = 'uTorrent';
|
client = 'uTorrent';
|
||||||
$(torrent_path_option).hide();
|
$(torrent_path_option).hide();
|
||||||
$(torrent_seed_time_option).show();
|
$(torrent_seed_time_option).show();
|
||||||
|
$('#host_desc_torrent').text('URL to your uTorrent client (e.g. http://localhost:8000)');
|
||||||
} else if ('transmission' == selectedProvider){
|
} else if ('transmission' == selectedProvider){
|
||||||
client = 'Transmission';
|
client = 'Transmission';
|
||||||
$(torrent_seed_time_option).show();
|
$(torrent_seed_time_option).show();
|
||||||
@ -90,12 +91,14 @@ $(document).ready(function(){
|
|||||||
$(torrent_label_option).hide();
|
$(torrent_label_option).hide();
|
||||||
$(torrent_label_anime_option).hide();
|
$(torrent_label_anime_option).hide();
|
||||||
$(torrent_rpcurl_option).show();
|
$(torrent_rpcurl_option).show();
|
||||||
|
$('#host_desc_torrent').text('URL to your Transmission client (e.g. http://localhost:9091)');
|
||||||
//$('#directory_title').text(client + directory);
|
//$('#directory_title').text(client + directory);
|
||||||
} else if ('deluge' == selectedProvider){
|
} else if ('deluge' == selectedProvider){
|
||||||
client = 'Deluge';
|
client = 'Deluge';
|
||||||
$(torrent_verify_cert_option).show();
|
$(torrent_verify_cert_option).show();
|
||||||
$(label_warning_deluge).show();
|
$(label_warning_deluge).show();
|
||||||
$(label_anime_warning_deluge).show();
|
$(label_anime_warning_deluge).show();
|
||||||
|
$('#host_desc_torrent').text('URL to your Deluge client (e.g. http://localhost:8112)');
|
||||||
//$('#directory_title').text(client + directory);
|
//$('#directory_title').text(client + directory);
|
||||||
} else if ('download_station' == selectedProvider){
|
} else if ('download_station' == selectedProvider){
|
||||||
client = 'Synology DS';
|
client = 'Synology DS';
|
||||||
@ -103,13 +106,13 @@ $(document).ready(function(){
|
|||||||
$(torrent_label_anime_option).hide();
|
$(torrent_label_anime_option).hide();
|
||||||
$('#torrent_paused_option').hide();
|
$('#torrent_paused_option').hide();
|
||||||
$(torrent_path_option).find('.fileBrowser').hide();
|
$(torrent_path_option).find('.fileBrowser').hide();
|
||||||
|
$('#host_desc_torrent').text('URL to your Synology DS client (e.g. http://localhost:5000)');
|
||||||
//$('#directory_title').text(client + directory);
|
//$('#directory_title').text(client + directory);
|
||||||
$(path_synology).show();
|
$(path_synology).show();
|
||||||
} else if ('rtorrent' == selectedProvider){
|
} else if ('rtorrent' == selectedProvider){
|
||||||
client = 'rTorrent';
|
client = 'rTorrent';
|
||||||
$(host_desc_torrent).hide();
|
|
||||||
$(host_desc_rtorrent).show();
|
|
||||||
$(torrent_paused_option).hide();
|
$(torrent_paused_option).hide();
|
||||||
|
$('#host_desc_torrent').text('URL to your rTorrent client (e.g. scgi://localhost:5000 </br> or https://localhost/rutorrent/plugins/httprpc/action.php)');
|
||||||
//$('#directory_title').text(client + directory);
|
//$('#directory_title').text(client + directory);
|
||||||
}
|
}
|
||||||
$('#host_title').text(client + host);
|
$('#host_title').text(client + host);
|
||||||
|
Loading…
Reference in New Issue
Block a user