Refresh XMLTV EPG file - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167) +---- Forum: IPTV Simple Client (https://forum.kodi.tv/forumdisplay.php?fid=215) +---- Thread: Refresh XMLTV EPG file (/showthread.php?tid=318761) |
Refresh XMLTV EPG file - xuf_ - 2017-07-24 Apologies in advance because I´m sure I´m not the first one asking this question. Unfortunately I have not been able to find. I have found the URLs where my official set-top-box downloads the channel information and EPG files. I have put together a script that downloads, parses and and converts them in a format suitable for IPTV Simple Client There is an EPG file per day. Every day I can download 4 files, for the next 4 days. Shall I merge the 4 files in a single one every day, using the same name, hopping the addon will read it when necessary? If not, what is the right way of doing it? Thanks xuf RE: Refresh XMLTV EPG file - promark - 2017-07-24 Unless I am missing something, why not just add the urls to Simple client setting and will download at every start RE: Refresh XMLTV EPG file - GavinCampbell - 2017-07-24 I have a script running on my server that downloads the latest M3U/XML files for the channel list and EPG. It then, like yours, formats and sorts and manipulates them to what I want. I then just drop the latest files on a share on my network that my Kodi boxes read from. Kodi should reload the latest data every 120min by default (that setting is in the Guide settings) and can be adjusted. It also will load the latest data on startup. The way your doing it should work. Go ahead and just run it and merge them whenever you want. RE: Refresh XMLTV EPG file - xuf_ - 2017-07-24 (2017-07-24, 15:46)promark Wrote: Unless I am missing something, why not just add the urls to Simple client setting and will download at every start I need to parse some XML files before reaching the EPGs files The URLs of the EPG files change every day Also the EPG is compressed in bz2 Finally the format of the EPG is not compatible with the addon RE: Refresh XMLTV EPG file - xuf_ - 2017-07-24 (2017-07-24, 15:56)GavinCampbell Wrote: I have a script running on my server that downloads the latest M3U/XML files for the channel list and EPG. It then, like yours, formats and sorts and manipulates them to what I want. I then just drop the latest files on a share on my network that my Kodi boxes read from. Kodi should reload the latest data every 120min by default (that setting is in the Guide settings) and can be adjusted. It also will load the latest data on startup. Thanks! I wasn't sure if I was heading in the right direction Lazy question if I way. What is the "group-title" in the m3u file used for? At the moment I put the "product bundle name". Things like "Free TV", "Kids", "HD TV". These are the products that my provider is grouping the channels. RE: Refresh XMLTV EPG file - GavinCampbell - 2017-07-24 (2017-07-24, 16:24)xuf_ Wrote: Thanks! I wasn't sure if I was heading in the right direction Ya.. group-title tag is used to group channels. What I do is similar to you. For example I group news channels to "NEWS" and sports channels to "SPORTS". Then I mapped the remote so that if I long hold the guide button it will switch between groups quickly. RE: Refresh XMLTV EPG file - xuf_ - 2017-07-24 So far it worked and the EPG looks great. I assume it will refresh as expected. Also I found how to filter per Group too, thanks The original XML has lots of information that unfortunately I can't add. In the addon EPG there is a field "Gender "but don´t know the tag to use. Do you know it? RE: Refresh XMLTV EPG file - GavinCampbell - 2017-07-24 (2017-07-24, 22:10)xuf_ Wrote: So far it worked and the EPG looks great. I assume it will refresh as expected. Also I found how to filter per Group too, thanks The channel list (m3u) is very limited as to what you can add. You can look up the m3u specifications. I put a link below that can help. Can't say for sure all are supported. The Gender field I think is a tv show specific item. http://xmtvplayer.com/build-m3u-file RE: Refresh XMLTV EPG file - xuf_ - 2017-07-25 I mean how to add the "Gender" in the EPG, not in the channel list As the only documentation I can find is this: http://kodi.wiki/view/Add-on:IPTV_Simple_Client and it looks incomplete I ended up having a look at the source code at: https://github.com/afedchin/pvr.iptvsimple (let me know if it is not the latest) In the code I see that the XML should support the following tags: Code: tv I was not ware of the last two. I´ll populate them and report back RE: Refresh XMLTV EPG file - GavinCampbell - 2017-07-25 (2017-07-25, 10:37)xuf_ Wrote: I mean how to add the "Gender" in the EPG, not in the channel list Ahh.. ok you are going further than I have ever needed. Not sure about the EPG fields. I've never had to modify the XML file. But sounds like you are on the right track. RE: Refresh XMLTV EPG file - GavinCampbell - 2017-08-25 I was doing some work and stumbled back on this thread again. If you want to colour code programs in the EPG based on genre I finally figured that part out. Basically you will end to ensure the category filed for the programme is filled in. Kodi has some static and standard genres that it will then modify. But if you want to add custom genre's you can map them by creating a genres.xml file and putting it in the addon_data/pvr.iptvsimple folder. It works pretty nicely. More details are here in this thread, http://iptvtalk.org/showthread.php?16269-how-to-color-code-genres-in-pvr-iptvsimple |