[rhythmbox] audioscrobbler: add "group radio" option



commit c3f6cdef2f0f2d7a978771b9e937c4e91140ca3a
Author: Jamie Nicol <jamie thenicols net>
Date:   Sat Jul 17 18:40:51 2010 +0100

    audioscrobbler: add "group radio" option

 .../rb-audioscrobbler-profile-source.c             |    3 +++
 .../rb-audioscrobbler-radio-source.c               |    3 +++
 .../rb-audioscrobbler-radio-source.h               |    1 +
 3 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/plugins/audioscrobbler/rb-audioscrobbler-profile-source.c b/plugins/audioscrobbler/rb-audioscrobbler-profile-source.c
index a471c63..ebf3ed5 100644
--- a/plugins/audioscrobbler/rb-audioscrobbler-profile-source.c
+++ b/plugins/audioscrobbler/rb-audioscrobbler-profile-source.c
@@ -936,6 +936,9 @@ rb_audioscrobbler_profile_source_station_creator_type_combo_changed_cb (GtkCombo
 	case RB_AUDIOSCROBBLER_RADIO_TYPE_GLOBAL_TAG:
 		text = _("Tag name:");
 		break;
+	case RB_AUDIOSCROBBLER_RADIO_TYPE_GROUP:
+		text = _("for Group:");
+		break;
 	default:
 		text = "";
 		break;
diff --git a/plugins/audioscrobbler/rb-audioscrobbler-radio-source.c b/plugins/audioscrobbler/rb-audioscrobbler-radio-source.c
index f6e6fc6..7e38e15 100644
--- a/plugins/audioscrobbler/rb-audioscrobbler-radio-source.c
+++ b/plugins/audioscrobbler/rb-audioscrobbler-radio-source.c
@@ -52,6 +52,7 @@ static const char* radio_types[] = {
 	N_("Loved Tracks"),
 	N_("Recommendations"),
 	N_("Tag Radio"),
+	N_("Group Radio"),
 	NULL
 };
 
@@ -69,6 +70,7 @@ static const char* radio_urls[] = {
 	"lastfm://user/%s/loved",
 	"lastfm://user/%s/recommended",
 	"lastfm://globaltags/%s",
+	"lastfm://group/%s",
 	NULL
 };
 
@@ -86,6 +88,7 @@ static const char* radio_names[] = {
 	N_("%s's Loved Tracks"),
 	N_("%s's Recommended Radio"),
 	N_("%s Tag Radio"),
+	N_("%s Group Radio"),
 	NULL
 };
 
diff --git a/plugins/audioscrobbler/rb-audioscrobbler-radio-source.h b/plugins/audioscrobbler/rb-audioscrobbler-radio-source.h
index 8c205da..c1af4e4 100644
--- a/plugins/audioscrobbler/rb-audioscrobbler-radio-source.h
+++ b/plugins/audioscrobbler/rb-audioscrobbler-radio-source.h
@@ -45,6 +45,7 @@ typedef enum
 	RB_AUDIOSCROBBLER_RADIO_TYPE_LOVED_TRACKS,
 	RB_AUDIOSCROBBLER_RADIO_TYPE_RECOMMENDATION,
 	RB_AUDIOSCROBBLER_RADIO_TYPE_GLOBAL_TAG,
+	RB_AUDIOSCROBBLER_RADIO_TYPE_GROUP,
 
 	RB_AUDIOSCROBBLER_RADIO_TYPE_LAST
 } RBAudioscrobblerRadioType;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]