Kodi Community Forum

Full Version: xmltv Meld - creates a single xmltv file from rytec, zap etc
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Thanks for your super fast reply. You are the man always
version 0.0.47
- yo.tv \ Country \ context menu \ Select Provider

This should let you select your yo.tv provider.
For the UK it just defaults to London.
For most others enter a postcode or leave it blank for all.
The US providers don't seem to work at the moment.

@samueljones See if this works. There are no program images though.
@primaeval  that is fantastic,  I can access all the channels now.


Regards
SJ
I was adding and removing different providers and now I have encountered a problem where I cannot remove any channels from the meld "Channels" menu.  When I select "Remove Channel" nothing happens.  (LibreELEC 8.90.009 / Kodi 18 RC2)

This is the only thing I see in the log around the time I try to remove channels:
html:
NOTICE: [xbmcswift2] Request for "/channels" matches rule for function "channels"
NOTICE: [xbmcswift2] Request for "/delete_channel/14978" matches rule for function "delete_channel"
(2018-12-16, 11:55)MB32 Wrote: [ -> ]I was adding and removing different providers and now I have encountered a problem where I cannot remove any channels from the meld "Channels" menu.  When I select "Remove Channel" nothing happens.  (LibreELEC 8.90.009 / Kodi 18 RC2)

This is the only thing I see in the log around the time I try to remove channels:
html:
NOTICE: [xbmcswift2] Request for "/channels" matches rule for function "channels"
NOTICE: [xbmcswift2] Request for "/delete_channel/14978" matches rule for function "delete_channel"
 Try to move or rename the addon_data folder and see if you can recreate the error so I can see which provider it is.
userdata\addon_data\plugin.program.xmltv.meld
It is difficult to recreate this issue.  I can not remember the sequence that I added / removed channels and providers.  But I can relay more information about the state of the userdata files, for example:

In the EPG, channel 41 is followed by 43.
There are 9 channels in plugin.program.xmltv.meld/channels.m3u8 between 41 and 43 which do not appear in the EPG, all from Zap2it.  (41 and 43 were from Yo.tv)
____

In the EPG, channel 43 is followed by 74.
There are 10 channels in plugin.program.xmltv.meld/channels.m3u8 between 43 and 74 which do not appear in the EPG.  All from Zap2it (including 43).
____

In xmltvMeld / Channels menu, there are 92 channels and none can be deleted.  I manually edited the file plugin.program.xmltv.meld/channels.m3u8 to remove some channels and restarted Kodi.  But the deleted channels still appear in the xmltvMeld / Channels menu.  The changes I made were correctly reflected in the EPG, but the channel number sequence in the EPG is incorrect and plugin.program.xmltv.meld/channels.m3u8 has reverted to its previous state.  This is very confusing, I guess I dont fully understand how it works.
(2019-01-01, 19:00)MB32 Wrote: [ -> ]It is difficult to recreate this issue.  I can not remember the sequence that I added / removed channels and providers.  But I can relay more information about the state of the userdata files, for example:

In the EPG, channel 41 is followed by 43.
There are 9 channels in plugin.program.xmltv.meld/channels.m3u8 between 41 and 43 which do not appear in the EPG, all from Zap2it.  (41 and 43 were from Yo.tv)
____

In the EPG, channel 43 is followed by 74.
There are 10 channels in plugin.program.xmltv.meld/channels.m3u8 between 43 and 74 which do not appear in the EPG.  All from Zap2it (including 43).
____

In xmltvMeld / Channels menu, there are 92 channels and none can be deleted.  I manually edited the file plugin.program.xmltv.meld/channels.m3u8 to remove some channels and restarted Kodi.  But the deleted channels still appear in the xmltvMeld / Channels menu.  The changes I made were correctly reflected in the EPG, but the channel number sequence in the EPG is incorrect and plugin.program.xmltv.meld/channels.m3u8 has reverted to its previous state.  This is very confusing, I guess I dont fully understand how it works.
 It is confusing. The code is confusing me now due to the different types of provider.
I've taken out Sort and Remove Channel from the Channels menu for the time being.
I don't think they were working.

channels.m3u is re-written on every Update. It is never read by the addon.

I tested adding channels from rytec, zap and yo, and removing them again and everything seemed to work ok.
Use the Channels menu to move at least one channel around and the ordering should work.

I haven't tested renaming today, so be careful with that.

Linking to a Channel Stream worked.

