Kodi Community Forum

Full Version: Add limit support for Files.GetDirectory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know there's limitation on Xbmc internals that will still lead to Xbmc doing full scan before sending the data back but the Json encoding of big list just kills Rpi or Atv.
Sure something like this would be accepted as long as there's an obvious warning in the JSON schema that limiting doesn't mean faster retrieval but only shorter (in terms of number of characters) responses.
Ok will start with this so Smile
Thanks
https://github.com/xbmc/xbmc/pull/2366 for review.

Since I ended by removing quite some code and all tests where OK, perhaps I missed something obvious so please point Smile
If not then the command is now a little faster.