Posts: 27
Joined: Aug 2014
Reputation:
4
2018-04-10, 19:50
(This post was last modified: 2018-04-10, 19:54 by hotshot2k3.)
zap2it has been changing the channel id's almost weekly and its too much work to keep changing it, the only thing that doesn't change is the name
I tried this but it did not work, is that what you meant by the 2nd example?
#EXTINF:-1 channel-id="CBS" tvg-name="502_WCBSDT" tvg-logo="special://home/media\Logos\CBS.png",CBS
Posts: 27
Joined: Aug 2014
Reputation:
4
2018-04-10, 20:04
(This post was last modified: 2018-04-10, 20:07 by hotshot2k3.)
Got it, I see what you are saying, probably won't work for me since I have no control over the xmltv data.
Hopefully in the future you could add a setting to add support for the "tvg-name" parameter which corresponds to the display-name in the xmltv file
IPTV Simple PVR works with the tvg-name parameter and does not need a channel-id in the .m3u
Posts: 3,101
Joined: Apr 2014
Reputation:
270
I'll see if I can add it in for you.
It looks like it would be a lot of work for you to do by hand.
Posts: 3,101
Joined: Apr 2014
Reputation:
270
Try 0.0.16.
I've put a fallback in for you.
If there is no tvg-id in the stream it will try to match the tvg-name to the first display-name in the xmltv file and set the tvg-id to the channel id.
If there is also no tvg-name it will try to match the name after the comma to the first display-name.
I really don't want to check against all the display names as this is getting complicated enough already.
Posts: 27
Joined: Aug 2014
Reputation:
4
I get this when clicking Channel Groups --> All Channels
Full EPG is also unchanged
17:57:05.961 T:2100 NOTICE: [xbmcswift2] Request for "/group/All+Channels" matches rule for function "group"
17:57:05.963 T:2100 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
17:57:05.964 T:2100 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
File "C:\Users\timot\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 2070, in <module>
plugin.run()
File "C:\Users\timot\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "C:\Users\timot\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "C:\Users\timot\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 1466, in group
channelid =channelid.encode("utf8")
AttributeError: 'NoneType' object has no attribute 'encode'
-->End of Python script error report<--
17:57:05.981 T:6476 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/group/All+Channels
17:57:05.981 T:6476 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/group/All+Channels) failed
17:57:06.278 T:5180 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
17:57:06.288 T:5180 NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups"
17:57:06.289 T:5180 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
17:57:11.859 T:7524 WARNING: Previous line repeats 1 times.
17:57:11.859 T:7524 NOTICE: [xbmcswift2] Request for "/full_service" matches rule for function "full_service"
17:57:11.930 T:7524 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
Posts: 61
Joined: May 2015
Reputation:
15
Should I be able to record the same show on a weekly basis without any user input?
Say I want to record “GNS” on BBC1 and it starts on Friday 15.30 MST for 1 hour.
Will it record BBC1 weekly starting at 15.30 MST every week regardless of what is playing? Or will it look and see if a different show is playing in the guide,if so not record?
Obviously can’t record 2 shows at the same time but if I set 2 shows to record on the same day at different times, should it record both without any input?
Thanks for another amazing addon @primeval you are by far the best dev I have had the pleasure of knowing. Always there to help.
Posts: 27
Joined: Aug 2014
Reputation:
4
2018-04-11, 13:20
(This post was last modified: 2018-04-11, 13:21 by hotshot2k3.)
I found the issue:
This doesn't work:
#EXTINF:-1 tvg-name="502_WCBSDT" tvg-logo="special://home/media\Logos\CBS.png",CBS
This does work:
#EXTINF:-1 tvg-name="502 WCBSDT" tvg-logo="special://home/media\Logos\CBS.png",CBS
The difference is the underscore between 502 WCBSDT. IPTV simple client can't read it without the underscore but your addon can.
If its not fixable on your end I might just make a local copy of the .m3u without the underscores
Posts: 27
Joined: Aug 2014
Reputation:
4
Yep on the latest version. I tried commenting it out but it still does not show any EPG info unless I take out the underscore