gazelle-origin
gazelle-origin copied to clipboard
Features: Save tags, ask on error, print each torrent
Save tags- a new line under 'permalink' for tags. looks like:
Tags: electronic, ambient, minimal, japanese, new.age
I attempted to handle the API not returning tags, although I couldn't test it.
Ask on error: ignore-invalid has changed to allow 3 options: stop, ask, continue. most errors now check this arg.
- stop: abort (same as ignore-invalid false in your version)
- continue: continue (similar to ignore-invalid ture in your version, but with more errors caught and ignored?)
- ask: prompts the user
I didn't have it catch a gazelle api error in core.py. should be an easy fix.
print each torrent:
each time a torrent is handled, it prints:
Handling ./mypath/myfile-001.torrent
I wanted to include a progress counter but the recursion made it not worth my time.
I did some testing on my collection. I didn't have a chance to test the error behavior. the tags and printing seem to work fine.
I don't know how the tags will integrate with beet-originquery but I hope it's an easy fix.
I would love this to be merged as well. Getting the tags for an album would be great. There are a number of other fields I would like as well, release type, original release label, original release cat #, and then the various contributing artists. I might try adding these as well.
I built off of this and added quite a bit more metadata and made a pull request for my fork. Thanks for the work RollingStar.