13 settembre 2008

RadioLabs BBC, software per il futuro della radio

Istruttiva come sempre la lettura degli "hack", le imprese dei programmatori della BBC. In questa interfaccia tra BBC Programmes e iTunes, Matthew Wood ci mostra una possibile futura modalità di "sintonia" dei programmi della radio (o della televisione), per un ascolto degli stessi attraverso Internet. Ancora una volta mi trovo di fronte a una forma di ibridizzazione tra radio e rete che non ha nulla che vedere con la trasmissione digitale della radio. Matthew può utilizzare iTunes per accedere ai contenuti della BBC (anche se questi fossero trasmessi, on air, sulle antiquate onde medie) senza lasciare il Web. 
Il suo hack, programmato nell'esoterico linguaggio inventato da Ericsson, Erlang (per favore, non chiedetemi niente, nella comunità open source esce un nuovo linguaggio ogni mese), estrae le informazioni che Programmes mette a disposizione in forma human e machine-readable. Programmes, mi ero scordato di dirlo, è il nuovo sito Web sperimentale in cui tutti i programmi della BBC vengono classificati per canale e per genere, una sofisticatissima guida ai contenuti che in questo caso viene interfacciata direttamente con un altro software, iTunes. Le informazioni che escono da Programmes vengono convertite nel protocollo di accesso ai dati utilizzato da iTunes. Si chiama Daap e se fino a poco tempo si trattava di un protocollo assolutamente proprietario, oggi Daap viene offerto in licenza commerciale da Apple proprio per lo sviluppo di applicazioni di questo tipo. 
Il risultato di tutto l'ambaradan è una colonna sinistra di iTunes dove ogni "playlist" corrisponde a una categoria di programmi e ogni "traccia" è l'episodio di un programma. In teoria potrebbe diventare un modo per navigare in una libreria di podcast.

Things to do with /programmes #431: iTunes!

Matthew Wood 9 Sep 08, 09:55 PM

If you've been reading RadioLabs for a while you'll know that we go on about how we've tried to design bbc.co.uk/programmes for machines as well as for people.
What we mean is that we've tried to make it easy for machines to get at the programme information behind the site, so that it can be re-presented in useful and novel ways.
Here's an example from a hack I've been working on. 
You're looking at a screenshot of iTunes running on my laptop. I've poked information from /programmes in there so that genres show up as playlists, and episodes show up as songs. It's as if BBC Radio were an iTunes shared library located somewhere on my local network. You can also see the hack in motion.
Here's what I was thinking: all my music is in iTunes. iTunes, via an Airport Express, plays out through my Big Speakers. Wouldn't it be nice to be able to use it to find out what this week's Thinking Allowed is about, or to enjoy some rough dubplate pressure from 1Xtra?
So how does it work?
Simply, the app grabs programme information from /programmes and re-presents it to iTunes in its native tongue: DAAP. We've tried to design /programmes to make this kind of thing easy.
For example: the app needs the following information:

which genres have radio programmes in them? for a specific genre, which programmes are currently available on-demand?
/programmes answers the first question at:
and the second at:
Only interested in Radio 4? Hack that url to:
If you'd like to try this for yourself I've made the code available for your delectation. It's My First Erlang, be gentle :-)
And if I've inspired you to try and build your own hack on top of /programmes, here's the way in - let us know how you get on!

Nessun commento: