BBC R&D: Using MusicBrainz and Twitter to tell artists when their tracks are played on BBC Radio

Thursday 7 November 2013, 08:30

Michael Smethurst Michael Smethurst Development Producer

As part of a 10% time project, myself and my colleagues in BBC R&D have created 7 Twitter bots that will tweet bands and artists whenever their music is played on BBC Radio:

1. BBCR1MusicBot - now playing on Radio 1

2. BBC1XMusicBot - now playing on 1xtra

3. BBCR2MusicBot - now playing on Radio 2

4. BBC6MusicBot - now playing on 6Music

5. BBCR3MusicBot - now playing on Radio 3

6. BBCANMusicBot - now playing on Asian Network

7. BBCMcrMusicBot - now playing on BBC Radio Manchester

r&d twitter bot.jpg The BBC 6 Music Twitter bot

What is this?

The original idea came from a friend whose music occasionally gets played on Radio 1, 1xtra and 6Music. Almost always he missed this and either found out later from a friend or never found out at all. But he does use various bits of social media (including Twitter) to make contact with fans and promote his releases and live appearances.

Unofficial now playing Twitter feeds exist for some (though not all) BBC radio networks. The only thing this adds is greater coverage of radio networks and the inclusion of @mentions so now playing information appears in the mentions timeline of the artist (or artists) concerned.

The accounts we created are designed to notify artists and not designed to be followed unless you want to drown in now playing information. That said the unofficial Radio 1 now playing account has over 40,000 followers...

How to use this if you're an artist

To power online music services such as BBC iPlayer Radio, Playlister and /music the BBC uses metadata provided by MusicBrainz, a community maintained music encyclopedia. If you use Twitter and you're a music artist or an agent or a publicist or similar and would like now playing notifications you need to check that your Twitter account handle is in MusicBrainz. Go to MusicBrainz and search for yourself or your band using the artist search. And hopefully you'll see yourself in the search results. (If you don't see yourself in the results then you'll need to add yourself or your band to MusicBrainz. Tom Robinson wrote an excellent guide to getting started with MusicBrainz here.) Click on the search result and you'll see your details. At the bottom of the right hand column you should see a list of external links. If your Twitter account isn't there then you'll need to add it.

Luckily anyone can edit MusicBrainz but first you'll need to register here. Once you've done that and logged in you'll see an "editing" section in the right hand column of your artist page. Under there there's an option to "Relate to URL". Click that, select "has a microblog at" from the type drop-down, enter the URL of your Twitter account, press "Enter edit" and next time one of your tracks gets played out on BBC radio you should get a Twitter notification.

Whilst you're editing MusicBrainz...

...you can also add links to your homepage, Myspace page, Facebook page, SoundCloud page, blog, YouTube channel, music store, Discogs page, Wikipedia page etc. Links to all of these will automatically appear on your BBC /music page.

It's also worthwhile adding any track and release information and keeping that up to date. Because artist names can be ambiguous (there are 17 different artists called Aurora in MusicBrainz) we use track titles to disambiguate artist names and match them to MusicBrainz. So if the artist is called Aurora and the track title is Spectral Bass we can confidently say it's this Aurora.

Without the track title in MusicBrainz we can't reliably get a MusicBrainz artist ID and without that we can't get your Twitter handle. In general the more information you add to MusicBrainz and the more up to date that information is kept the better your representation on current and future BBC music services.

Behind the scenes

National music radio networks (and Radio Manchester) use a digital music playout system, where tracks are ripped to the equivalent of giant iPods and played out from a touch screen in the studio.

Every time a track starts to play the system sends a message to a message queue with now playing information (start time, duration, artist(s), track title, release title, label, catalogue number etc). Another piece of software picks up these messages, matches the artist(s) to MusicBrainz identifiers and puts the enhanced data onto another message queue. Which gets picked up by another piece of software which matches the network and timing information to programme information in PIPs (the system behind BBC iPlayer, BBC iPlayer Radio and /programmes). And another message queue takes that data and writes it to PIPs where it's used to power tracklists on programme pages and /music.

We've tapped into these queues of queues to get track information, artist MusicBrainz IDs and programme information. And then looked to MusicBrainz to check if the artist has a Twitter handle we can use to generate a mention.

