RuudBurger/CouchPotatoServer — pull request #130 by jaredquinn (2012-04-22 12:00:41+00:00)
Title: Fix for unhandled exception in library scanner.

21:35:29 ERROR [ couchpotato.core.event] Error in event "scanner.folder", that wasn't caught: Traceback (most recent call last):
File "/home/media/CouchPotatoServer/couchpotato/core/event.py", line 12, in runHandler
return handler(*args, **kwargs)
File "/home/media/CouchPotatoServer/couchpotato/core/plugins/scanner/main.py", line 117, in scanFolderToLibrary
groups = self.scan(folder = folder)
File "/home/media/CouchPotatoServer/couchpotato/core/plugins/scanner/main.py", line 322, in scan
group['library'] = self.determineMovie(group)
File "/home/media/CouchPotatoServer/couchpotato/core/plugins/scanner/main.py", line 477, in determineMovie
movie = fireEvent('movie.search', q = '%(name)s %(year)s' % self.getReleaseNameYear(identifier, file_name = filename), merge = True, limit = 1)
KeyError: 'name'