<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>plugins/rbspotify/Makefile.am</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/appkey.c</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/audio.c</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/audio.cpp</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/audio.h</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/rb-spotify-plugin.c</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/rb-spotify-plugin.h</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/rb-spotify-source.c</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/rb-spotify-source.h</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/rb-spotify-src.c</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/rb-spotify-src.h</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/spotify-prefs.glade</filename>
    </added>
    <added>
      <filename>plugins/rbspotify/spotify.rb-plugin.in</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -505,6 +505,18 @@ AC_SUBST(LIBSEXY_CFLAGS)
 AC_SUBST(LIBSEXY_LIBS)
 AM_CONDITIONAL(WITH_INTERNAL_LIBSEXY, test &quot;x$with_internal_libsexy&quot; = &quot;xyes&quot;)
 
+AC_ARG_WITH(spotify,
+            AC_HELP_STRING([--with-spotify],
+			   [Build with spotify support]),,
+	      with_spotify=no)
+if test &quot;x$with_spotify&quot; = &quot;xyes&quot;; then
+	PKG_CHECK_MODULES(LIBSPOTIFY, libspotify &gt;= 0.0.0,
+		          with_internal_libspotify=yes,
+		          with_internal_libspotify=no)
+fi
+AC_SUBST(LIBSPOTIFY_CFLAGS)
+AC_SUBST(LIBSPOTIFY_LIBS)
+AM_CONDITIONAL(WITH_SPOTIFY, test &quot;x$with_spotify&quot; = &quot;xyes&quot;)
 
 dnl warnings bits, copied from gnome-keyring configure.in
 dnl Turn on the additional warnings last, so -Werror doesn't affect other tests.
@@ -799,6 +811,7 @@ sources/Makefile
 corelib/Makefile
 plugins/Makefile
 plugins/sample/Makefile
+plugins/rbspotify/Makefile
 plugins/audiocd/Makefile
 plugins/coherence/Makefile
 plugins/coherence/upnp_coherence/Makefile
@@ -917,12 +930,15 @@ if test x&quot;$use_gnome_keyring&quot; = xyes; then
 else
 	AC_MSG_NOTICE([   gnome-keyring support disabled])
 fi
-if test x&quot;$need_libsexy&quot; = xyes; then
-	if test x&quot;$with_internal_libsexy&quot; = xyes; then
-		AC_MSG_NOTICE([   using internal libsexy])
-	else
-		AC_MSG_NOTICE([** using system-wide libsexy])
-	fi
+if test x&quot;$with_internal_libsexy&quot; = xyes; then
+	AC_MSG_NOTICE([   using internal libsexy])
+else
+	AC_MSG_NOTICE([** using system-wide libsexy])
+fi
+if test x&quot;$with_spotify&quot; = xyes; then
+	AC_MSG_NOTICE([** Spotify support enabled])
+else
+	AC_MSG_NOTICE([   Spotify support disabled])
 fi
 if test &quot;x$enable_fm_radio&quot; != xno; then
 	AC_MSG_NOTICE([** FM radio support enabled])</diff>
      <filename>configure.ac</filename>
    </modified>
    <modified>
      <diff>@@ -85,6 +85,9 @@ G_BEGIN_DECLS
 #define CONF_PLAYER_TRANSITION_TIME 	CONF_PREFIX &quot;/player/transition_time&quot;
 #define CONF_PLAYER_NETWORK_BUFFER_SIZE	CONF_PREFIX &quot;/player/network_buffer_size&quot;
 
+#define CONF_SPOTIFY_USERNAME           CONF_PREFIX &quot;/spotify/username&quot;
+#define CONF_SPOTIFY_PASSWORD           CONF_PREFIX &quot;/spotify/password&quot;
+
 G_END_DECLS
 
 #endif /* __RB_PREFERENCES_H */</diff>
      <filename>lib/rb-preferences.h</filename>
    </modified>
    <modified>
      <diff>@@ -57,6 +57,11 @@ if ENABLE_FM_RADIO
 SUBDIRS += fmradio
 endif
 
+if WITH_SPOTIFY
+SUBDIRS += rbspotify
+endif
+
+
 noinst_LTLIBRARIES = librbplugins.la
 
 librbplugins_la_SOURCES =				\</diff>
      <filename>plugins/Makefile.am</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a4f30db26c0a3ddd0449d98731988590e8488069</id>
    </parent>
  </parents>
  <author>
    <name>Ivan Kelly</name>
    <email>ivan@bleurgh.com</email>
  </author>
  <url>http://github.com/ivankelly/Rhythmbox-Spotify-Plugin/commit/be7140eaa3bf62c571bd2057ce4c2f6eaa9e85b1</url>
  <id>be7140eaa3bf62c571bd2057ce4c2f6eaa9e85b1</id>
  <committed-date>2009-05-17T11:27:21-07:00</committed-date>
  <authored-date>2009-05-17T11:27:21-07:00</authored-date>
  <message>initial commit of my changes</message>
  <tree>e6568190bad74395c9e1a345024ed6590dc1fc15</tree>
  <committer>
    <name>Ivan Kelly</name>
    <email>ivan@bleurgh.com</email>
  </committer>
</commit>
