Improve the detection of when to fall back to the old Last.fm API
authorAlberto Garcia <agarcia@igalia.com>
Wed, 17 Feb 2010 00:11:41 +0000 (00:11 +0000)
committerAlberto Garcia <agarcia@igalia.com>
Wed, 17 Feb 2010 00:12:05 +0000 (00:12 +0000)
commit602e3f5f1d34beebfa195b27e20f542c97ba7d11
tree2f9320d5d7ebdd1834ee60a58d98b2661545f32e
parenta7ae8b4fa64adb47f266d5aab09cb2b5516e82b2
Improve the detection of when to fall back to the old Last.fm API

Instead of falling back only when there's an error setting a radio
station, do it also when there's an error retrieving a playlist.

In both cases, don't do anything if the user is a subscriber.

Fixes: #8975 (In country USA selecting "play" results in error message)
src/lastfm-ws.c