VoxCommando

Help and Support (Using VoxCommando) => Kodi (XBMC) Frodo / Gotham / Isengard / Jarvis => Topic started by: Brian on February 06, 2021, 04:19:28 PM

Title: Asking VC if a certain show is on from EGP
Post by: Brian on February 06, 2021, 04:19:28 PM
I set up a custom payload:

\Epg12.db
select idEpg, sTitle from epgtags

Titles are now in the payload. I'm stuck on asking VC if a certain show is on or if it will be on. For example: Are the Blackhawks on? When are the Blackhawks on? Is it possible for VC to tell me something like "The Blackhawks will start at 6pm"?

Thanks!
Title: Re: Asking VC if a certain show is on from EGP
Post by: jitterjames on February 06, 2021, 05:54:25 PM
I have no idea personally.  That information may not even be in the Kodi database.  There may be another way to query Kodi or maybe you need to scrape a website.  I don't have EPG capabilities here.
Title: Re: Asking VC if a certain show is on from EGP
Post by: Brian on February 08, 2021, 12:49:45 PM
Here's an example from the payload

Quote
    <payload>
        <value />
        <phrase>Mission Unstoppable</phrase>
        <subsetmatching>true</subsetmatching>
    </payload>
    <payload>
        <value />
        <phrase>Hope in the Wild</phrase>
        <subsetmatching>true</subsetmatching>
    </payload>
    <payload>
        <value />

I'm thinking it might be better to ask if something is on and it would search the epg and post the results. Right now I have Xjson.raw > GUI.ActivateWindow > "window": "tvsearch" ,"parameters": [ "epg12db://? ]
 
Would you happen to know what the parameters should be to perform a search query?

Thanks again!
Title: Re: Asking VC if a certain show is on from EGP
Post by: jitterjames on February 12, 2021, 12:43:01 PM
The only official information that might be able to help will be here:

https://kodi.wiki/view/JSON-RPC_API/v10

But there does not seem to be much there for the EPG stuff.

You might find it easier and more effective to scrape a web page, assuming you can find one that has programming information appropriate for your area or whatever TV channels you watch.