musicΒΆ

Validity checks for custom music.

Functions

check_music_download

This test downloads the file from each download mirror, and both compares their sizes and hashes them to ensure the archives are actually the same.

handle_file_size_error

If a file size error has occurred, which is when the files downloaded from the Music Download mirrors do not match in size, this function handles the processing needed to return a proper error message.

Classes

MusicFileMetadata

This dataclass holds metadata for a music file.