Kodi Community Forum
Is there anyway to query the JSON-RPC the way SmartPlaylists do? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+---- Forum: JSON-RPC (https://forum.kodi.tv/forumdisplay.php?fid=174)
+---- Thread: Is there anyway to query the JSON-RPC the way SmartPlaylists do? (/showthread.php?tid=287005)



Is there anyway to query the JSON-RPC the way SmartPlaylists do? - hadees - 2016-08-15

Basically I'm trying to figure out if I can essentially use the same sort of queries I use when creating SmartPlaylists to get information back from the JSON-RPC.

Barring that my alternative idea was to just create remote SmartPlaylists on the fly but I can't seem to get Files.GetDirectory to call a remote file. Is the best solution to this to just create a plugin that'll proxy the calls?


RE: Is there anyway to query the JSON-RPC the way SmartPlaylists do? - axa88 - 2016-10-22

Yes you can apply filters to many method queries.
Just search files in the spec.