1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-14 03:52:22 -05:00

Fix for mass add and existing shows adding

This commit is contained in:
echel0n 2014-05-04 23:19:39 -07:00
parent faeb11a9ac
commit 775730c3ad

View File

@ -22,7 +22,7 @@
#set $indexer = 0 #set $indexer = 0
#if $curDir['existing_info'][0]: #if $curDir['existing_info'][0]:
#set $indexer = $curDir['existing_info'][2] #set $indexer = $curDir['existing_info'][2]
#elif $sickbeard.INDEXER_DEFAULT #elif $sickbeard.INDEXER_DEFAULT > 0:
#set $indexer = $sickbeard.INDEXER_DEFAULT #set $indexer = $sickbeard.INDEXER_DEFAULT
#end if #end if
@ -36,9 +36,8 @@
#end if #end if
<td> <td>
<select name="indexer"> <select name="indexer">
<option value="0" #if $indexer == 0 then "selected=\"selected\"" else ""#>All Indexers</option>
#for $curIndexer in $sickbeard.indexerApi().indexers.items(): #for $curIndexer in $sickbeard.indexerApi().indexers.items():
<option value="$curIndexer[0]" #if $curIndexer[0] == $indexer then "selected=\"selected\"" else ""#>$curIndexer[1]</option> <option value="$curIndexer[0]" #if $curIndexer[0] == $indexer then "selected=\"selected\"" else "UNKNOWN"#>$curIndexer[1]</option>
#end for #end for
</select> </select>
</td> </td>