2019-01-20, 14:57
(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.
Maybe it's because i don't get the idea but whenever i try to meld i always either get errors, or i don't get any channels linked for TV Guide Full screen.
Perhaps you can clear it up a bit for me, right now the IPTV provider i use have both an M3U link & a Kodi addon. I prefer to play most through simple IPTV client because i'm getting good results with proper audio passthrough and video switching.
Anyway, i tried to add either yo.tv or rytec as sources, to get primarly a dutch guide, but i don't manage to link the channels properly. I am not even sure what would be te recommended player from all of them at your repo. I can also add the XMLTV file from my provider, but this has different channel-id's as rytec or yo.tv... I figured i could meld them all with xmltv meld but no succes as of yet.
Also, right now i just used https://github.com/tvgrabbers/tvgrabpyAPI to generate a xmltv guide which works fine in full screen tv, but i can't use it in XMLTV meld at all for the time beeing i at least matched their id with my m3u manually but obviously on the first change of name/link the channel will break. I'm considering writing a python script just to match tvg-ID in m3u with anything from an xmltv source but then again it will defeat the purpose of this plugin. What am i overlooking? My iptv device is a nvidia shield, so no webgrab+ can run on it. I can run it on my pc and generate a bigger guide once in the x days if thats a solution though. Hope you can chime in on how to archieve this all. I prefer using both TVG full screen and native PVR with simple client. No recording is needed either.
If your xmltv from tvgrabpyAPI contains any non-standard xml it will fail to load in TV Guide Fullscreen.
That means things like an & which should be & and named entities like ß for ß
There is a fix for that in
TV Guide Fullscreen \ Settings \ Fix xmltv html entity errors
You can change the ids and channel names in the Channels section.
Matching m3u streams to channels is done by the channel name rather than tvg-id in guess_channel_stream_dialog.
If you want to add in matching by id you or I could add it in there.
You can post or pm me examples if that helps.
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