Server Updates

Changes mainly of interest to MusicBrainz Users

Album “Meta” Counts

The count of tracks, disc ids and TRMs held for each album (the “albummeta”
data) was often inaccurate.  Additionally, some albums didn’t have an
“albummeta” row, which actually caused them to disappear entirely from their
respective artists’ pages!  These bugs have now been fixed.

The “compact” display mode of the “show artist” page displays these counts; if
one of the counts is zero it now just leaves a blank space, instead of showing
a zero and the relevant icon.  This makes it easier to spot which albums
have no disc ids or no TRMs.

Like the “compact” display mode, these meta counts are now also shown when you
perform an album search.

Non-Album Tracks

The album name “Non-album tracks” is now changed to “[non-album tracks]”, in
keeping with the style of using “[…]” to signify special meaning within
MusicBrainz (e.g. [silence], [data track] etc).

As new N.A.T. albums are created, they (i.e. the album name itself) won’t be
added to the search indices (although the tracks within them will be).  The
existing N.A.T. album names are staying in the indices, for now, but may be
removed soon.

If two artists, both with N.A.T. albums, are merged, then the two N.A.T.
albums are merged together, keeping all the tracks.

Previously if the track numbers of non-album tracks for an artist were not
continuous (if there were “gaps”, e.g. 1, 2, 4, 5) then adding a N.A.T. would
fail.  This is now fixed.

N.A.T. albums are automatically deleted when their last track is removed.

The “show track” page no longer shows the (meaningless) track sequence number
for non-album tracks.

The Tagger

The %-relevance values shown in the lookup page now use the same more detailed
algorithm (weighted similarity calculation) that the Tagger itself
uses.  This should make the overall matching process more accurate.

When showing a list of matching tracks, the track length is highlighted
according to how well it matches the length of the track you’re trying to
tag.  Green indicates a good match, red represents a very bad match, and
blue is somewhere in the middle.  If insufficient information is
available, it’s black.

Also when showing match tracks, a “tag” link is included on that page, so you
don’t need to click through to the next page in order to tag.

The main lookup page (/taglookup.html) now moves the input focus into the form
when the page loads.

The sidebar search panel now works when used within the Tagger.

Voting

You can now vote more than once on each moderation.  Only your most recent
vote counts.  In other words, you can change your mind.  Because of this, you
must now wait until the moderation closes before you can see a list of all
votes for a moderation (on /showmod.html).  If it’s your moderation you can
always see the votes, of course.

Also on the “show moderation” page (/showmod.html) you can now see the date
and time at which each vote was cast.  If someone votes more than once (and
changes their mind), then the old, ignored votes are shown in grey.

It’s now also possible to have a “No Vote” button” – go to your preferences
page to enable it.  This makes it much easier to vote on a whole page of
moderations, but not vote on some of them (in which case, those moderations
will keep on showing up in your list of things to vote on).  This is
controlled by two new preferences: “Abstain by default” and “Show the ‘No
Vote’ option”.  Try out the four possible combinations to see how they work.

Miscellaneous

A “Search Google” link has been added to the “show album” and “show track”
pages.  These Google links now search for exact phrases, hopefully making it
easier to find what you want more quickly.  So for example if you click the
“search” link from this track, the search query used is “Alice in Chains” “Love, Hate, Love”.

Clicking on the album attributes link (which normally pops up the attributes
guide) now works without Javascript too.

“Remove Track” mods now show both the track name (with link) and the album
name (with link) – as long as the track still exists, anyway.

In the “batch operation” page (where you select what you want to do to the
albums you just tagged), if fewer than 2 albums are tagged, then we now show a
disabled “Select” button, instead of the message “Merge album not
available”.  This is more consistent with how such user interfaces
usually work.

“Guess Case” now knows to keep these abbreviations in upper case: DJ, MC, TV,
MTV.

The “top moderators” page now shows the top 25 moderators, not just the top
10.

There was a problem with anonymously adding albums; this is now believed to be
fixed.

Some moderators have proven that they can’t be trusted with the ability to
“automod” case-changes, because they make many case changes which go against
the style guide for no valid reason.  To handle this, a new “privilege” has
been created, dubbed the “Untrusted” bit.  Moderators given this bit cannot
automod anything, except for “Add TRMs”.

Incomplete home page URLs entered in moderators’ profiles are now “guessed”,
so for example http://www.example.com becomes http://www.example.com/

On the “create new login” page, a few paragraphs of help text have been added
about what we will and won’t do with your e-mail address.

You must be logged in to send a message to another moderator.

Changes mainly of interest to MusicBrainz Programmers

Some TRMs were associated with some tracks more than once.  This caused some
RDF queries to return duplicate results.  These duplicates have now been
removed, and the “insert” code has been modified to prevent them from
reappearing.

The “FindDistinctTRMID” RDF query was failing because returning TRMs as
results wasn’t properly handled.  This has now been fixed.

Changes mainly of interest to MusicBrainz Server Programmers

Mail is now generated using MIME::Lite instead of “hand-crafting” the headers
etc.  As well as making it much more likely that this is done correctly, it
also means that it will be much easier to use more advanced MIME capabilities
(e.g. HTML e-mail, attachments) in the future.

Unique database indices have been added to trmjoin (trm, track) and albumjoin
(album, track).  A primary key “id” column has been added to both
moderator_preference and moderator_subscribe_artist.

Tagger sessions are now automatically recognised by the web server, and an
“mbt=1” is written into the session data (even before the user has logged
in).  This is done by detecting the request to “/tagger/intro.html?mbt=1”,
which is the first page loaded by the Tagger, and which nothing else would
normally use.  This makes it possible to more reliably detect when the web
session is within the Tagger, and adjust accordingly (e.g. the sidebar search
panel).

Bugs and RFEs Closed

Dave Evans

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s