From a466cbcf16e19687a970f52d38ad28b7bc3b6e83 Mon Sep 17 00:00:00 2001 From: mano3m Date: Tue, 19 Nov 2013 16:13:22 +0100 Subject: [PATCH] [Metadata][XBMC] Fix nfo data Fixes #1412 and @Lennong MPAA section --- couchpotato/core/providers/metadata/xbmc/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/providers/metadata/xbmc/main.py b/couchpotato/core/providers/metadata/xbmc/main.py index 7073363d..56032796 100644 --- a/couchpotato/core/providers/metadata/xbmc/main.py +++ b/couchpotato/core/providers/metadata/xbmc/main.py @@ -65,7 +65,7 @@ class XBMC(MetaDataBase): name = type try: - if data['library'].get(type): + if movie_info.get(type): el = SubElement(nfoxml, name) el.text = toUnicode(movie_info.get(type, '')) except: