Taming Your Music Collection: Filename To ID3

Plan & Setup
     Once again, the most important thing is to plan the steps needed to complete our task.
  1. Need to programmatically distinguish files that follow our predefined pattern but are missing ID3 info.
  2. Given a file path that follows our predefined pattern, extract the necessary information to fill in the ID3 info.
    • Need to determine some method for parsing strings in Python.
  3. Save the ID3 metadata to the mp3 file.
    • Note: Characters designated illegal for file paths are allowed in ID3 tags. Because we are extracting the ID3 info from the filename, we will be unable to include characters such as apostrophes or slashes.
     We'll use the Mutagen module again for saving the ID3 info. I detailed how to install it in the previous article.



;