Req Add limit support for Files.GetDirectory
#1
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.
Reply
#2
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.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
Ok will start with this so Smile
Thanks
Reply
#4
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.
Reply

Logout Mark Read Team Forum Stats Members Help
Add limit support for Files.GetDirectory0