use year as identifier for movies

This commit is contained in:
Joel Kåberg
2013-12-15 11:02:57 +01:00
parent 95ff427873
commit 3e28d5a936

View File

@@ -345,7 +345,13 @@ class MovieSearcher(SearcherBase, MovieTypeBase):
def getSearchTitle(self, library, include_identifier = False):
if library['type'] == 'movie':
return getTitle(library)
title = getTitle(library)
# Use year as identifier
if include_identifier:
title += ' %s' % str(library['year'])
return title
class SearchSetupError(Exception):
pass