Works bot
Daniel Sobey <[email protected]> Thu, 5 Mar 2015 00:11:43 +1030
| Newsgroups | gmane.comp.audio.musicbrainz.devel |
|---|---|
| Message-ID | <CAAphvGpsj7UWfLOooujzPeOcmMw2DSBU52dz4DLxavJR6dBhOQ@mail.gmail.com> |
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