2023-07-10, 13:42
Hi,
I am a complete noob at this, but I am trying to create and populate an EPG grid with data my addon scrapes from a local tv broadcaster. Right now I am outputting the channel list to an m3u and the EPG to an XMLTV file and the user can use iptvsimple to have EPG as well as a proper channel list. However the TV broadcaster allows you to set recordings for some broadcasts which isn't supported by iptvsimple.
Therefore I decided to dig into WindowXML. For now I am trying to populate the default MyPVRGuide.xml from estuary. I cooked up a service addon with the following code: gesehivaxe (paste)
I have been using https://github.com/xbmc/xbmc/blob/1c65bb...RGuide.xml and this thread to take inspiration.
Upon running the code above I was really shocked, because the header 'test' is actually rendered and I see a very similar window like the built-in guide window. So far so good. However I cannot get the grid to display or work. And the header has Radio instead of TV.
Is there some way to have kodi dump the ids and values it uses to render skin xmls? It would greatly increase my productivity since I am just starting to get a grasp of how these xmls call and include each other. I am not even sure if 10 is the grid id in estuary.
Am I on the right track? Or should I give up on this and just write my own grid instead?
Also, is it true that I cannot use these windowxmls from a plugin.video addon?
Thanks
I am a complete noob at this, but I am trying to create and populate an EPG grid with data my addon scrapes from a local tv broadcaster. Right now I am outputting the channel list to an m3u and the EPG to an XMLTV file and the user can use iptvsimple to have EPG as well as a proper channel list. However the TV broadcaster allows you to set recordings for some broadcasts which isn't supported by iptvsimple.
Therefore I decided to dig into WindowXML. For now I am trying to populate the default MyPVRGuide.xml from estuary. I cooked up a service addon with the following code: gesehivaxe (paste)
I have been using https://github.com/xbmc/xbmc/blob/1c65bb...RGuide.xml and this thread to take inspiration.
Upon running the code above I was really shocked, because the header 'test' is actually rendered and I see a very similar window like the built-in guide window. So far so good. However I cannot get the grid to display or work. And the header has Radio instead of TV.
Is there some way to have kodi dump the ids and values it uses to render skin xmls? It would greatly increase my productivity since I am just starting to get a grasp of how these xmls call and include each other. I am not even sure if 10 is the grid id in estuary.
Am I on the right track? Or should I give up on this and just write my own grid instead?
Also, is it true that I cannot use these windowxmls from a plugin.video addon?
Thanks