[vlc-commits] upnp: Bump the amount of fetched items

Hugo Beauzée-Luyssen git at videolan.org
Wed Jul 19 10:26:00 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Jul 19 10:21:49 2017 +0200| [7f5bf5389686cda7e9c56ed4f71d9b0b5f4d24e0] | committer: Hugo Beauzée-Luyssen

upnp: Bump the amount of fetched items

This is merely a workaround until we have proper pagination
refs #18558

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7f5bf5389686cda7e9c56ed4f71d9b0b5f4d24e0
---

 modules/services_discovery/upnp.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/services_discovery/upnp.cpp b/modules/services_discovery/upnp.cpp
index ba61a75c02..5d6df1ebb5 100644
--- a/modules/services_discovery/upnp.cpp
+++ b/modules/services_discovery/upnp.cpp
@@ -1204,7 +1204,7 @@ bool MediaServer::fetchContents()
                                       "BrowseDirectChildren",
                                       "*",
                                       // Some servers don't understand "0" as "no-limit"
-                                      "1000", /* RequestedCount */
+                                      "5000", /* RequestedCount */
                                       "" /* SortCriteria */
                                       );
     if ( !p_response )



More information about the vlc-commits mailing list