Some caveats

1. Only the networks mentioned above currently use the music playout system. If other networks in the nations and regions switch to the same system then we'll add similar accounts for them.

2. Some pre-recorded programmes do not include now playing information.

3. TV does not use the playout system so any music played on TV as performance or background isn't included here.

4. In the past more specialist music was often not ripped to the playout system but played from CDs and vinyl in the studio. We had no record of now playing information for this music. Increasingly even where music is not played out of the playout system, (meta)data for the track and timing information is entered so we do get now playing information.

This project is an experiment from BBC R&D. I’d be very interested in your feedback on it, so please leave a comment below.

Michael Smethurst is a Development Producer in BBC R&D

Comments

Jump to comments pagination
 
  • rate this
    0

    Comment number 1.

    About time we had these! ;) I've been doing something similar but didn't release it.

  • rate this
    0

    Comment number 2.

    You could also include a link to the artist and/or release on the BBC Music site (or Musicbrainz site).as well as the link to the BBC Radio show.

  • rate this
    0

    Comment number 3.

    What about making the same data available as RSS feeds?

  • rate this
    0

    Comment number 4.

    PS If you have a Wikipedia link but no Twitter ID in MusicBrainz, you can check Wikidata for a Twitter ID.

  • rate this
    0

    Comment number 5.

    @beth Glad you like :-)

    @rovastar We did think about also adding a link to the /music artist pages but decided against it for a couple of reasons:
    - tweet lengths are variable and some already get quite long. Especially for urban tracks with multiple contributors
    - adding two links might look and feel spammy to the artists concerned and they might trust the tweets less. Also it *might* make tweets more readily fall into twitter spam filters and we've already had some problems with that...

    We could have added links to artist pages instead but then you lose some of the context of the episode the track was played in (although the 'latest tracks' links back to the episode page). Linking to the episode page keeps you in the programme context and the artist page is only a click away (from the tracklist) and MusicBrainz one click past there

    @andy I did think the 'latest tracks' module on artist pages:
    http://www.bbc.co.uk/music/artists/d5da1841-9bc8-4813-9f89-11098090148e#latest-tracks
    had a subsidiary resource with rss available:
    http://www.bbc.co.uk/music/artists/d5da1841-9bc8-4813-9f89-11098090148e/latest-tracks.rss
    but that doesn't seem to be the case. So either it did and I'm misremembering or it's been removed.

    RSS for radio stations is available via a slightly circuitous route. The old Radio and Music R&D team wrote some code to scrobble national radio now playing data to last.fm:
    http://www.bbc.co.uk/blogs/radiolabs/2007/12/scrobbling_your_bbc_radio_list.shtml
    and you can get RSS from there.

    That said I don't think RSS solves the problem we were trying to solve here: the simplest means possible to notify artists they're on the radio. Personal preference would be to create RSS for all timed aggregations but for different reasons than this.

    On checking Wikidata for Twitter IDs, MusicBrainz has pretty good coverage of Twitter accounts for "major" artists; it's the smaller bands that tend to be missing. Given Wikipedia notability criteria going through Wikipedia to Wikidata probably wouldn't add a lot more. And then there's the usual flakey Wikipedia URLs to contend with which makes that bridge harder to cross. Also, as per the post, before we even get to Twitter handles we need to use track titles to disambiguate artist names so if artists add release and track information to MusicBrainz it's only going to improve the results.

 

Comments 5 of 13

 

This entry is now closed for comments

Share this page

More Posts

Previous
Creating the BBC Academy Website

Wednesday 6 November 2013, 11:57

Next
What's on BBC Red Button - 9-15 November

Saturday 9 November 2013, 06:00

About this Blog

Staff from the BBC's online and technology teams talk about BBC Online, BBC iPlayer, BBC Red Button and the BBC's digital and mobile services. The blog is reactively moderated. Your host is Nick Reynolds.

Blog Updates

Stay updated with the latest posts from the blog.

Subscribe using:

What are feeds?

Links about BBC Online

BBC Internet blog Archive

owl-plain-112.jpg 2012 ι 2011 ι 2010 ι 2009 ι 2008 ι 2007

Tags for archived posts