Code cleanup
This commit is contained in:
1 parent
7d32a8750d
commit
7fd14e0283
59 files changed
+171
-170
No files matched your search
@@ -82,8 +82,11 @@ class MetaDataBase(Plugin):
|
||||
|
||||
def getThumbnail(self, movie_info = {}, data = {}, wanted_file_type = 'poster_original'):
|
||||
file_types = fireEvent('file.types', single = True)
|
||||
for file_type in file_types:
|
||||
if file_type.get('identifier') == wanted_file_type:
|
||||
file_type = {}
|
||||
|
||||
for ft in file_types:
|
||||
if ft.get('identifier') == wanted_file_type:
|
||||
file_type = ft
|
||||
break
|
||||
|
||||
# See if it is in current files
|
||||
|
||||
Reference in new issue
Block a user