Sort listMediaFiles results by path length #998

Thanks @RyanMelena
This commit is contained in:
clinton-hall 2016-04-06 19:29:09 +09:30
commit ada354886e

View file

@ -977,7 +977,7 @@ def listMediaFiles(path, minSize=0, delete_ignored=0, media=True, audio=True, me
files.append(fullCurFile)
return files
return sorted(files,key=len)
def find_imdbid(dirName, inputName):
imdbid = None