rygel r37 - in trunk: . src



Author: zeeshanak
Date: Tue Oct 28 20:58:51 2008
New Revision: 37
URL: http://svn.gnome.org/viewvc/rygel?rev=37&view=rev

Log:
Retrieve the services in version agnostic way.

Modified:
   trunk/ChangeLog
   trunk/src/gupnp-media-server.c

Modified: trunk/src/gupnp-media-server.c
==============================================================================
--- trunk/src/gupnp-media-server.c	(original)
+++ trunk/src/gupnp-media-server.c	Tue Oct 28 20:58:51 2008
@@ -106,7 +106,7 @@
         /* Connect ContentDirectory signals */
         service = gupnp_device_info_get_service
                         (GUPNP_DEVICE_INFO (server),
-                         "urn:schemas-upnp-org:service:ContentDirectory:2");
+                         "urn:schemas-upnp-org:service:ContentDirectory");
         if (service != NULL) {
                 GError *error;
 
@@ -127,7 +127,7 @@
         service = gupnp_device_info_get_service
                         (GUPNP_DEVICE_INFO (server),
                          "urn:microsoft.com:service"
-                         ":X_MS_MediaReceiverRegistrar:1");
+                         ":X_MS_MediaReceiverRegistrar");
         if (service != NULL) {
                 GError *error;
 



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