# Credit Hoarder Userscript

**URL:** <https://community.metabrainz.org/t/credit-hoarder-userscript/815063>\
**Category:** MusicBrainz\
**Tags:** ai, userscripts, musicbrainz\
**Created:** [June 13, 2026, 5:16pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063 "2026-06-13T17:16:48Z")\
**Posts on this page:** 20\
**Page:** 5

<div class="post-metadata">

**Author:** ![fsjkalafjei](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/f/e495f1/32.png) [@fsjkalafjei](https://community.metabrainz.org/u/fsjkalafjei)\
**Post date:** [October 31, 2026, 2:51pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/81 "2026-10-31T14:51:57Z")

</div>

> [@VBZPPlNQyJ](#):
>
> Your script is enabling people to add bad data faster than we can correct it.

Yes. I am one of those people who was adding bad data. In recent weeks I’ve slowed down a lot but have decided to just stop completely because I’m simply not good at it.

But I thought letting you know what was going through my head might have some value. When I added these userscripts (and others), I thought I was doing the right/proper thing. I thought, well, if this is Spotify/Apple Music data, it’s going to be correct. It never occured to me that a multi-billion dollar corpo might be [working with bad data](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/49). Of course, this seems silly in hindsight, but that was my thinking at the time. So no, I didn’t double check the data until @VBZPPlNQyJ started to vote down my edits (which was 100% the right thing to do, and I’m grateful that you did it).

There should be a page or popup that lets users know that the imported data is not necessarily correct. That would have helped.

I think Credit Hoarder & Falcon got me into the most trouble but tbh, [this section about Relationships](https://community.metabrainz.org/t/the-classical-editor-toolbox/295817#p-306748-relationships-2), is what made me use Credit Hoarder so much. I’ve since uninstalled it because I’m just going to mess it up and I’d rather not add any data than add bad or incorrect data.

I think @chaban is on the right track with adding [edit rate limits](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/71). But I also think that new users should be forced to manually edit things without scripts, learn the rules, learn the style guides for a certain number of releases, not time.

Userscript usage should be earned and not granted to everyone. I know this because I should never have been allowed to use them lol.

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [October 31, 2026, 4:12pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/82 "2026-10-31T16:12:25Z")

</div>

> [@fsjkalafjei](#):
>
> There should be a page or popup that lets users know that the imported data is not necessarily correct. That would have helped.

This is something a lot of us would like to see. Those digital shops are cause of a lot of headaches to many of us. Starting with the “release date”…

> [@fsjkalafjei](#):
>
> I think @chaban is on the right track with adding [edit rate limits](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/71). But I also think that new users should be forced to manually edit things without scripts, learn the rules, learn the style guides for a certain number of releases, not time.
> 
> Userscript usage should be earned and not granted to everyone.

Yep. +100

Thank you @fsjkalafjei for a sensible response. Now I am stuck trying to work out how to pronounce your username… 😂

---

<div class="post-metadata">

**Author:** ![majkinetor](https://community.metabrainz.org/user_avatar/community.metabrainz.org/majkinetor/32/2380_2.png) [@majkinetor](https://community.metabrainz.org/u/majkinetor)\
**Post date:** [October 31, 2026, 8:34pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/83 "2026-10-31T20:34:04Z")

</div>

> [@IvanDobsky](#):
>
> Those digital shops are cause of a lot of headaches to many of us. Starting with the “release date”…

 ![image](https://community.metabrainz.org/uploads/default/original/3X/e/5/e50ff238bb5a7d8056d23fd1a32894f999f049e2.jpeg)

---

<div class="post-metadata">

**Author:** ![chaban](https://community.metabrainz.org/user_avatar/community.metabrainz.org/chaban/32/111349_2.png) [@chaban](https://community.metabrainz.org/u/chaban)\
**Post date:** [October 31, 2026, 9:04pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/84 "2026-10-31T21:04:52Z")

</div>

You illustrated the problem perfectly. Which date is right and why did the script seemingly go with 1975-01-01?

---

<div class="post-metadata">

**Author:** ![majkinetor](https://community.metabrainz.org/user_avatar/community.metabrainz.org/majkinetor/32/2380_2.png) [@majkinetor](https://community.metabrainz.org/u/majkinetor)\
**Post date:** [October 31, 2026, 9:08pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/85 "2026-10-31T21:08:02Z")

</div>

It suggests based on what most platforms agree (in this case 5 platforms used 1975). I choosed Deezer here as it is legit and Deezer is the source.

Note that all are the same barcode. That might mean that this is not “release date” but “publication date” or something…

---

<div class="post-metadata">

**Author:** ![chaban](https://community.metabrainz.org/user_avatar/community.metabrainz.org/chaban/32/111349_2.png) [@chaban](https://community.metabrainz.org/u/chaban)\
**Post date:** [October 31, 2026, 9:13pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/86 "2026-10-31T21:13:43Z")

</div>

That’s the problem. [1975 is rubbish data for MB](https://musicbrainz.org/doc/Style/Release#Date)  
The actual release date is either one of the others (which one?) or something completely different.

---

<div class="post-metadata">

**Author:** ![tigerman325](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tigerman325](https://community.metabrainz.org/u/tigerman325)\
**Post date:** [November 1, 2026, 1:41am UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/87 "2026-11-01T01:41:29Z")

</div>

Is there a way to set it to ignore any date earlier than say 2000 at the earliest? If it’s 19xx, then just set the date as blank or show only dates that are 20xx.

---

<div class="post-metadata">

**Author:** ![majkinetor](https://community.metabrainz.org/user_avatar/community.metabrainz.org/majkinetor/32/2380_2.png) [@majkinetor](https://community.metabrainz.org/u/majkinetor)\
**Post date:** [November 1, 2026, 9:23am UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/88 "2026-11-01T09:23:35Z")

</div>

Will add it in MC config

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [November 1, 2026, 9:26am UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/89 "2026-11-01T09:26:11Z")

</div>

> [@tigerman325](#):
>
> Is there a way to set it to ignore any date earlier than say 2000 at the earliest?

It should be later than that. Many of the shops weren’t really fully up and running before 2007/8. Dates can be found in Wikipedia. (Deezer 2007, Spotify 2008, etc) Just a short read of the articles will remind you how slow it was for the major labels to sign up. There were a lot of bands who were famously holding out for longer like Radiohead.

IMHO if you have multiple dates appearing, then preselect the later date would reduce the error rate.

Also any date shown as xxxx-01-01 really means they don’t know the actual date of release and only the year should be used. Don’t get much released on a bank holiday.

---

<div class="post-metadata">

**Author:** ![majkinetor](https://community.metabrainz.org/user_avatar/community.metabrainz.org/majkinetor/32/2380_2.png) [@majkinetor](https://community.metabrainz.org/u/majkinetor)\
**Post date:** [November 1, 2026, 10:53am UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/90 "2026-11-01T10:53:37Z")

</div>

I will add this feature, if somebody provides spec (single cutoff date or platform based table) I personally don’t mind cherry picking dates manually.

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [November 1, 2026, 11:10am UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/91 "2026-11-01T11:10:24Z")

</div>

I don’t have the time to pull all the separate details, but really all you need is on Wikipedia.

[https://en.wikipedia.org/wiki/Comparison\_of\_music\_streaming\_services#Currently\_active\_services](https://en.wikipedia.org/wiki/Comparison_of_music_streaming_services#Currently_active_services)

You can find the major online stores on that list which cover what your look-ups are generally pulling data from. See “Launch Dates” column. This at least nails the start of each service.

A read of the Wikipedia page on Spotify shows you 2008 for Sweden, but 2011 for the USA… the “Worldwide” releases happened after that (and would be a bit too much of a faff to cover in your script… but each country is listed on the Spotify page as to when they were added). Most streaming stores took a while to stand on their feet and get the full catalogue the have today.

Yes, some digital music existed before this time, but not to the major bulk we have now. The majority of what a script is bringing in is post 2010 once Digital Streaming had taken off.

Having your script waving a flag to say “you may want to check this” and defaulting to a later date for dates that pre-date the store’s existence would be a be headache solver for many of us. Thank you.

---

<div class="post-metadata">

**Author:** ![chaban](https://community.metabrainz.org/user_avatar/community.metabrainz.org/chaban/32/111349_2.png) [@chaban](https://community.metabrainz.org/u/chaban)\
**Post date:** [November 1, 2026, 11:28am UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/92 "2026-11-01T11:28:00Z")

</div>

> [@majkinetor](#):
>
> I have tones of stuff to do so can’t really design this right now. If you guys want it ASAP, just give me the spec 🙂

You asked for it:

> **[Voting assistant · majkinetor/musicbrainz-userscripts · Discussion #883](https://github.com/majkinetor/musicbrainz-userscripts/discussions/883?foobar)**
>
> More things are getting automated in the MusicBrainz database and volume of edits is ever increasing however the voting situation is not improving at the same velocity if at all. There are lots of ...

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [November 1, 2026, 11:36am UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/93 "2026-11-01T11:36:40Z")

</div>

> [@chaban](#):
>
> [Voting assistant · majkinetor/musicbrainz-userscripts · Discussion #883 · GitHub](https://github.com/majkinetor/musicbrainz-userscripts/discussions/883?foobar)

That looks a nice idea (and needs a new thread). Being able to flag up the differences is neat - but where is that processing going to happen? Calling up a morning list of subscribed edits is slow enough as it is. I try and filter it to just the last 24 hours and drop the URLs… it is then pot luck if it will return a page of results and can take minutes to respond (though once it has the first page, the subsequent pages are a little quicker).

Being able to ask for “my popular searches” without a stash of geeky bookmarks would certainly make voting more user friendly.

---

<div class="post-metadata">

**Author:** ![chaban](https://community.metabrainz.org/user_avatar/community.metabrainz.org/chaban/32/111349_2.png) [@chaban](https://community.metabrainz.org/u/chaban)\
**Post date:** [November 1, 2026, 11:57am UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/94 "2026-11-01T11:57:11Z")

</div>

> [@IvanDobsky](#):
>
> Being able to ask for “my popular searches” without a stash of geeky bookmarks would certainly make voting more user friendly.

Do you know the [voting suggestions](https://musicbrainz.org/vote)? Have you considered making your [own list of edit searches](https://musicbrainz.org/collection/ece5ad67-e46a-4936-b466-693031a719e0)?

I don’t think it’s possible with the current edit search to make a single search that includes everything you could be interested in.

> [@IvanDobsky](#):
>
> Calling up a morning list of subscribed edits is slow enough as it is.

It’s possible the SQL queries created from edit search conditions have potential for optimization.

FWIW, I’m experimenting with local [MB dumps](https://musicbrainz.org/doc/MusicBrainz_Database/Download) converted to [DuckDB](https://duckdb.org/) parquet files for high-speed queries to make reports like [Fun edit search to run on artists you've contributed to a lot - #18 by chaban](https://community.metabrainz.org/t/fun-edit-search-to-run-on-artists-youve-contributed-to-a-lot/815688/18) or the [phonk report](https://chaban-mb.github.io/musicbrainz-reports/phonk/)

Not suitable for daily voting however because edit and vote table are [not included in replication](https://musicbrainz.org/doc/Replication#Not_included_in_replication)

---

<div class="post-metadata">

**Author:** ![Comrade\_Mike](https://community.metabrainz.org/user_avatar/community.metabrainz.org/comrade_mike/32/60973_2.png) [@Comrade\_Mike](https://community.metabrainz.org/u/Comrade_Mike)\
**Post date:** [November 1, 2026, 12:47pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/95 "2026-11-01T12:47:57Z")

</div>

~2000 release date is fine for digital releases. The launch date of assorted digital stores is as relevant to digital release dates as Amazon’s launch date is to the release date of CDs. No-one should seriously argue that a CD can’t have been released in the '80s because Amazon didn’t exist then, and just because Spotify wasn’t a thing in the UK until 2009 doesn’t change the fact I was buying music in 2008 that was released in 2003.

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [November 1, 2026, 1:09pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/96 "2026-11-01T13:09:08Z")

</div>

@Comrade_Mike I am not saying to make a hard date cutoff. This is more about the people who use a script without looking to transfer data from one of the mainline digital stores. Compared with now, very little digital music was around in 2000 and the first half of that decade. So if a script default falls to after the store existed it allows less automated damage.

If someone knows they have an Amazon MP3 then sure, they put that date in and link to the Amazon store. But if are importintg data from Deezer and Spotify then they are unlikely to have a release from 2000 in their hands.

---

<div class="post-metadata">

**Author:** ![IvanDobsky](https://community.metabrainz.org/user_avatar/community.metabrainz.org/ivandobsky/32/11785_2.png) [@IvanDobsky](https://community.metabrainz.org/u/IvanDobsky)\
**Post date:** [November 1, 2026, 1:14pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/97 "2026-11-01T13:14:57Z")

</div>

> [@chaban](#):
>
> Do you know the [voting suggestions](https://musicbrainz.org/vote)? Have you considered making your [own list of edit searches](https://musicbrainz.org/collection/ece5ad67-e46a-4936-b466-693031a719e0)?

It is a time thing. I still work and pay taxes, so I can’t devote many hours to voting. This is why I focus on areas I know and artists I know. I check six to ten pages per morning (now I have got the URLs out of the listing)

---

<div class="post-metadata">

**Author:** ![chaban](https://community.metabrainz.org/user_avatar/community.metabrainz.org/chaban/32/111349_2.png) [@chaban](https://community.metabrainz.org/u/chaban)\
**Post date:** [November 4, 2026, 8:18pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/98 "2026-11-04T20:18:53Z")

</div>

> [@majkinetor](#):
>
> I would need better specification what is deemed equivalent and in what cirmustances etc.

See [style guidelines](https://musicbrainz.org/doc/Style/Relationships) and [relationships table](https://musicbrainz.org/relationships)

Writer is less specific than composer and lyricist for example. Such edits simply must not happen:

> **[Edit #156923556 - MusicBrainz](https://musicbrainz.org/edit/156923556)**

---

<div class="post-metadata">

**Author:** ![majkinetor](https://community.metabrainz.org/user_avatar/community.metabrainz.org/majkinetor/32/2380_2.png) [@majkinetor](https://community.metabrainz.org/u/majkinetor)\
**Post date:** [November 5, 2026, 5:11pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/99 "2026-11-05T17:11:12Z")

</div>

> <https://github.com/majkinetor/musicbrainz-userscripts/issues/928>
>
> Credit Hoarder can end up putting \*\*writer\*\*, \*\*composer\*\* and \*\*lyricist\*\* on t…he same artist for the same work. Sources often list all three (Qobuz \`ComposerLyricist\` → writer next to separate \`Composer\` / \`Lyricist\` rows, Deezer \`Writer\` + \`Composers\`, Tidal / Apple \`Writer\` / \`Songwriter\`). Writer is then redundant, and MusicBrainz says to avoid it in that case.
> 
> \## What MusicBrainz says
> 
> From the \[artist-work relationship types\](https://musicbrainz.org/relationships/artist-work) page, checked 2026-11-05:
> 
> \> \*\*\[writer\](https://musicbrainz.org/relationship/a255bca1-b157-4518-9108-7b147dc3fc68)\*\*: This relationship is used to link a work to the artist responsible for writing the music and/or the words (lyrics, libretto, etc.), when no more specific information is available. If possible, the more specific composer, lyricist and/or librettist types should be used, rather than this relationship type.
> 
> The tree:
> 
> \- \*\*authorship\*\*
> - \*\*writer\*\*
> - composer · lyricist · librettist
> - revised by · scriptwriter · translator · reconstructed by
> - \*\*arranger\*\* (instrument arranger → orchestrator, vocal arranger)
> - adapter · previous attribution · choreographer
> 
> So:
> 
> \- Composer + lyricist is not the \*definition\* of writer. Writer is the vague fallback ("music and/or words, we don't know which"), and composer + lyricist says exactly which part, so it covers everything writer could say.
> \- \*\*Arranger is not under writer\*\*: it's a sibling under \*authorship\*. It plays no part in this rule, and an arranger credit is never added, removed or kept because of it.
> \- Not every child of writer makes writer redundant. Revised by, translator and reconstructed by describe work on an existing piece, not writing it: a translator of the lyrics still might, or might not, be a writer of the original. Only \*\*composer, lyricist, librettist\*\* (and \*\*scriptwriter\*\*, for dramatised works) answer the "music and/or words" question that writer asks.
> 
> \## Rule
> 
> Per \*\*work\*\* (these are work relationships, not track ones), per \*\*artist\*\*:
> 
> \> Writer is redundant when the same artist has \*\*composer, lyricist, librettist or scriptwriter\*\* on the same work. Then Credit Hoarder doesn't add writer and offers to remove an existing one.
> 
> | Artist has on the work (existing or incoming) | Writer (incoming or existing) |
> |---|---|
> | composer + lyricist | redundant |
> | composer only | redundant |
> | lyricist only | redundant |
> | librettist / scriptwriter | redundant |
> | only translator / revised by / reconstructed by / arranger | \*\*keep\*\* |
> | nothing else | keep / add |
> 
> "Existing or incoming" on both sides: an incoming composer can make an existing writer redundant, and an existing lyricist can make an incoming writer redundant.
> 
> \### The half cases (composer only, or lyricist only)
> 
> Writer is redundant here too. Writer means "music and/or words", which is already true of someone who is lyricist only, so it adds nothing provable.
> 
> The case for keeping it: a source that lists someone under both "Writer" and "Lyricist" \*may\* mean they wrote the music as well. That's a guess, and if it's true the right credit is \*\*composer\*\*, not writer, and adding writer wouldn't record it anyway. No automatic composer either: the source didn't say it.
> 
> \### Removing existing writer relationships
> 
> \- A removal is its own \*remove relationship\* edit, which voters see. It shows in the review table as a separate, visibly marked row (removal, not addition) and is selected by default; the user can unselect it.
> \- An existing writer carrying something the specific roles don't, a \*\*credited-as name\*\* or \*\*attributes\*\* (e.g. \*additional\*), isn't selected for removal by default: the row shows why, and the user decides.
> \- Only the same artist on the same work counts. A writer for artist A is never removed because artist B is the composer.
> 
> \## Remove the Equivalence sets option (#62)
> 
> \`EQUIVALENCE\_SETS\` in \`src/constants.js\` holds \`\['writer', 'composer'\]\`, applied \*\*both ways\*\*, behind the \*Equivalence sets\* dedup option. It doesn't work well: an existing writer makes an incoming composer count as "already in MB", so the vague role blocks the specific one that should replace it.
> 
> This issue removes it entirely: the option, its setting, \`EQUIVALENCE\_SETS\`, the \`equivalenceLookup\` expansion in \`relAlreadyExists\` and the \`'equivalence'\` log reason in \`src/dispatch.js\`. The rule above takes its place:
> 
> \- existing \*\*composer / lyricist / librettist / scriptwriter\*\* → incoming writer is skipped;
> \- existing \*\*writer\*\* → the incoming specific role is \*\*added\*\*, and the writer is offered for removal.
> 
> \*\*No option for the new rule\*\*: it always applies. A stored value for the removed setting is ignored.
> 
> \## Remove the Duplicate roles option
> 
> The \*Duplicate roles\* option (\`dedupeDuplicateRoles\`, on by default) skips an incoming role when the same artist already has the same role on the same target, even if its attributes, credit or dates differ. #225 and #233 refined it: instrument / vocal attributes and their credited-as names still make two roles different, so one actor voicing several characters keeps every relationship.
> 
> The option goes, and its behaviour \*\*always applies\*\*, as it does now by default. With both options gone, the \*Deduplication\* section of the options popover (\`src/ui-bar.js\`) is removed, and \`dedupOpts\` no longer passes anything to \`dispatch.js\`. A stored value is ignored.
> 
> \## Done when
> 
> \- \[\] An incoming writer is skipped (logged with the reason) when the artist has a specific writing role on the work, existing or incoming in the same run.
> \- \[\] An existing redundant writer appears as a removal row, selected unless it has a credited-as name or attributes.
> \- \[\] An existing writer no longer blocks an incoming composer / lyricist.
> \- \[\] The Equivalence sets option and its code are gone; the new rule has no setting.
> \- \[\] The Duplicate roles option is gone and its dedup always applies; the Deduplication section is removed from the options popover.
> \- \[\] Translator, revised by, reconstructed by and arranger never count as specific writing roles.
> \- \[\] README updated (the docs skill), and a test on test.musicbrainz.org covering: composer + lyricist + writer from one source; existing writer + incoming composer; lyricist only + incoming writer; writer with a credited-as name.
> 
> \<sub\>Claude Opus 5.5 · effort: low (5)\</sub\>

---

<div class="post-metadata">

**Author:** ![chaban](https://community.metabrainz.org/user_avatar/community.metabrainz.org/chaban/32/111349_2.png) [@chaban](https://community.metabrainz.org/u/chaban)\
**Post date:** [November 11, 2026, 8:37pm UTC](https://community.metabrainz.org/t/credit-hoarder-userscript/815063/100 "2026-11-11T20:37:39Z")

</div>

These edit notes contain too much noise:

> **[Edit #157493568 - MusicBrainz](https://musicbrainz.org/edit/157493568)**

[Previous page](https://community.metabrainz.org/t/credit-hoarder-userscript/815063.md?page=4)

[Next page](https://community.metabrainz.org/t/credit-hoarder-userscript/815063.md?page=6)
