[rhythmbox] Update to use libdmapsharing 2.2 API Signed-off-by: W. Michael Petullo <mike flyn org>



commit 9032e92b7c2c8aed8060c18bc6a2d7fe5e3d069b
Author: W. Michael Petullo <mike flyn org>
Date:   Fri Oct 1 17:18:41 2010 -0500

    Update to use libdmapsharing 2.2 API
    Signed-off-by: W. Michael Petullo <mike flyn org>

 configure.ac                               |    2 +-
 plugins/daap/rb-daap-record.c              |    6 +++---
 plugins/daap/rb-rhythmdb-dmap-db-adapter.c |    6 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8fd1b6b..76ebc48 100644
--- a/configure.ac
+++ b/configure.ac
@@ -793,7 +793,7 @@ AC_ARG_ENABLE(daap,
                              [Disable DAAP support]),,
               enable_daap=auto)
 if test "x$enable_daap" != "xno"; then
-	PKG_CHECK_MODULES(DMAPSHARING, libdmapsharing-2.0 >= 2.0.3,
+	PKG_CHECK_MODULES(DMAPSHARING, libdmapsharing-2.2 >= 2.1.6,
 			  have_libdmapsharing=yes,
 			  have_libdmapsharing=no)
 	if test "x$have_libdmapsharing" = "xno" -a "x$enable_daap" = "xyes"; then
diff --git a/plugins/daap/rb-daap-record.c b/plugins/daap/rb-daap-record.c
index eccfafe..15c1584 100644
--- a/plugins/daap/rb-daap-record.c
+++ b/plugins/daap/rb-daap-record.c
@@ -287,9 +287,9 @@ rb_daap_record_class_init (RBDAAPRecordClass *klass)
 
 	g_object_class_override_property (gobject_class, PROP_LOCATION, "location");
 	g_object_class_override_property (gobject_class, PROP_TITLE, "title");
-	g_object_class_override_property (gobject_class, PROP_ALBUM, "daap.songalbum");
-	g_object_class_override_property (gobject_class, PROP_ARTIST, "daap.songartist");
-	g_object_class_override_property (gobject_class, PROP_GENRE, "daap.songgenre");
+	g_object_class_override_property (gobject_class, PROP_ALBUM, "songalbum");
+	g_object_class_override_property (gobject_class, PROP_ARTIST, "songartist");
+	g_object_class_override_property (gobject_class, PROP_GENRE, "songgenre");
 	g_object_class_override_property (gobject_class, PROP_MEDIAKIND, "mediakind");
 	g_object_class_override_property (gobject_class, PROP_FORMAT, "format");
 	g_object_class_override_property (gobject_class, PROP_RATING, "rating");
diff --git a/plugins/daap/rb-rhythmdb-dmap-db-adapter.c b/plugins/daap/rb-rhythmdb-dmap-db-adapter.c
index abd0087..9f07496 100644
--- a/plugins/daap/rb-rhythmdb-dmap-db-adapter.c
+++ b/plugins/daap/rb-rhythmdb-dmap-db-adapter.c
@@ -158,9 +158,9 @@ rb_rhythmdb_dmap_db_adapter_add (DMAPDb *db, DMAPRecord *record)
                      "filesize", &filesize,
 		     "format", &format,
                      "title", &title,
-                     "daap.songalbum", &album,
-                     "daap.songartist", &artist,
-                     "daap.songgenre", &genre,
+                     "songalbum", &album,
+                     "songartist", &artist,
+                     "songgenre", &genre,
 		      NULL);
 
 	entry = rhythmdb_entry_new (priv->db, priv->entry_type, uri);



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