Don't use fanart that doesn't exist. fix #282

This commit is contained in:
Ruud
2012-05-18 22:54:13 +02:00
parent 2393b43ebf
commit 442c4e5aea
+1 -1
View File
@@ -75,7 +75,7 @@ class MetaDataBase(Plugin):
break
for cur_file in data['library'].get('files', []):
if cur_file.get('type_id') is file_type.get('id'):
if cur_file.get('type_id') is file_type.get('id') and os.path.isfile(cur_file.get('path')):
return cur_file.get('path')
def getFanart(self, movie_info = {}, data = {}):