Author Topic: XBMC Status  (Read 2157 times)

0 Members and 1 Guest are viewing this topic.

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
XBMC Status
« on: December 05, 2013, 11:53:30 AM »
Team, so I'm trying to get a status of all the information in my XBMC. Like movie count, album count, unwatched movie count, count of new movies , etc.
So I want to say "Vox give me XBMC Status | What's my XBMC Status for today"
Then I get a run down of all. Maybe have a pause in there where Vox ask me do I want to continue ( if she is giving me a lot of information)

I thought I could do this be querying Xsgl but I'm at a lost of how to retrieve it. Any Ideas?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: XBMC Status
« Reply #1 on: December 05, 2013, 01:08:53 PM »
I suggest you ask on the XBMC forum if there is a way to do this using json

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Re: XBMC Status
« Reply #2 on: December 05, 2013, 01:39:56 PM »
Ok I'll let you know how it goes. Thanks

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Re: XBMC Status
« Reply #3 on: December 05, 2013, 02:09:22 PM »
James can I ask you this while I'm waiting on XBMC people to respond to my forum. I have added sql code in Xsql. SO all results are in separate payloads. Is there a way I can get the results of each individual payload. I was thinking PayloadXML.GetValue but not sure how it works.

example
SELECT COUNT (idActor) as count FROM actors (Payload: xbmcActorsCount)

bp_pbs

  • Contributor
  • ***
  • Posts: 94
  • Karma: 1
    • View Profile
Re: XBMC Status
« Reply #4 on: December 05, 2013, 02:27:46 PM »
Never-mind I think I figured it out  :bonk