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 gist
select playCount from files, path where files.idPath=path.idPath and strFilename=<blah> and strPath=<other blah>
Thanks & Regards,
Zach
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 gist
select playCount from files, path where files.idPath=path.idPath and strFilename=<blah> and strPath=<other blah>
Thanks & Regards,
Zach