Show explicit error message if the radio is geo restricted
authorAlberto Garcia <agarcia@igalia.com>
Mon, 21 Jan 2013 07:55:07 +0000 (09:55 +0200)
committerAlberto Garcia <agarcia@igalia.com>
Mon, 21 Jan 2013 07:58:32 +0000 (09:58 +0200)
commit8813d4d291f58b4293ad12afbe9e32ac3a2963e4
tree2cb2e4acdf1f5811b8c07f8794608b0834f219e2
parent557825d0ee34fc2267c6da93223fcd001b3ed9d7
Show explicit error message if the radio is geo restricted

Since January 2013, the Last.fm radio streaming service is only
available in a few selected countries:

http://www.last.fm/announcements/radio2013

This patch shows an explicit error message in this case, instead of
the generic "Invalid radio URL".
src/controller.c
src/lastfm-ws.c
src/lastfm-ws.h