Skip to content

Commit

Permalink
Merge pull request #574 from lzh9102/devel
Browse files Browse the repository at this point in the history
Predictable local albumart selection
  • Loading branch information
devsnd committed Jun 20, 2015
2 parents 4d6117b + 770d156 commit d71406e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cherrymusicserver/albumartfetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def fetchLocal(self, path):

filetypes = (".jpg", ".jpeg", ".png")
try:
for file_in_dir in os.listdir(path):
for file_in_dir in sorted(os.listdir(path)):
if not file_in_dir.lower().endswith(filetypes):
continue
try:
Expand Down

0 comments on commit d71406e

Please sign in to comment.