Is there a one-liner JavaScript code to remove all relationships

Hi,:sweat_smile:

Is there a one-liner JavaScript code to remove all relationships of a work, recording, or other entity in MusicBrainz?

I recently discovered that nearly 300+ HOYO-MiX works were mistakenly included under a single work named “Genshin Impact.” For those unfamiliar with it, Genshin Impact is a popular Chinese anime-style game, and all of its in-game music is created by the HOYO-MiX team. The name “Genshin Impact” should not be treated as a “Big Work,” and it has even been linked to a product entity on VGMdb - Genshin Impact, further indicating that it shouldn’t be categorized as a MusicBrainz work.

If aiming to create a catalog-style grouping, it would be better to establish a work series or recording series, but this would require a significant amount of work. So instead, I created a RG series (Music of Genshin Impact) that encompasses all HOYO-MiX releases instead.

Thanks for the help!

I have a bookmarklet for that

3 Likes

that works, helps a lot, thank u :face_savoring_food:

Why not?
Isn’t the Soundtrack work type done exactly for this?

1 Like

Even if we treat it as a single large-scale work, it still wouldn’t make sense to dump all soundtrack pieces into it. If insists on treating Genshin Impact as a single overarching entity, then it should still be represented as a Work Series, not a single Work. For example, similar to this structure:
https://musicbrainz.org/series/4558f8e9-3508-473b-989d-4239bbad5e68

That is a collection of thematic soundtrack works organized under a series.
Genshin Impact music also contains multiple thematic groups (region music, battle music, character themes, event music, etc.), so a Work Series would make far more sense than merging everything into one Work with hundreds of unrelated “parts.

In your example, each film is a soundtrack work.
It’s like this game.
Isn’t it one game?

  • One film one soundtrack work
  • One game one soundtrack work

Same same.

I’m trying to leave an edit note to the original editor but MusicBrainz.org is lagging like hell.

Yes, exactly. It’s like splitting the music into Chapter 1, Chapter 2, and so on, rather than dumping all of them — nearly a thousand tracks, with more to come — into the same Work. That would create a mess I think.:sweat_smile:

Wait.
You showed a Star Wars example done exactly like what you are deleting for Genshin Impact.
And you say Star Wars example is good. :woozy_face:

Sorry, I gave a wrong example. :face_savoring_food:

What I mean is that all HOYO-MiX’s works should not be placed arbitrarily under a single work named after the game, especially given how many of them there are. Instead, they should be organized as a work series or a release group series; otherwise, it will become a mess.

Oh, i found one game OST example: Biohazard (aka Resident Evil) - MusicBrainz

I’m not sure whether there is an issue here really. It actually does make sense for these works to be part of a game soundtrack larger work; I guess arguably you could say some of them are part of the soundtrack for Genshin Impact and some are part of the soundtrack for a specific expansion of the game, since you could see each further expansion as a “new game” of sorts - although they all are playable in the same big world AFAICT so not sure if that’s really more sensible than having all of them under the main game entry.

Obviously, that doesn’t mean you cannot at the same time also have a release group series, for example.

3 Likes

Biohazard release group series.
It’s something else than the work related entities.

@KenParker_CN
I would like to vote no.
But I’ll do it only in a few days, in case you change your mind and mass cancel.
Because if I vote no now, it would send you 332 emails.

2 Likes

@chaban
Why did you vote yes?
Don’t we usually have one parent soundtrack work for one film/game?

1 Like

There was only half an hour left so I voted no, sorry for the emails @KenParker_CN :sob:

There’s 3 days to vote now, I also think this could be both a work and a release group series.

1 Like

@KenParker_CN
You should not remove this parent soundtrack work, it’s totally the norm and it exactly follows the definition of work soundtrack type:

A soundtrack is the music that accompanies a film, TV program, videogame, or even book.

Style/Work:

John Williams’ soundtrack for Star Wars, Episode V: The Empire Strikes Back is set to “Soundtrack”, but the Imperial March should not be, since it’s not itself a soundtrack, just part of one.

The Empire Strikes Back is a film but it’s the same for a game, IMO.

3 Likes

The voting will close in 5 hours, and there are currently 60 edits with 2 yes and 1 no votes.

2 Likes

If these are all songs for a single game I think the work should stay.

With such a big work you may want to additionally create series and maybe even sub-works (if some of these tracks are for specific expansions or something) but I’m not sure why we would remove the work for the game. It being big or messy is not a good reason for removal imo.

I’m not that familiar with Genshim Impact so sorry if I have misunderstood anything. In any case I have voted no because it definitely seems like some more discussion is warranted :blush:

3 Likes