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

Merge pull request #127 from adam111316/feature/FixTvrageMediabrowser

Fix post processing when using tvrage indexer and mediabrowser metadata ...
This commit is contained in:
JackDandy 2014-11-09 05:50:10 +00:00
commit 80012e83f7
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 * 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 growl registration not sending sickrage update notification registration.
* Fix missing url for kickasstorrents in config_providers * Fix missing url for kickasstorrents in config_providers
* Fix post processing when using tvrage indexer and mediabrowser metadata generation
[develop changelog] [develop changelog]
* Change improve display of progress bars in the Downloads columns of the show list page * 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") Persons = etree.SubElement(episode, "Persons")
Language = etree.SubElement(episode, "Language") Language = etree.SubElement(episode, "Language")
try:
Language.text = myEp['language'] 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") thumb = etree.SubElement(episode, "filename")
# TODO: See what this is needed for.. if its still needed # TODO: See what this is needed for.. if its still needed