Re: Works bot
Jesse W <[email protected]> Thu, 05 Mar 2015 09:20:40 -0800
| Newsgroups | gmane.comp.audio.musicbrainz.devel |
|---|---|
| Message-ID | <1425576040.14416.25.camel@zareason-alto4330> |
I suggest that writing a program to *analyse* the scope of the work, first, would be useful. Download the database, write a bunch of queries to identify possible linkages, (and divide them into lots of sub-categories (like the presence of tags, presence of various external identifiers like Wikidata or other IDs, number of identical artists, track names, works, etc.)) and post your results. Then we'll have more detail to think about a bot to do actual updates. It certainly seems like something worth investigating further, though! Jesse On Thu, 2015-03-05 at 00:11 +1030, Daniel Sobey wrote: > Hi list, > > > I would like to write a bot for musicbrainz that automatically links > recordings to works. > When I add a work to musicbrainz I try and add all the existing > recordings to the work. > This can take time and you cannot keep track of all new recordings > that are added to the database. > > > What the bot would do is: > 1. look through the database for works > 2. Look at all the recordings linked to that work and get the Name and > list of artists on the recording > 3. Find recordings with the exact same name and list of artist and see > if they already have a recording to work relationship > 4. submit an edit to add the recording to work relationship with the > same flags as the reference recording ie cover, live > > > Rate limiting: > it should not look at works with open edits or are younger than 7 > days. > It should not look at recordings with any open edits or are younger > than 7 days. > It should see if any of the releases that a recording is linked to has > open edits or is younger than 7 days. > > it should not submit too many edits at one time. > > > > > Currently this is in the idea stage with no code written yet. > All feedback welcome. > > > Regards, > > > Daniel > _______________________________________________ > MusicBrainz-devel mailing list > [email protected] > http://lists.musicbrainz.org/mailman/listinfo/musicbrainz-devel