def METHOD_NAME(basename):
    """Builds unique m3u filename by putting current date between given
    basename and file ending."""
    date = datetime.datetime.now().strftime("%Y%m%d_%Hh%M")
    basename = re.sub(r"(\.m3u|\.M3U)", '', basename)
    path = normpath(os.path.join(
        config['importfeeds']['dir'].as_filename(),
        f'{basename}_{date}.m3u'
    ))
    return path