gazelle-origin icon indicating copy to clipboard operation
gazelle-origin copied to clipboard

Features: Save tags, ask on error, print each torrent

Open RollingStar opened this issue 3 years ago • 2 comments

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.

RollingStar avatar Oct 31 '21 06:10 RollingStar

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.

spinfast319 avatar May 06 '22 12:05 spinfast319

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.

spinfast319 avatar May 22 '22 18:05 spinfast319