mirror of
https://github.com/moparisthebest/SickRage
synced 2024-12-13 11:32:20 -05: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!
92 lines
3.6 KiB
Cheetah
92 lines
3.6 KiB
Cheetah
#import os.path
|
|
#import sickbeard
|
|
#set global $header="New Show"
|
|
#set global $title="New 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")
|
|
|
|
<link rel="stylesheet" type="text/css" href="$sbRoot/css/formwizard.css?$sbPID" />
|
|
<script type="text/javascript" src="$sbRoot/js/formwizard.js?$sbPID"></script>
|
|
<script type="text/javascript" src="$sbRoot/js/qualityChooser.js?$sbPID"></script>
|
|
<script type="text/javascript" src="$sbRoot/js/newShow.js?$sbPID"></script>
|
|
<script type="text/javascript" src="$sbRoot/js/addShowOptions.js?$sbPID"></script>
|
|
#if $varExists('header')
|
|
<h1 class="header">$header</h1>
|
|
#else
|
|
<h1 class="title">$title</h1>
|
|
#end if
|
|
<div id="displayText">aoeu</div>
|
|
<br />
|
|
|
|
<form id="addShowForm" method="post" action="$sbRoot/home/addShows/addNewShow" accept-charset="utf-8">
|
|
|
|
<fieldset class="sectionwrap">
|
|
<legend class="legendStep">Find a show on the TVDB</legend>
|
|
|
|
<div class="stepDiv">
|
|
#if $use_provided_info:
|
|
Show retrieved from existing metadata: <a href="http://thetvdb.com/?tab=series&id=$provided_indexer_id">$provided_indexer_name</a>
|
|
<input type="hidden" name="tvdbLang" value="en" />
|
|
<input type="hidden" name="whichSeries" value="$provided_indexer_id" />
|
|
<input type="hidden" id="providedName" value="$provided_indexer_name" />
|
|
#else:
|
|
<input type="text" id="nameToSearch" value="$default_show_name" style="margin-top: 1px;" />
|
|
<select name="tvdbLang" id="tvdbLangSelect" style="height: 26px;margin-top: 1px;">
|
|
<option value="en" selected="selected">en</option>
|
|
</select><b>*</b>
|
|
<input class="btn" type="button" id="searchName" value="Search" style="margin-top: -3px;" /><br /><br />
|
|
|
|
<b>*</b> This will only affect the language of the retrieved metadata file contents and episode filenames.<br />
|
|
This <b>DOES NOT</b> allow Sick Beard to download non-english TV episodes!<br />
|
|
<br />
|
|
<div id="searchResults" style="height: 225px; overflow: auto;"><br/></div>
|
|
#end if
|
|
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="sectionwrap">
|
|
<legend class="legendStep">Pick the parent folder</legend>
|
|
|
|
<div class="stepDiv">
|
|
#if $provided_show_dir:
|
|
Pre-chosen Destination Folder: <b>$provided_show_dir</b> <br />
|
|
<input type="hidden" id="fullShowPath" name="fullShowPath" value="$provided_show_dir" /><br />
|
|
#else
|
|
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_rootDirs.tmpl")
|
|
#end if
|
|
</div>
|
|
</fieldset>
|
|
|
|
<fieldset class="sectionwrap">
|
|
<legend class="legendStep">Customize options</legend>
|
|
<div class="stepDiv">
|
|
#include $os.path.join($sickbeard.PROG_DIR, "gui/slick/interfaces/default/inc_addShowOptions.tmpl")
|
|
</div>
|
|
</fieldset>
|
|
|
|
#for $curNextDir in $other_shows:
|
|
<input type="hidden" name="other_shows" value="$curNextDir" />
|
|
#end for
|
|
<input type="hidden" name="skipShow" id="skipShow" value="" />
|
|
</form>
|
|
|
|
<br />
|
|
|
|
<div style="width: 800px; text-align: center;">
|
|
<input class="btn" type="button" id="addShowButton" value="Add Show" disabled="disabled" />
|
|
#if $provided_show_dir:
|
|
<input class="btn" type="button" id="skipShowButton" value="Skip Show" />
|
|
#end if
|
|
</div>
|
|
|
|
<script type="text/javascript" src="$sbRoot/js/rootDirs.js?$sbPID"></script>
|
|
|
|
#include $os.path.join($sickbeard.PROG_DIR,"gui/slick/interfaces/default/inc_bottom.tmpl")
|