Skip to content

neoslab/mp3tagcleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MP3TagCleaner — Year Tags Remover

Python Version License

MP3TagCleaner remove unwanted "year" (date) tags from MP3 files using a simple Python utility powered by Mutagen. Clean individual files or entire folders with optional verbose logging.


Features

  • Remove date (year) tag from MP3 metadata
  • Clean individual MP3 files or entire directories
  • Optional verbose logging
  • Built using mutagen.easyid3 and mutagen.id3
  • Lightweight and dependency-light

Requirements

Install Mutagen with pip:

pip install mutagen

Usage

1. Clone the Repository

git clone https://github.com/neoslab/mp3tagcleaner
cd mp3tagcleaner

2. Run the Script

python mp3tagcleaner.py

3. Example: Clean a Single File

cleaner.cleanfromfile(r"C:\Users\YourName\Music\song.mp3")

4. Example: Clean All MP3s in a Folder

cleaner.cleanfromfolder(r"C:\Users\YourName\Music")

File Structure

mp3tagcleaner.py        # Main script containing MP3TagCleaner class
README.md               # Project documentation

Example Output

[OK] Removed year tag from: C:\Users\YourName\Music\song1.mp3
[SKIP] No year tag found in: C:\Users\YourName\Music\song2.mp3
[ERROR] Cannot process C:\Users\YourName\Music\badfile.mp3: ...

Why Use It?

  • Eliminate unnecessary or incorrect year metadata from MP3s
  • Standardize your media files for automation tools or streaming
  • Quickly clean up messy downloads and audio archives

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make your changes and commit them (git commit -m "Add your feature").
  4. Push to your branch (git push origin feature/your-feature).
  5. Open a pull request with a clear description of your changes.

Ensure your code follows PEP 8 style guidelines and includes appropriate tests.


License

This project is licensed under the MIT License. See the LICENSE file for details.


Contact

For issues, suggestions, or questions, please open an issue on GitHub or contact the maintainer at GitHub Issues.

About

Remove unwanted "year" tags from MP3 files using a simple Python utility powered by Mutagen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages