--- djmount-0.71/djmount/content_dir.h 2011-04-06 22:16:47.663333334 +0100
+++ djmount-0.71/djmount/content_dir.h 2011-04-06 22:16:58.716666668 +0100
@@ -46,7 +46,7 @@
// ContentDirectory ServiceType
#define CONTENT_DIR_SERVICE_TYPE \
- "urn:schemas-upnp-org:service:ContentDirectory:1"
+ "urn:schemas-upnp-org:service:ContentDirectory:2"
--- djmount-0.71/djmount/content_dir.c 2011-04-24 21:11:05.837763409 +0100
+++ djmount-0.71/djmount/content_dir.c 2011-04-24 21:11:37.162106580 +0100
@@ -302,7 +302,7 @@
// Note: it is allowed to have nb_matched == 0 if it cannot be
// computed by the CDS.
int nb_retry = 0;
- while (PtrArray_GetSize (objects) < nb_matched && nb_retry++ < 2) {
+ while (PtrArray_GetSize (objects) < nb_matched && ++nb_retry ) {
Log_Printf (LOG_WARNING,
"ContentDir_BrowseId ObjectId=%s : "
"got %d results, expected %d. Retry %d ...",