banshee r4966 - in trunk/banshee: . src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio
- From: gburt svn gnome org
- To: svn-commits-list gnome org
- Subject: banshee r4966 - in trunk/banshee: . src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio
- Date: Mon, 26 Jan 2009 04:13:49 +0000 (UTC)
Author: gburt
Date: Mon Jan 26 04:13:49 2009
New Revision: 4966
URL: http://svn.gnome.org/viewvc/banshee?rev=4966&view=rev
Log:
2009-01-25 Gabriel Burt <gabriel burt gmail com>
* src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs:
Don't do any checks about whether the user is a subscriber or not before
adding a station to their list. If they try to access a list they're not
authorized to, they'll get that message, and we avoid false negatives.
* src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs: Add
another default station for songs tagged 'Creative Commons'
Modified:
trunk/banshee/ChangeLog
trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs
trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs
Modified: trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs (original)
+++ trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/LastfmSource.cs Mon Jan 26 04:13:49 2009
@@ -231,12 +231,7 @@
ClearChildSources ();
sorting = true;
foreach (StationSource child in StationSource.LoadAll (this, Account.UserName)) {
- if (Connection.Subscriber ||
- (!child.Type.SubscribersOnly &&
- !(child.Type == StationType.Personal && child.Arg != null && child.Arg.Trim().ToLower() == last_username.Trim().ToLower())))
- {
- AddChildSource (child);
- }
+ AddChildSource (child);
}
sorting = false;
SortChildSources ();
Modified: trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs
==============================================================================
--- trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs (original)
+++ trunk/banshee/src/Extensions/Banshee.Lastfm/Banshee.Lastfm.Radio/StationSource.cs Mon Jan 26 04:13:49 2009
@@ -566,6 +566,7 @@
stations.Add (new StationSource (lastfm, Catalog.GetString ("Loved"), "Loved", creator));
stations.Add (new StationSource (lastfm, Catalog.GetString ("Banshee Group"), "Group", "Banshee"));
stations.Add (new StationSource (lastfm, Catalog.GetString ("Neighbors"), "Neighbor", creator));
+ stations.Add (new StationSource (lastfm, Catalog.GetString ("Creative Commons"), "Tag", "creative commons"));
}
return stations;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]