Coder Social home page Coder Social logo

musicsorter's Introduction

MusicSorter

About

I have a lot of duplicate MP3s and want to delete the lower quality file. This was written to rename and restructure all my files in a way that would make it easy to spot duplicates and then delete the lower quality file.

It iterates through a folder of MP3 files and moves and renames them into a new folder and you typically end up with something like:

  • new_folder/artist/album_type/(year) album/01 - 128 - song_title.mp3
  • new_folder/artist/album_type/(year) album/01 - 320 - song_title.mp3

You can easily see which file is the lower quality file and delete it. While size is also a good indicator, it isn't always a true indicator because VBR can result in a smaller yet higher quality file.

System requirements

Usage

  • Modify the config file first!
  • Now run python run.py and read the available run time parameters.

Everything is logged to a logfile called MP3MusicSorter.log

Changelog

6 September 2013

  • Massive database improvements.
  • A lot of Windows file system related bug fixes.
  • Activity indicator during the sort_and_rename process.

4 September 2013

  • Added SQLite DB queries to show tracks that have more than 1 file associated with it.
  • Added MP3Exception class.

1 September 2013

  • Initial project creation.

Known Issues

  • None

Future Features

  • Pattern matching for custom folder/file structures.

Having Problems?

The 2 libraries required for this app to run are bundled with it:

  • mutagen library
  • ConfigParser library (may not work)

If the bundled ConfigParser library does not work you will need to add it to your python environment. To do that, perform the following steps:

  1. Download ez_setup.py from https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
  2. Open a command prompt and run python ez_setup.py

"pip" should now be installed in C:\Python27\Scripts Run pip install ConfigParser

The same with mutagen if it fails.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.