Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 22
Beta xmltv Meld - creates a single xmltv file from rytec, zap etc
#91
Thank you for such a fantastic add-on! It works great, but I'm having one issue.

When I try to select the source in TV Guide Fullscreen, I can get to Android>data>org.xbmc.kodi>files. When I open files nothing is there. Using my file manager (if I show hidden files) I get the rest: ... .kodi>userdata>addon_data>plugin.program.xmltv.meld>xmltv.xml. From there I can copy the xmltv file and paste it to downloads. Then in the add-on I can select the file as a source from downloads and the guide works fine. I've bookmarked the file so it only takes me about 10 seconds to copy and past it, but I would like to avoid this step, if possible. How do I get the path to show up in TV Guide's settings or is there a workaround?

Also I couldn't find the answer in the TV Guide thread. I can't get the Program Image to display. I've tried every combination in "Appearance" and "Lab 1." Where do these images come from and specifically what settings do I need to enable them?

I'm using Kodi 17.6 on an Android 7.1.2 TV box.

Thank you for your assistance.
Reply
#92
Hi. Thanks.

You need to turn on hidden files in kodi too to get to the .files folder under org.xbmc.kodi.
Kodi \ Settings \ Media \ General \ Show hidden files and directories
in Advanced or Expert mode.

Program images should show up with the default settings if they exist in the xmltv file.
I expect most of the xmltv files from rytec etc don't have any images in them apart from the channels to keep the file size down.
The ones I looked at seemed quite sparse. Just a brief program summary and maybe the series/episode number.

If you really want lots of quality program images you'll have to use webgrab and learn about the post-processors that scrape image data from various places.

The omdb/imdb/tvdb scraper in TVGF isn't working at the moment because omdb went paid. They've relented a bit now but the code is still broken.
I'll have another look at it sometime but don't hold your breath. Webgrab is the better option.
Reply
#93
Thanks for the speedy reply.

I KNEW the source problem had something to do with my general settings. I just didn't know where to find it. You're a lifesaver!

I've played around with Webgrab+ a little but it's a huge hassle. I'll just settle for the Logos for now unless and until you can get imdb or tvdb working.

Thanks again.
Reply
#94
Hey, I'm back!  Smile

Now when I click on "Re-order Channels" I get the error "CGUIMediaWindow::GetDirectory (... channels) failed. Can I fix this by deleting the ... channels.m3u8 file? Will Meld recreate it on the next update or would I have to start over from scratch?

Also, on some channels with the same name (like EuroSport) from different countries, I get overlapping listings on the same line in the guide. I assume I can fix this by renaming some of the channels ... if I can get into "Re-order Channels!" What is the difference between renaming a channel and changing the channel ID? What do they do differently?

And last, even after I re-ordered the channels the guide seemed to display the channels in the order I selected them, and I had to re-order them again in the guide. Is there a setting I missed? If not, why change the order in Meld?

The guide itself is working great. I really appreciate your help.
Reply
#95
The xmltv.xml and channels.m3u8 get re-written on every Update unless something fails in the process.
Are there any errors in kodi.log?

channels.m3u8 is just really a template for your convenience in making your own streams file.

The id is the key that joins the m3u to the xmltv and the channels to the programs in the xmltv file.
Have a read through of this and Expand the Examples to see how it works.
https://kodi.wiki/view/Add-on:IPTV_Simple_Client

When the Update happens it will process all the xmltv files that you have Subscribed to.
If any of the ids match in that file the channels and programs from that xmltv will get added to the final xmltv.xml output file.

If you rename an id to be the same in two xmltv files and subscribe to both of them you will get a horrible mess.

The reordering should work. Maybe you've renamed the ids and they are not matching.
Have a look in the file
userdata\addon_data\plugin.program.xmltv.meld\id_order.json
to see if the ids are in the order you changed them to and that they match the ids in the xmltv files you have subscribed to.
The xmltv files get downloaded and extracted to the temp folder in the same folder as above.

You might need to delete the .storage folder if you think something might have got corrupted with your selections and renaming.
Reply
#96
Thanks for the reply. the error I mentioned in my previous post is from the log but it looks like there is something going on above it involving "xbmcswift2."

Error Type: <type 'exceptions.KeyError'>
Error Contents: (u'\xc9',)
Traceback ...
...KeyError: (u'\xc9,')

I'll try to post a log online when I have some time later.

I'll take a look at the things you mentioned and play around with it some more. Might try deleting the .storage folder and see what happens!
Reply
#97
(2018-08-08, 17:54)TopekaRoy Wrote: Thanks for the reply. the error I mentioned in my previous post is from the log but it looks like there is something going on above it involving "xbmcswift2."

