An open API service indexing awesome lists of open source software.

https://github.com/pp3345/genretagger

Add genre tags from last.fm to FLAC music files
https://github.com/pp3345/genretagger

Last synced: 12 months ago
JSON representation

Add genre tags from last.fm to FLAC music files

Awesome Lists containing this project

README

          

# GenreTagger
A simple PHP application to add genre tags from last.fm to FLAC music.

## Usage
```bash
git clone https://github.com/pp3345/GenreTagger
cd GenreTagger
echo "my_last.fm_api_key" > key
composer install
php GenreTagger.php [--no-retag]
```

By default, GenreTagger will remove all existing genre tags, use the `--no-retag` option to prevent that. Collection is expected to be organized in a `///.flac` hierarchy.

## Tag mapping
A list of accepted tags is defined in `tags.json`. `tag_mappings.json` is used to (recursively) define mappings from tags to genres.