Automatically removes PMEDIA's promotional tags from your audio files.
-
Scans your audio files for specific PMEDIA tags:
www.t.me/pmedia_music
P.M.E.D.I.A
PMEDIA
-
Automatically removes these tags, leaving your metadata clean.
-
Searches the specified directory and all subfolders.
-
Progress bar to track the process.
-
Logs errors to a file (
metadata_removal_errors.log
).
- Python 3.x
mutagen
moduletqdm
module
-
Clone the repository:
git clone https://github.com/tedy02/PMEDIA-Tag-Remover.git cd PMEDIA-Tag-Remover
-
Create a virtual environment (optional, but recommended):
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
- Download: Get the script from PMEDIA Tag Remover - GitHub.
- Run: Launch the script
pmedia_remover.py
. You'll be prompted for the directory you want to clean. PressEnter
to use the current directory. - Relax: The script will find and remove PMEDIA tags. Any errors will be logged to
metadata_removal_errors.log
.
python pmedia_remover.py
Enter the directory to search: /path/to/your/music
If errors occur during processing, they will be logged in metadata_removal_errors.log
.
We love PMEDIA's music, but sometimes their promotional tags clutter our audio files. This script keeps things tidy without removing any music!
We're always looking to improve this script!
- Found a bug? Please open an issue.
- Know other PMEDIA tags or unwanted metadata? Let us know in the comments!
- Have coding skills? Feel free to fork the repository and submit pull requests.