Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credit parser and importer #26

Open
7 of 18 tasks
kellnerd opened this issue Aug 1, 2022 · 3 comments
Open
7 of 18 tasks

Credit parser and importer #26

kellnerd opened this issue Aug 1, 2022 · 3 comments
Assignees
Labels
idea Ideas for new scripts and features

Comments

@kellnerd
Copy link
Owner

kellnerd commented Aug 1, 2022

Collection of ideas to combine features of the Voice Actor Credits and Parse Copyright Notice userscripts and enhance it to be a general purpose credit parser and importer.

Unstructured notes

  • Parse release level credits from a textarea input
  • Use OCR (maybe tesseract.js) for (booklet) images from the CAA or an URL to fill the textarea
  • Use role descriptions to guess relationship types
  • Customizable line parser presets (e.g. %role%: %artist% [(%date%)], square brackets to mark optional parts)
  • Create a custom entity name to MBID mapping for each user (names are usually unambiguous then) and cache it
    • CTRL click to circumvent mapping cache
    • SHIFT click to force artist instead of label search (copyrights)
  • Import credits from Discogs and other sources
    • Import voice actor credits from Discogs
    • Cache Discogs to MB entity mappings
    • Suggest to link new matches (seed Discogs link for MB artist edit page) to improve mappings
    • Map Discogs roles to MB relationship types and attributes
      • Let the user select the correct type for unknown roles, cache it and suggest to share the new mapping data on GH?
  • Place UI before release relationships, checkbox to auto-focus (no unnecessary scrolling)
  • Checkbox "Auto-parse (on paste)"
  • Checkbox "Track level credits" to (un)select all recordings and works
  • Checkbox "Add release relationships" (if appropriate) in order to be able to add only track level rels
  • Checkbox "Use credited names"?
  • Clean up pasted credit lines before adding them to the edit note (trim, replace tabs by dashes or similar)
@kellnerd kellnerd added the idea Ideas for new scripts and features label Aug 1, 2022
@kellnerd kellnerd self-assigned this Aug 1, 2022
@metaisfacil
Copy link

Hello, in regards to "Map Discogs roles to MB relationship types and attributes" I made an incomplete (and probably erroneous) mapping myself when trying to adapt your voice actor script to do exactly what you're planning here. Hope it helps in some way, I'd love for the idea to see fruition.

https://gist.github.com/metaisfacil/6ffa5a83b32ce573d26b92cefcd641d6

@kellnerd
Copy link
Owner Author

That's great, thank you for sharing your mapping!
Did your adapted script work as expected?

I don't think it requires too much work to cleanly integrate this mapping into (a "clone" of) my voice actor script, but so far I've hesitated to implement this feature.
It would require a lot of testing and I would want to ensure that it's as stable and complete as possible before releasing it.
Unfortunately my spare time is quite limited in 2023, so I haven't continued working on this ticket...

@metaisfacil
Copy link

metaisfacil commented Sep 28, 2023

Only partially, I gave up at fixing relationship attributes lol (which is why my map is lackluster in that regard - I didn't get that far). The map seemed to be fine on the test cases I tried, but there may be a few that aren't the best choice with regards to MusicBrainz style.

EDIT: Also for the record, I give anyone full permission to use the map to any extent and in any capacity, attribution not necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea Ideas for new scripts and features
Projects
None yet
Development

No branches or pull requests

2 participants