Git Product home page Git Product logo

musicrepair's Introduction

Adds Metadata to Music files

License stars

Features

  1. Fixes songs in nested directories recursively.
  2. Fetches metadata from Spotify
  3. Multiple options to format file (Options to revert file back)
  4. Simple binary

Dependencies

Spotify API

  1. Create an account and register an application.
  2. Copy the Client ID and Client Secret.
  3. Set them in config file after running musicrepair -config
config file will be created after running musicrepair -config, and located at $HOME/.musicrepair/config.json

Set them using -config

$ musicrepair -config                                               
Enter Spotify client ID : <enter Spotify client ID>  
Enter Spotify client secret : <enter Spotify client secret>                                     

Installing

Via Binary

Download the latest binary from the releases page.

Make sure to add the binary to your $PATH

Via Go

$ go get -u -v github.com/kalbhor/musicrepair
$ which musicrepair
$ $GOPATH/bin/musicrepair

Usage

Initially, you'll have to add the Spotify credentials.

$ musicrepair -config

After that, always a simple command

$ musicrepair
✨ 🍰

Options

$ musicrepair -help

Usage of musicrepair:
  -config
    	If set, MusicRepair will ask for credentials
  -dir string
    	Specifies the directory where the music files are located (default "./")
  -recursive
    	If set, Musicrepair will run recursively in the given directory
  -revert
    	If set, Musicrepair will revert the files
  -threads int
    	Specify the number of threads to use (default 1)

Discussions/Write-Ups

           

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.

License

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

musicrepair's People

Contributors

baif666 avatar justingolden21 avatar kalbhor avatar kiitox avatar moyiz avatar mte90 avatar rhnvrm avatar rohanpandula avatar thejohnsub avatar

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.