NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
Collection of greasemonkey scripts for MusicBrainz editing.
mbz-loujine-common: constants (link and attributes types for MusicBrainz data
model) ,basic functionalities (XmlHttpRequest, data parsing)
mbz-loujine-releditor: jquery definition of a container to store script
interfaces (buttons) impacting the release relationship editor
mbz-loujine-sidebar: same for the sidebar appearing on artist and work pages
NB: XHR queries are set 1 second apart to avoid hitting the rate limit on musicbrainz
server.
The first scripts concern batch-editing in the relationship editor in order to
modify all selected recordings at once:
mbz-propagatedates: for each recording, copy the most accurate date (i.e.
dates with explicit day have priority over dates with only the month and so on)
to all relevant advanced relationships (performers, works, areas, places).
mbz-setattributes: add/toggle attributes to the recording-work relationships. For
the moment only the "live" and "partial" attributes are set.
mbz-setinstrument: replace all "performer" or "orchestra" recording-artist
relationships with specific instruments relationships. The main objective is to
replace incorrect "performing orchestra" used for chamber music groups (string
quartets, etc.)
mbz-setguessedworks: add related work suggested by the search server if the
recording has no linked work. Search is done using the recording title. An
optional prefix can be added for the search (useful to add full work info on
classical works)
mbz-showmissingwork: check for each recording whether a linked work exists.
Mark with:
mbz-replacerecordingartist: add performers from the recording advanced
relationships in a new column (with the instrument/vocal attribute if defined).
Show:
mbz-replacerecordingartist can set the selected performers above as recording
artist by checking the checkboxes and clicking "Replace selected artists"
mbz-showcountdiscid: display the number of linked discids in the discid tab
header
mbz-showcountalias: display the number of defined aliases and the list of
languages used (if any)
mbz-showperformancedurations: add each performance duration in a new column
mbz-showperformers: add performers from the recording advanced relationships in
a new column (with the instrument/vocal attribute if defined). Show:
mbz-showperformers can set the selected performers above as recording
artist by checking the checkboxes and clicking "Replace selected artists"
improve 'guessed work': use the track artist to limit the search to the correct
composer
improve 'set instrument': switch to drop down menu
ideas for future scripts:
Warning: those scripts are developed for my own use! I expect them to be
useless for other people, except as an example to adapt to your own goals.
Contributions and feedback are welcome.
For installation, follow the Greasemonkey manual
Please submit all patches to bitbucket for review.