Skip to content

ProjectRecommend/MusicRepair

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adds Metadata to Music files

License gitter stars

Media

           

Table of Contents

Features

  1. Fixes songs in nested directories recursively.
  2. Fetches lyrics from Genius
  3. Fetches metadata from Spotify
  4. Multiple options to format file name. eg : {artist}{title} results in : Pink Floyd - Time

Dependencies

(Optional)
  1. Create an account and register an application.
  2. Copy the Client ID and Client Secret.
  3. Set Spotify Client ID and Spotify Client Secret in config file
  1. Create an account and register an application
  2. Grab Access Token
  3. Set access token in config file
$ musicrepair --config                                               
Enter Spotify client ID : <enter Spotify client ID>  
Enter Spotify client secret : <enter Spotify client secret>       
Enter Genius key : <enter genius key>                                 

Installing

PyPI

$ pip install musicrepair

Source

$ git clone https://github.com/kalbhor/MusicRepair
$ cd MusicRepair
$ python setup.py install

Windows users, check this out

Usage

$ musicrepair

Usage

Options

$ musicrepair -h

optional arguments:
  -h, --help            show this help message and exit
  
  -c, --config          Add API keys to config

  -d, --dir             Specifies the directory where the music files are located

  -R, --recursive       Specifies whether or not to run recursively
                        in the given music directory

  -r, --revert          Specifies the directory where music files
                        that need to be reverted are located

  -n, --norename        Does not rename files to song title

  --format              Specify the title format used in renaming,
                        these keywords will be replaced respectively:
                        {title}{artist}{album}

Contribute

Found an issue? Post it in the issue tracker.
Want to add another awesome feature? Fork this repository and add your feature, then send a pull request. The core features of this project are based on MusicTools; contribute to it if you'd like.

License

The MIT License (MIT) Copyright (c) 2017 Lakshay Kalbhor

About

Fixes music metadata and adds album art.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%