Browse Source

Merge branch 'hotfix/0.22.1'

tags/release_0.22.1^0 release_0.22.1
JackDandy 5 years ago
parent
commit
2dcfabbbef
  1. 7
      CHANGES.md
  2. 4
      gui/slick/interfaces/default/home_massAddTable.tmpl
  3. 2
      sickbeard/helpers.py

7
CHANGES.md

@ -1,4 +1,9 @@
### 0.22.0 (2020-09-19 20:50:00 UTC) ### 0.22.1 (2020-09-24 13:00:00 UTC)
* Fix rare case with import existing shows where shows are not listed due to a corrupt `.nfo` file
### 0.22.0 (2020-09-19 20:50:00 UTC)
* Add menu Shows/"Metacritic Cards" * Add menu Shows/"Metacritic Cards"
* Add menu Shows/"TV Calendar Cards" * Add menu Shows/"TV Calendar Cards"

4
gui/slick/interfaces/default/home_massAddTable.tmpl

@ -57,7 +57,11 @@
</td> </td>
#if $curDir['existing_info'][2] and $indexer > 0 #if $curDir['existing_info'][2] and $indexer > 0
<td> <td>
#if curDir['existing_info'][1]
<a href="<%= anon_url(sickbeard.TVInfoAPI(indexer).config['show_url'] % curDir['existing_info'][1]) %>" target="_new">$curDir['existing_info'][2]</a> <a href="<%= anon_url(sickbeard.TVInfoAPI(indexer).config['show_url'] % curDir['existing_info'][1]) %>" target="_new">$curDir['existing_info'][2]</a>
#else
$curDir['existing_info'][2]
#end if
</td> </td>
#else #else
<td>?</td> <td>?</td>

2
sickbeard/helpers.py

@ -296,7 +296,7 @@ def search_infosrc_for_show_id(reg_show_name, tvid=None, prodid=None, ui=None):
show_names = [re.sub('[. -]', ' ', reg_show_name)] show_names = [re.sub('[. -]', ' ', reg_show_name)]
# Query Indexers for each search term and build the list of results # Query Indexers for each search term and build the list of results
for _tvid in [sickbeard.TVInfoAPI().sources if not tvid else int(tvid)] or []: for _tvid in (sickbeard.TVInfoAPI().sources if not tvid else [int(tvid)]) or []:
# Query Indexers for each search term and build the list of results # Query Indexers for each search term and build the list of results
tvinfo_config = sickbeard.TVInfoAPI(_tvid).api_params.copy() tvinfo_config = sickbeard.TVInfoAPI(_tvid).api_params.copy()
if ui is not None: if ui is not None:

Loading…
Cancel
Save