Open wisp3rwind opened 5 years ago
In matched_item_action, os.path.isfile(album.artpath) and os.path.getmtime(syspath(album.artpath)) could be cached in order to reduce evaluation to once per album.
os.path.isfile(album.artpath)
os.path.getmtime(syspath(album.artpath))
In matched_item_action,
os.path.isfile(album.artpath)
andos.path.getmtime(syspath(album.artpath))
could be cached in order to reduce evaluation to once per album.