diff --git a/CHANGES.md b/CHANGES.md
index 39f31cf..5018f9b 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -99,6 +99,12 @@
* Change removed NZBGet 'remote' PostProcess guidance until it is verified to work
+### 0.14.4 (2018-02-18 23:55:00 UTC)
+
+Change relax strict mode from subtitle languages and show unknown.png flag for 'Undetermined' subtitle languages
+Add Paramount Network icon
+
+
### 0.14.3 (2018-02-13 13:00:00 UTC)
Change improve thetvdb api response handling
diff --git a/gui/slick/images/network/paramount network.png b/gui/slick/images/network/paramount network.png
new file mode 100644
index 0000000..edba8d2
Binary files /dev/null and b/gui/slick/images/network/paramount network.png differ
diff --git a/gui/slick/interfaces/default/inc_displayShow.tmpl b/gui/slick/interfaces/default/inc_displayShow.tmpl
index 75de3a1..6a2aebc 100644
--- a/gui/slick/interfaces/default/inc_displayShow.tmpl
+++ b/gui/slick/interfaces/default/inc_displayShow.tmpl
@@ -94,9 +94,11 @@
#if $sg_var('USE_SUBTITLES') and $show.subtitles
#if $ep['subtitles']
- #for $sub_lang in subliminal.language.language_list($ep['subtitles'].split(','))
+ #for $sub_lang in subliminal.language.language_list($ep['subtitles'].split(','), strict=False)
#if '' != sub_lang.alpha2
+ #elif 'und' == sub_lang.alpha3
+
#end if
#end for
#end if
diff --git a/gui/slick/interfaces/default/manage_subtitleMissed.tmpl b/gui/slick/interfaces/default/manage_subtitleMissed.tmpl
index d8c1a9a..63d0948 100644
--- a/gui/slick/interfaces/default/manage_subtitleMissed.tmpl
+++ b/gui/slick/interfaces/default/manage_subtitleMissed.tmpl
@@ -19,7 +19,7 @@
#end if
##
#if $whichSubs
- #set subsLanguage = $subliminal.language.Language($whichSubs) if not $whichSubs == 'all' else 'All'
+ #set subsLanguage = $subliminal.language.Language($whichSubs, strict=False) if not $whichSubs == 'all' else 'All'
#end if
#if not $whichSubs or ($whichSubs and not $ep_counts)
#if $whichSubs:
diff --git a/sickbeard/webserve.py b/sickbeard/webserve.py
index 68a0876..09b8238 100644
--- a/sickbeard/webserve.py
+++ b/sickbeard/webserve.py
@@ -2449,10 +2449,10 @@ class Home(MainHandler):
return json.dumps({'result': 'failure'})
# try do download subtitles for that episode
- previous_subtitles = set(subliminal.language.Language(x) for x in ep_obj.subtitles)
try:
+ previous_subtitles = set(subliminal.language.Language(x) for x in ep_obj.subtitles)
ep_obj.subtitles = set(x.language for x in ep_obj.downloadSubtitles().values()[0])
- except:
+ except(StandardError, Exception):
return json.dumps({'result': 'failure'})
# return the correct json value
@@ -4035,8 +4035,8 @@ class Manage(MainHandler):
result[cur_season][cur_episode]['name'] = cur_result['name']
result[cur_season][cur_episode]['subtitles'] = ','.join(
- subliminal.language.Language(subtitle).alpha2 for subtitle in cur_result['subtitles'].split(',')) if not \
- cur_result['subtitles'] == '' else ''
+ subliminal.language.Language(subtitle, strict=False).alpha2
+ for subtitle in cur_result['subtitles'].split(',')) if '' != cur_result['subtitles'] else ''
return json.dumps(result)
|