Songs-Dup
1. Introduction
A python script which deletes duplicate songs in a directory by reading thier meta information.
2. Requirements
- Install Python 3
- Install pytaglib dependencies from here: https://github.com/supermihi/pytaglib#installation-notes
- Install the requirements
Following is a quick way to install dependencies:
pip install -r requirements.txt
3. How to use
python cli.py directory_path
usage: cli.py [-h] [--rubbish [RUBBISH [RUBBISH ...]]] [--dry-run] directory
Removes duplicate songs by reading the meta tags
positional arguments:
directory Path to the directory
optional arguments:
-h, --help show this help message and exit
--rubbish [RUBBISH [RUBBISH ...]]
Rubbish words in artist name or song title
--dry-run Dry runs the execution without affecting actual files
4. Tests
-
Install tox
-
Run tox
tox
5. Credits
1-second-of-silence.mp3
is from https://github.com/anars/blank-audio