mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 08:53:37 +00:00
0d9fbc1ad7
This version of SickBeard uses both TVDB and TVRage to search and gather it's series data from allowing you to now have access to and download shows that you couldn't before because of being locked into only what TheTVDB had to offer. Also this edition is based off the code we used in our XEM editon so it does come with scene numbering support as well as all the other features our XEM edition has to offer. Please before using this with your existing database (sickbeard.db) please make a backup copy of it and delete any other database files such as cache.db and failed.db if present, we HIGHLY recommend starting out with no database files at all to make this a fresh start but the choice is at your own risk! Enjoy!
67 lines
2.3 KiB
Cheetah
67 lines
2.3 KiB
Cheetah
#import os.path
|
|
#import sickbeard
|
|
#from sickbeard.common import *
|
|
#set global $title="Existing Show"
|
|
#set global $header="Existing Show"
|
|
|
|
#set global $sbPath="../.."
|
|
|
|
#set global $statpath="../.."#
|
|
#set global $topmenu="home"#
|
|
#import os.path
|
|
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_top.tmpl")
|
|
|
|
<form id="addShowForm" method="post" action="$sbRoot/home/addShows/addNewShow" accept-charset="utf-8">
|
|
|
|
<script type="text/javascript" src="$sbRoot/js/qualityChooser.js?$sbPID"></script>
|
|
<script type="text/javascript" src="$sbRoot/js/addExistingShow.js?$sbPID"></script>
|
|
<script type="text/javascript" src="$sbRoot/js/rootDirs.js?$sbPID"></script>
|
|
<script type="text/javascript" src="$sbRoot/js/addShowOptions.js?$sbPID"></script>
|
|
|
|
<script type="text/javascript" charset="utf-8">
|
|
<!--
|
|
\$(document).ready(function(){
|
|
\$( "#tabs" ).tabs({
|
|
collapsible: true,
|
|
selected: #if $sickbeard.ROOT_DIRS then '-1' else '0'#
|
|
});
|
|
});
|
|
//-->
|
|
</script>
|
|
#if $varExists('header')
|
|
<h1 class="header">$header</h1>
|
|
#else
|
|
<h1 class="title">$title</h1>
|
|
#end if
|
|
|
|
<div id="tabs">
|
|
<ul>
|
|
<li><a href="#tabs-1">Manage Directories</a></li>
|
|
<li><a href="#tabs-2">Customize Options</a></li>
|
|
</ul>
|
|
<div id="tabs-1">
|
|
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_rootDirs.tmpl")
|
|
</div>
|
|
<div id="tabs-2">
|
|
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_addShowOptions.tmpl")
|
|
</div>
|
|
</div>
|
|
<br />
|
|
|
|
<p class="align-left">Sick Beard can add existing shows, using the current options, by using locally stored NFO/XML metadata to eliminate user interaction.<br />
|
|
If you would rather have Sick Beard prompt you to customize each show, then use the checkbox below.</p>
|
|
<br />
|
|
<p class="align-left"><input type="checkbox" name="promptForSettings" id="promptForSettings" /> <label for="promptForSettings">Prompt me to set settings for each show</label></p>
|
|
<br />
|
|
<hr />
|
|
<br />
|
|
<h4>Displaying folders within these directories which aren't already added to Sick Beard:</h4>
|
|
<br />
|
|
<ul id="rootDirStaticList"><li></li></ul>
|
|
|
|
<br />
|
|
<div id="tableDiv"></div>
|
|
<br />
|
|
<input class="btn btn-primary" type="button" value="Submit" id="submitShowDirs" />
|
|
</form>
|
|
#include $os.path.join($sickbeard.PROG_DIR,"gui/slick/interfaces/default/inc_bottom.tmpl")
|