Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kalbhor/MusicRepair
Fixes music metadata and adds album art.
https://github.com/kalbhor/MusicRepair
album album-art cli genius lyrics metadata music pypi
Last synced: 16 days ago
JSON representation
Fixes music metadata and adds album art.
- Host: GitHub
- URL: https://github.com/kalbhor/MusicRepair
- Owner: kalbhor
- License: mit
- Created: 2016-11-06T15:44:15.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-10T09:14:17.000Z (over 3 years ago)
- Last Synced: 2024-09-15T09:01:46.244Z (about 2 months ago)
- Topics: album, album-art, cli, genius, lyrics, metadata, music, pypi
- Language: Go
- Homepage:
- Size: 103 KB
- Stars: 597
- Watchers: 21
- Forks: 43
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Adds Metadata to Music files## Features
1. Fixes songs in nested directories recursively.
2. Fetches metadata from [Spotify](https://www.spotify.com)
3. Multiple options to format file (Options to revert file back)
4. Simple binary## Dependencies
### [Spotify API](https://developer.spotify.com/my-applications)
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```
```sh
$ musicrepair -config
Enter Spotify client ID :
Enter Spotify client secret :
```## Installing
### Via Binary
Download the latest binary from the [releases page](https://github.com/kalbhor/MusicRepair/releases).
Make sure to add the binary to your `$PATH`
### Via Go
```sh
$ go get -u -v github.com/kalbhor/musicrepair
$ which musicrepair
$ $GOPATH/bin/musicrepair
```## Usage
Initially, you'll have to add the Spotify credentials.
```sh
$ musicrepair -config
```After that, always a simple command
```sh
$ musicrepair
✨ 🍰
```### Options
```
$ musicrepair -helpUsage 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](https://github.com/kalbhor/MusicRepair/issues).
Want to add another awesome feature? [Fork](https://github.com/kalbhor/MusicRepair/fork) this repository and add your feature, then send a pull request.
## License
The MIT License (MIT)
Copyright (c) 2017 Lakshay Kalbhor