Delete or rename the addon_data folder to guarantee a fresh start.
userdata\addon_data\plugin.program.xmltv.meld
I enabled debugging and saw a bunch of these errors while digging through the log:
xml:
ERROR: 'http://us.yo.tv/api/GS?cid=1160&offset=-05.00&day=0'
This error repeats for most (or all) of the yo.tv channels
...and some other related stuff...
xml:
20:09:14.438 T:1487463280   ERROR: [plugin.program.xmltv.meld] Service now triggered...
20:09:14.439 T:1487463280   ERROR: SERVICE
20:09:15.370 T:1240454000  NOTICE: [xbmcswift2] Request for "/update" matches rule for function "update"
20:09:15.373 T:1240454000 WARNING: CSettingsManager: unable to read value of setting "service.time"
20:09:15.373 T:1240454000 WARNING: CAddonSettings[plugin.program.xmltv.meld]: failed to load value "" for setting service.time
xml:
11:48:11.698 T:1420022640  NOTICE: [xbmcswift2] Request for "/channels" matches rule for function "channels"
11:48:27.311 T:1807721328  NOTICE: [xbmcswift2] Request for "/start_update" matches rule for function "start_update"
11:48:27.315 T:1512641392 WARNING: CSettingsManager: unable to read value of setting "service.time"
11:48:27.315 T:1512641392 WARNING: CAddonSettings[plugin.program.xmltv.meld]: failed to load value "" for setting service.time
11:48:27.316 T:1512641392 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
11:48:27.316 T:1420022640   ERROR: GetDirectory - Error getting plugin://plugin.program.xmltv.meld/start_update
11:48:27.318 T:1937407520   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.xmltv.meld/start_update) failed
11:48:35.745 T:1512641392 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
11:49:12.867 T:1461986160 WARNING: Previous line repeats 15 times.
11:49:12.867 T:1461986160  NOTICE: [xbmcswift2] Request for "/channels" matches rule for function "channels"
11:49:13.873 T:1512641392 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
11:49:29.246 T:1257239408 WARNING: Previous line repeats 17 times.
(2019-01-02, 18:09)MB32 Wrote: [ -> ]I enabled debugging and saw a bunch of these errors while digging through the log:
xml:
ERROR: 'http://us.yo.tv/api/GS?cid=1160&offset=-05.00&day=0'
This error repeats for most (or all) of the yo.tv channels
...and some other related stuff...
xml:
20:09:14.438 T:1487463280   ERROR: [plugin.program.xmltv.meld] Service now triggered...
20:09:14.439 T:1487463280   ERROR: SERVICE
20:09:15.370 T:1240454000  NOTICE: [xbmcswift2] Request for "/update" matches rule for function "update"
20:09:15.373 T:1240454000 WARNING: CSettingsManager: unable to read value of setting "service.time"
20:09:15.373 T:1240454000 WARNING: CAddonSettings[plugin.program.xmltv.meld]: failed to load value "" for setting service.time
xml:
11:48:11.698 T:1420022640  NOTICE: [xbmcswift2] Request for "/channels" matches rule for function "channels"
11:48:27.311 T:1807721328  NOTICE: [xbmcswift2] Request for "/start_update" matches rule for function "start_update"
11:48:27.315 T:1512641392 WARNING: CSettingsManager: unable to read value of setting "service.time"
11:48:27.315 T:1512641392 WARNING: CAddonSettings[plugin.program.xmltv.meld]: failed to load value "" for setting service.time
11:48:27.316 T:1512641392 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
11:48:27.316 T:1420022640   ERROR: GetDirectory - Error getting plugin://plugin.program.xmltv.meld/start_update
11:48:27.318 T:1937407520   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.xmltv.meld/start_update) failed
11:48:35.745 T:1512641392 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
11:49:12.867 T:1461986160 WARNING: Previous line repeats 15 times.
11:49:12.867 T:1461986160  NOTICE: [xbmcswift2] Request for "/channels" matches rule for function "channels"
11:49:13.873 T:1512641392 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
11:49:29.246 T:1257239408 WARNING: Previous line repeats 17 times.
 us.yo.tv seems to be very unreliable when I was testing it. Something seems to be seriously wrong at their end.
Do you get a good service in a browser?
http://us.yo.tv/
The zip code won't even work for me.

Are your channels in zap? If so try that instead.
You are correct, the Yo web interface seems to be partially broken -- I can see part of the guide but the zip code selection is not working.

