MusicRepair

Fixes music metadata and adds album art.

Github星跟踪图

Media

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)

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

主要指标

概览
名称与所有者kalbhor/MusicRepair
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2016-11-06 15:44:15
推送于2021-06-10 09:14:17
最后一次提交2021-06-10 02:14:17
发布数1
最新版本名称v1.0 (发布于 )
第一版名称v1.0 (发布于 )
用户参与
星数601
关注者数20
派生数41
提交数156
已启用问题?
问题数32
打开的问题数11
拉请求数9
打开的拉请求数0
关闭的拉请求数4
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?