import hashlib
import pathlib


def theme_sm_jpg_file(disc):
    """
    Returns the path to the jpeg file used by the moOde them
    as cover art thumbnail (small version) of the current disc.
    """
    filename = hashlib.md5(b"cdda://").hexdigest() + "_sm.jpg"
    return pathlib.Path("/var/local/www/imagesw/thmcache",filename)