Commit 225e4894 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

upnp: Work around some lack of limit understanding from a few servers

parent 741b9ebf
...@@ -1025,7 +1025,8 @@ bool MediaServer::fetchContents() ...@@ -1025,7 +1025,8 @@ bool MediaServer::fetchContents()
IXML_Document* p_response = _browseAction( psz_objectId_, IXML_Document* p_response = _browseAction( psz_objectId_,
"BrowseDirectChildren", "BrowseDirectChildren",
"*", "*",
"0", /* RequestedCount */ // Some servers don't understand "0" as "no-limit"
"1000", /* RequestedCount */
"" /* SortCriteria */ "" /* SortCriteria */
); );
if ( !p_response ) if ( !p_response )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment