Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

djmount 0.71 patch

By: starfry on Apr 27th, 2011  |  syntax: None  |  size: 0.99 KB  |  views: 163  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- djmount-0.71/djmount/content_dir.h  2011-04-06 22:16:47.663333334 +0100
  2. +++ djmount-0.71/djmount/content_dir.h  2011-04-06 22:16:58.716666668 +0100
  3. @@ -46,7 +46,7 @@
  4.  
  5.  // ContentDirectory ServiceType
  6.  #define CONTENT_DIR_SERVICE_TYPE \
  7. -       "urn:schemas-upnp-org:service:ContentDirectory:1"
  8. +       "urn:schemas-upnp-org:service:ContentDirectory:2"
  9.  
  10.  
  11.  
  12. --- djmount-0.71/djmount/content_dir.c  2011-04-24 21:11:05.837763409 +0100
  13. +++ djmount-0.71/djmount/content_dir.c  2011-04-24 21:11:37.162106580 +0100
  14. @@ -302,7 +302,7 @@
  15.         // Note: it is allowed to have nb_matched == 0 if it cannot be
  16.         // computed by the CDS.
  17.         int nb_retry = 0;
  18. -       while (PtrArray_GetSize (objects) < nb_matched && nb_retry++ < 2) {
  19. +       while (PtrArray_GetSize (objects) < nb_matched && ++nb_retry ) {
  20.                 Log_Printf (LOG_WARNING,
  21.                             "ContentDir_BrowseId ObjectId=%s : "
  22.                             "got %d results, expected %d. Retry %d ...",