2014-07-07, 14:03
Hi,
I'm creating an python add on that includes an epg with the live channels. I've connected to the Epg##.DB file and can generate an epg for each channel and all it's listings from the database.
However when launching channel the only way I know is to provide the Player with actual channel number e.g. "pvr://channels/tv/All TV channels/##.pvr". However the channel number is not located in the Epg##.DB. Is the channel number stored elsewhere and if so is there a simple way to access it and relate it to the epg database id's? Alternatively is there a way to launch a live channel using just the information from the epg##.db?
If this should go in the addon forum instead feel free to move it
I'm creating an python add on that includes an epg with the live channels. I've connected to the Epg##.DB file and can generate an epg for each channel and all it's listings from the database.
However when launching channel the only way I know is to provide the Player with actual channel number e.g. "pvr://channels/tv/All TV channels/##.pvr". However the channel number is not located in the Epg##.DB. Is the channel number stored elsewhere and if so is there a simple way to access it and relate it to the epg database id's? Alternatively is there a way to launch a live channel using just the information from the epg##.db?
If this should go in the addon forum instead feel free to move it
![Smile Smile](https://forum.kodi.tv/images/smilies/smile.png)