@staticmethod
    def filename_priority(filename, cover_names):
        """Sort order for image names.

        Return indexes of cover names found in the image filename. This
        means that images with lower-numbered and more keywords will have
        higher priority.
        """
        return [idx for (idx, x) in enumerate(cover_names) if filename in x]
dataset/ETHPy150Open beetbox/beets/beetsplug/fetchart.py/FileSystem.filename_priority/swapped operands of `in`