diff --git a/couchpotato/core/plugins/scanner/main.py b/couchpotato/core/plugins/scanner/main.py index 6ab27305..5a57762a 100644 --- a/couchpotato/core/plugins/scanner/main.py +++ b/couchpotato/core/plugins/scanner/main.py @@ -280,6 +280,8 @@ class Scanner(Plugin): group['files']['movie'] = self.getDVDFiles(group['unsorted_files']) else: group['files']['movie'] = self.getMediaFiles(group['unsorted_files']) + + log.debug('Getting metadata for %s' % identifier) group['meta_data'] = self.getMetaData(group) # Get parent dir from movie files diff --git a/couchpotato/core/providers/movie/imdbapi/main.py b/couchpotato/core/providers/movie/imdbapi/main.py index 92083fa4..c6f4555f 100644 --- a/couchpotato/core/providers/movie/imdbapi/main.py +++ b/couchpotato/core/providers/movie/imdbapi/main.py @@ -68,7 +68,7 @@ class IMDBAPI(MovieProvider): 'released': movie.get('Released', ''), 'year': movie.get('Year', ''), 'plot': movie.get('Plot', ''), - 'genres': movie.get('Genre').split(','), + 'genres': movie.get('Genre', '').split(','), 'directors': movie.get('Director', '').split(','), 'writers': movie.get('Writer', '').split(','), 'actors': movie.get('Actors', '').split(','),