# HG changeset patch # User nenolod # Date 1180419385 25200 # Node ID bca08b1c2d168a9f12bb4a8cfa46b40395c0fa7e # Parent 884966a37b7b9fdebf936c185bace1d8e48e34b6 [svn] - expose lastfm internal data over mowgli's global storage subsystem so that plugins can manipulate lastfm listening indirectly diff -r 884966a37b7b -r bca08b1c2d16 ChangeLog --- a/ChangeLog Mon May 28 03:15:02 2007 -0700 +++ b/ChangeLog Mon May 28 23:16:25 2007 -0700 @@ -1,3 +1,11 @@ +2007-05-28 10:15:02 +0000 William Pitcock + revision [2462] + - mms: convert to plugin2 architecture + + trunk/src/mms/mms.c | 14 +------------- + 1 file changed, 1 insertion(+), 13 deletions(-) + + 2007-05-28 10:14:08 +0000 William Pitcock revision [2460] - lastfm: convert to plugin2 architecture diff -r 884966a37b7b -r bca08b1c2d16 src/lastfm/lastfm.c --- a/src/lastfm/lastfm.c Mon May 28 03:15:02 2007 -0700 +++ b/src/lastfm/lastfm.c Mon May 28 23:16:25 2007 -0700 @@ -110,6 +110,11 @@ g_strfreev(split); g_string_erase(res, 0, -1); return (gboolean) TRUE; + + if (mowgli_global_storage_get("lastfm_session_id")) + mowgli_global_storage_free("lastfm_session_id"); + + mowgli_global_storage_put("lastfm_session_id", LastFMGlobalData->lastfm_session_id); } static gboolean lastfm_adjust(const gchar * url)