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
- Host: GitHub
- URL: https://github.com/pp3345/genretagger
- Owner: pp3345
- License: gpl-3.0
- Created: 2021-01-30T11:09:16.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-17T19:00:33.000Z (about 5 years ago)
- Last Synced: 2025-01-15T16:55:26.402Z (over 1 year ago)
- Language: PHP
- Size: 53.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.