1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-12 11:02:21 -05:00

Fix post processing when using tvrage indexer and mediabrowser metadata generation

This commit is contained in:
Adam 2014-11-09 13:44:47 +08:00
parent 288d488d09
commit 687d2b96ab
2 changed files with 5 additions and 1 deletions

View File

@ -49,6 +49,7 @@
* Add image to be used when Trakt posters are void on Add Show/Add Trending Show page
* Fix growl registration not sending sickrage update notification registration.
* Fix missing url for kickasstorrents in config_providers
* Fix post processing when using tvrage indexer and mediabrowser metadata generation
[develop changelog]
* Change improve display of progress bars in the Downloads columns of the show list page

View File

@ -498,7 +498,10 @@ class MediaBrowserMetadata(generic.GenericMetadata):
Persons = etree.SubElement(episode, "Persons")
Language = etree.SubElement(episode, "Language")
Language.text = myEp['language']
try:
Language.text = myEp['language']
except:
Language.text = 'en' # tvrage api doesn't provide language so we must assume a value here
thumb = etree.SubElement(episode, "filename")
# TODO: See what this is needed for.. if its still needed