rhythmbox r6089 - in trunk: . plugins/audioscrobbler
- From: jmatthew svn gnome org
- To: svn-commits-list gnome org
- Subject: rhythmbox r6089 - in trunk: . plugins/audioscrobbler
- Date: Fri, 5 Dec 2008 13:04:54 +0000 (UTC)
Author: jmatthew
Date: Fri Dec 5 13:04:54 2008
New Revision: 6089
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=6089&view=rev
Log:
2008-12-05 Jonathan Matthew <jonathan d14n org>
patch by: "OrbWeaver" <orbweaver3d gmail com>
* plugins/audioscrobbler/rb-lastfm-source.c:
(station_is_subscriber_only): Personal radio streams are now
available to non-subscribers. Fixes #562867.
Modified:
trunk/ChangeLog
trunk/plugins/audioscrobbler/rb-lastfm-source.c
Modified: trunk/plugins/audioscrobbler/rb-lastfm-source.c
==============================================================================
--- trunk/plugins/audioscrobbler/rb-lastfm-source.c (original)
+++ trunk/plugins/audioscrobbler/rb-lastfm-source.c Fri Dec 5 13:04:54 2008
@@ -1618,13 +1618,10 @@
static gboolean
station_is_subscriber_only (const char *uri)
{
- /* personal and loved-tracks radio */
- if (g_str_has_prefix (uri, "lastfm://user/")) {
- if (g_str_has_suffix (uri, "/personal"))
- return TRUE;
-
- if (g_str_has_suffix (uri, "/loved"))
- return TRUE;
+ /* loved-tracks radio */
+ if (g_str_has_prefix (uri, "lastfm://user/") &&
+ g_str_has_suffix (uri, "/loved")) {
+ return TRUE;
}
/* user tag radio */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]