def path_to_songname(path: str)->str:
    """
    Extracts song name from a filepath. Used to identify which songs
    have already been fingerprinted on disk.
    """
    return os.path.splitext(os.path.basename(path))[0]
Extracts song name from a filepath. Used to identify which songs
    have already been fingerprinted on disk.