If Genius returned songs with invalid filename characters (e.g. "\") in the song name, the file could not be saved when using the default filename.
This PR adds a sanitize_filename function to the Song class that removes illegal characters from filenames. The sanitize function is NOT applied when the user supplies their own filename.
This PR resolves #87.
If Genius returned songs with invalid filename characters (e.g. "\") in the song name, the file could not be saved when using the default filename.
This PR adds a
sanitize_filename
function to theSong
class that removes illegal characters from filenames. The sanitize function is NOT applied when the user supplies their own filename.