sam016 / Songs-Dup

Python script to remove duplicate songs
MIT License
4 stars 0 forks source link

Songs-Dup

Supported python versions Coverage Status

  1. Introduction
  2. Requirements
  3. How to use
  4. Tests
  5. Credits

1. Introduction

A python script which deletes duplicate songs in a directory by reading thier meta information.

2. 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

  1. Install tox
  2. Run tox

    tox

5. Credits

1-second-of-silence.mp3 is from https://github.com/anars/blank-audio