Quantcast
Channel: Kodi Community Forum - All Forums
Viewing all articles
Browse latest Browse all 84005

get playcount from files table via json-rpc?

$
0
0
Hi,

I used to pull the playcount from the files SQL table via the QueryVideoDatabase command in the xbmcHttp API, but that's gone in Frodo. Is there a way to get that data with JSON-RPC or another remote API? I need to handle the case of files that don't get scraped into a library, so using the VideoLibrary part of the API won't suffice. Here's the query I used to use (typed from memory w/ lazy join, but should convey the gistSmile

select playCount from files, path where files.idPath=path.idPath and strFilename=<blah> and strPath=<other blah>

Thanks & Regards,

Zach

Viewing all articles
Browse latest Browse all 84005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>