I used the context menu option in Meld to "remove all channels" which I had selected under the Yo provider.  I noticed that the yellow highlighting on the region did not change even with all channels deselected -- the list did not auto refresh and I had to back out to the previous menu and reload it for the region to show as normal color (white).  Finally the Yo channels have now disappeared from the Meld Channels menu too.  But I guess you cant remove them the other way around (by removing them in the Meld channels menu and having them de-selected under the region they came from in Yo).

I then hit Update in Meld and rebooted after the update completed.  But the region which I de-selected in Yo still appears at the top of the EPG.  So I added a half dozen channel lineups from different TV systems in Zap.  Then I removed all but one.  But all of the deselected lineups still appear along the top of the EPG display.  (Can I manually edit a file to fix this?)

I dont really need a half dozen providers, but I do need at least 3 to match up the program guide data with the IPTV streams.  (I am primarily working with domestic and international news channels that have a free stream on their site but no EPG data on their site.)
(2019-01-07, 22:55)MB32 Wrote: [ -> ]You are correct, the Yo web interface seems to be partially broken -- I can see part of the guide but the zip code selection is not working.

I used the context menu option in Meld to "remove all channels" which I had selected under the Yo provider.  I noticed that the yellow highlighting on the region did not change even with all channels deselected -- the list did not auto refresh and I had to back out to the previous menu and reload it for the region to show as normal color (white).  Finally the Yo channels have now disappeared from the Meld Channels menu too.  But I guess you cant remove them the other way around (by removing them in the Meld channels menu and having them de-selected under the region they came from in Yo).

I then hit Update in Meld and rebooted after the update completed.  But the region which I de-selected in Yo still appears at the top of the EPG.  So I added a half dozen channel lineups from different TV systems in Zap.  Then I removed all but one.  But all of the deselected lineups still appear along the top of the EPG display.  (Can I manually edit a file to fix this?)

I dont really need a half dozen providers, but I do need at least 3 to match up the program guide data with the IPTV streams.  (I am primarily working with domestic and international news channels that have a free stream on their site but no EPG data on their site.)
 Have you done a Reset since I added yo.tv?
If not you might be getting some messed up channels from the way it was implemented internally before yo.tv.

Are there extra channels in your channels.m3u or xmltv.xml file that aren't in the "xmltv Meld \ Channels" list?

If you mean the Kodi EPG display, you probably need to reset the PVR channel data in "Kodi \ Settings \ PVR".
I am trying to use this add-on with yo.tv United Kingdom and sky line up.

When I right click on yo.tv and set provider and enter United Kingdom the channels are there is the correct order

Once I click on add all channels and update then check either the channels section or the xmltv file it creates the channels are all there but in a random order and not in the same order as sky lineup.

If there a way of keeping the same channel order as they show in the yo.tv directory?

So that the order is the same as the sky line eg BBC 1, BBC 2, ITV, channel 4

Is there a way to grab the sky channel numbers too?

Thanks for all your great work on this add-on and TVGuide full screen



Regards

Rich
(2019-01-08, 18:46)rich76 Wrote: [ -> ]I am trying to use this add-on with yo.tv United Kingdom and sky line up.

When I right click on yo.tv and set provider and enter United Kingdom the channels are there is the correct order

Once I click on add all channels and update then check either the channels section or the xmltv file it creates the channels are all there but in a random order and not in the same order as sky lineup.

If there a way of keeping the same channel order as they show in the yo.tv directory?

So that the order is the same as the sky line eg BBC 1, BBC 2, ITV, channel 4

Is there a way to grab the sky channel numbers too?

Thanks for all your great work on this add-on and TVGuide full screen



Regards

Rich
 Thanks.
At the moment you have to manually reorder them in Channels.
Click on a channel and select where it should go.

I'm wary of adding anything more to sorting, as it is getting too complicated as it is.
If I have the energy sometime I'll try and revisit it.
Ah no.problem,

Yes I noticed you could sort it there but with over 100 channels to sort that might take a while, I was hoping I missed an option somewhere [emoji846]

Thanks for your help

Rich
(2019-01-08, 19:31)rich76 Wrote: [ -> ]Ah no.problem,

Yes I noticed you could sort it there but with over 100 channels to sort that might take a while, I was hoping I missed an option somewhere [emoji846]

Thanks for your help

Rich
Sorting was in there before I added yo.tv but I couldn't work out how to fix it with all the different ways the providers are implemented.
You might have better luck with webgrab if your device can run it.
I added a few sorting options to my Webgrab Configurator addon.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22