Error Type: <type 'exceptions.KeyError'>
Error Contents: (u'\xc9',)
Traceback ...
...KeyError: (u'\xc9,')

I'll try to post a log online when I have some time later.

I'll take a look at the things you mentioned and play around with it some more. Might try deleting the .storage folder and see what happens!
 There are occasional errors with xbmcswift and timed storage not being able to be written but that is usually ok.

The KeyError looks like there is a problem with unicode characters somewhere that probably is a bug.
It is a constant battle to catch them in addons.

See if you can pin down what channel and xmltv file is causing the error and I'll see if I can fix it.
Post a link to the full kodi.log or at least a big chuck of it around the error.
Reply
#98
(2018-08-08, 18:28)primaeval Wrote:
(2018-08-08, 17:54)TopekaRoy Wrote: Thanks for the reply. the error I mentioned in my previous post is from the log but it looks like there is something going on above it involving "xbmcswift2."

Error Type: <type 'exceptions.KeyError'>
Error Contents: (u'\xc9',)
Traceback ...
...KeyError: (u'\xc9,')

I'll try to post a log online when I have some time later.

I'll take a look at the things you mentioned and play around with it some more. Might try deleting the .storage folder and see what happens!
 There are occasional errors with xbmcswift and timed storage not being able to be written but that is usually ok.

The KeyError looks like there is a problem with unicode characters somewhere that probably is a bug.
It is a constant battle to catch them in addons.

See if you can pin down what channel and xmltv file is causing the error and I'll see if I can fix it.
Post a link to the full kodi.log or at least a big chuck of it around the error.     
YES! "WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning string value"

I'm not sure how I would identify the specific channel that's causing the error. I don't remember seeing any special characters when I selected them. I'll see if I can figure out how to upload a log to dropbox later.
Reply
#99
Okay, I've never done this before, but I think I figured it out. The relevant portion of my log should be at this link: https://www.dropbox.com/s/ugzcq4qbznghy1k/kodi.log?dl=0
Reply
(2018-08-08, 19:20)TopekaRoy Wrote: Okay, I've never done this before, but I think I figured it out. The relevant portion of my log should be at this link: https://www.dropbox.com/s/ugzcq4qbznghy1k/kodi.log?dl=0
 Thanks. That works. The easiest way is probably to use https://paste.ubuntu.com/ or https://pastebin.com/ but dropbox works fine.

I can't see which channel is causing the problem from that log.
Could you zip up the contents of this folder so I can see what you have added
userdata\addon_data\plugin.program.xmltv.meld\.storage

It looks like it's some channel with an É in it that is causing the problem.
Reply
(2018-08-08, 20:17)primaeval Wrote:
(2018-08-08, 19:20)TopekaRoy Wrote: Okay, I've never done this before, but I think I figured it out. The relevant portion of my log should be at this link: https://www.dropbox.com/s/ugzcq4qbznghy1k/kodi.log?dl=0
 Could you zip up the contents of this folder so I can see what you have added
userdata\addon_data\plugin.program.xmltv.meld\.storage
Umm ... I think so. I'm learning as I go along, here. Like this? https://www.dropbox.com/s/broooi1hk18fu0...2.zip?dl=0
Reply
Try version 0.0.16.
The last version skipped a utf8 decode because it couldn't handle the huge file samueljones needed.
This version should deal with decoding in a different way.

I tried a Belgian channel with an é in it and it worked even when I renamed it and changed its id.
Reply
(2018-08-08, 20:51)primaeval Wrote: Try version 0.0.16.
The last version skipped a utf8 decode because it couldn't handle the huge file samueljones needed.
This version should deal with decoding in a different way.

I tried a Belgian channel with an é in it and it worked even when I renamed it and changed its id.
I just remembered. I think rte News has the accent over the E. I'll try the update.
Reply
Well, THAT was easy. Update worked! thanks for all your help. I learned a lot. Keep up the great work.  Smile Smile
Reply
Hi, @primaeval ,  Thanks for the new update. I dont know what  I am doing wrong but after reading about the new decoding I decided to try that source again but the problem is still thesame.  I have attached my log.

https://pastebin.com/raw/0hfJdNJA

thanks
Reply
  • 1
  • 5
  • 6
  • 7(current)
  • 8
  • 9
  • 22

Logout Mark Read Team Forum Stats Members Help
xmltv Meld - creates a single xmltv file from rytec, zap etc1