Asking VC if a certain show is on from EGP

Started by Brian, February 06, 2021, 04:19:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

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!

jitterjames

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.

Brian

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!

jitterjames

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.