Beta xmltv Meld - creates a single xmltv file from rytec, zap etc - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151) +---- Thread: Beta xmltv Meld - creates a single xmltv file from rytec, zap etc (/showthread.php?tid=330668) |
RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - Coldstream - 2019-01-20 (2019-01-18, 15:54)primaeval Wrote:Thank you, i haven't had the time to reply sooner, though i still have been playing around a bit.(2019-01-18, 15:02)Coldstream Wrote: @primaeval you have made a bunch of nice plugins, and for the last few days ive been playing around with them. Some things are working fine, other things doesn't seem to work for me. However, especially with xmltv Meld i am getting quite some troubles.It might not be you. This addon is getting quite complicated and I've found a few bugs recently. About the XML and HTML entity errors, when i try to run TVG FS with an XML from tvgrabpyapi, and enable fix HTML entities, it will crash no matter what. So i also can't load it in XMLTV meld. Now, i've created another XMLTV file with webgrab+ (horizon.tv as source fwiw) and it can load with the html entity fix function enabled. However, same applies to these XML's. i can't get them in XMLTV Meld no matter what. As for the matching, i never thought about the channel-name as i left it alone all the time. I am also not sure how simple client matches, but i guess that's through tvg-id? Anyway as you probably faced these issues already before, i think getting the channel-names matching might also be kind of the best way to get it properly done. For the last two days or so, i've been writing some python code to make a matcher, but it's giving me quite some headaches to be fair as there seems to be so much confusion all around everywhere to get a proper matching system it seems. One takes channel-name, other takes tvg-name. Even others take tvg-ID. As for what i got so far, i'm just parsing the XML and M3u, trying to use regex to clean m3u values as good as possible. Now i need to actually think about proper matching, i could try to match the tvg-name (from xml) as good as possible with the channel display name, if somehow it seems like a match then write the tvg-name as channel name in the m3u, that should work for tvg fs right? Also, what would i need to change in either tvgrabpyapi or webgrab+ to get it loaded in xmltv meld? Is it just the HTML entities that messes it all up? I would value your input, as i am kind of in doubt what path to take. Also i can't pm here as i was only a lurker before and haven't got much posts on this forum haha. Thanks RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - primaeval - 2019-01-20 (2019-01-20, 14:57)Coldstream Wrote:I think I'll have to have a look at your xmltv files to see what is wrong.(2019-01-18, 15:54)primaeval Wrote:Thank you, i haven't had the time to reply sooner, though i still have been playing around a bit.(2019-01-18, 15:02)Coldstream Wrote: @primaeval you have made a bunch of nice plugins, and for the last few days ive been playing around with them. Some things are working fine, other things doesn't seem to work for me. However, especially with xmltv Meld i am getting quite some troubles.It might not be you. This addon is getting quite complicated and I've found a few bugs recently. I've seen some very sloppy xml from webgrab recently. I don't know if it was from their official scrapers or elsewhere. It's going to take a while to get to 10 posts here. RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - TopekaRoy - 2019-02-05 I'm sure you have already considered this, Primaeval, but is it possible to add the tv.com listings to xmltv Meld? It seems to me that has a lot of countries that aren't available in yo.tv or rytec. I've know I can do it with webgrab+ but I can't seem to get that to work properly. RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - primaeval - 2019-02-05 (2019-02-05, 21:17)TopekaRoy Wrote: I'm sure you have already considered this, Primaeval, but is it possible to add the tv.com listings to xmltv Meld? It seems to me that has a lot of countries that aren't available in yo.tv or rytec. I've know I can do it with webgrab+ but I can't seem to get that to work properly.I'm have a look when I get time. Did you try using the tv.com wizard in my webgrab configurator addon? I think I tried that a couple of weeks ago and it still worked. RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - TopekaRoy - 2019-02-05 (2019-02-05, 21:22)primaeval Wrote:No, I haven't but I'll take a look at it. As always, thanks for the prompt reply!(2019-02-05, 21:17)TopekaRoy Wrote: I'm sure you have already considered this, Primaeval, but is it possible to add the tv.com listings to xmltv Meld? It seems to me that has a lot of countries that aren't available in yo.tv or rytec. I've know I can do it with webgrab+ but I can't seem to get that to work properly.I'm have a look when I get time. RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - Cangeoboy - 2019-02-09 Using webgrab+ to generate my own xml file as a backup when/if my providers guide isn't working. Previously I added my xml guide as a custom file without issues and was able to load channels from it using xmltv meld. Today I went to add some channels from my custom guide and am getting an error. This is part of the error from the log. Error Type: <class 'requests.exceptions.InvalidSchema'> Error Contents: No connection adapters were found for 'C:/Users/john/AppData/Roaming/Kodi/IPTV/guide.xml' There's a number of python errors then: 06:59:14.138 T:5316 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.xmltv.meld/select_channels/C%3A%5CUsers%5Cjohn%5CAppData%5CRoaming%5CKodi%5CIPTV%5Cguide.xml/john2 06:59:14.144 T:2668 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.xmltv.meld/select_channels/C%3A%5CUsers%5Cjohn%5CAppData%5CRoaming%5CKodi%5CIPTV%5Cguide.xml/john2) failed 06:59:14.474 T:11868 NOTICE: [xbmcswift2] Request for "/custom_xmltv" matches rule for function "custom_xmltv" 06:59:14.475 T:11868 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value Any thoughts? RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - primaeval - 2019-02-09 (2019-02-09, 14:08)Cangeoboy Wrote: Using webgrab+ to generate my own xml file as a backup when/if my providers guide isn't working. Previously I added my xml guide as a custom file without issues and was able to load channels from it using xmltv meld. Today I went to add some channels from my custom guide and am getting an error. This is part of the error from the log.Try 0.0.54. It was reading the File as a Url. RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - Cangeoboy - 2019-02-09 Primeval, That was it. 0.54 fixed it. Thanks again. This is such a great program addon. RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - Cangeoboy - 2019-02-12 Have another question about xmltvmeld. One of my iptv providers uses a xmltv.php file within their epg url. Had no problems initially adding this as a custom epg, but now if I go into that custom guide to add or remove a channel, nothing is listed. Can xmltvmeld handle this type of url? Do I need to do a reset? Looking in temp, my xmltv.php file that matches what should be downloaded from my providers url is there, but it is empty. Checked the url itself using simpleiptv client and it does download the epg guide, so I know the guide is working. Thanks RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - primaeval - 2019-02-12 (2019-02-12, 15:32)Cangeoboy Wrote: Have another question about xmltvmeld. One of my iptv providers uses a xmltv.php file within their epg url. Had no problems initially adding this as a custom epg, but now if I go into that custom guide to add or remove a channel, nothing is listed. Can xmltvmeld handle this type of url? Do I need to do a reset? Looking in temp, my xmltv.php file that matches what should be downloaded from my providers url is there, but it is empty. Checked the url itself using simpleiptv client and it does download the epg guide, so I know the guide is working.xmltv.php should work. I tried it just now and it was ok.It might not work if it needs a special user-agent. pm me the url and I'll see if it does. RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - Cangeoboy - 2019-02-13 Primaeval, The fix you made worked great. Can now see the channels again. As usual thanks for the great addon and your problem solving and maintenance. RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - TopekaRoy - 2019-03-09 Hi. I've added my local over-the-air broadcast channels to the guide, but I have a good antenna and can pick up several channels from a larger nearby city. Can I change my zip code in settings to that city and add these channels from Zap without losing the local channels I already have? Would that mess anything up? RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - primaeval - 2019-03-09 (2019-03-09, 01:47)TopekaRoy Wrote: Hi. I've added my local over-the-air broadcast channels to the guide, but I have a good antenna and can pick up several channels from a larger nearby city. Can I change my zip code in settings to that city and add these channels from Zap without losing the local channels I already have? Would that mess anything up?I have only added the ability to add one zip code for the usa or canada. I've got the feeling that it would need a huge amount of changes to the code to add more. Is there some zip code between you and the city that would bring up both providers in the list? Are your extra channels in the TIMEZONE lists? You can add more than one of them. The other alternative is to use @edit4ever 's zap2epg addon. He kindly let me use his code as the basis for the zap channels in xmltv Meld. https://github.com/edit4ever/script.module.zap2epg RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - primaeval - 2019-03-09 (2019-03-09, 01:47)TopekaRoy Wrote: Hi. I've added my local over-the-air broadcast channels to the guide, but I have a good antenna and can pick up several channels from a larger nearby city. Can I change my zip code in settings to that city and add these channels from Zap without losing the local channels I already have? Would that mess anything up?Try version 0.0.56. I've added in an extra zip code for USA and Canada. It might work. Let me know if it gets the timezones correct. RE: xmltv Meld - creates a single xmltv file from rytec, zap etc - TopekaRoy - 2019-03-09 (2019-03-09, 10:51)primaeval Wrote:The 2nd Zip code works great! Thanks for the update. Now I can see what is on those channels without having to wear out the batteries on my remote.(2019-03-09, 01:47)TopekaRoy Wrote: Hi. I've added my local over-the-air broadcast channels to the guide, but I have a good antenna and can pick up several channels from a larger nearby city. Can I change my zip code in settings to that city and add these channels from Zap without losing the local channels I already have? Would that mess anything up?Try version 0.0.56. I've added in an extra zip code for USA and Canada. |