![]() |
Release IPTV Recorder - 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: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: Release IPTV Recorder (/showthread.php?tid=329991) |
RE: IPTV Recorder - primaeval - 2018-04-11 (2018-04-11, 13:39)hotshot2k3 Wrote: Yep on the latest version. I tried commenting it out but it still does not show any EPG info unless I take out the underscoreHave a go with 0.0.18. RE: IPTV Recorder - hotshot2k3 - 2018-04-11 Working now!!! Thanks ![]() RE: IPTV Recorder - Alfredo Pérez - 2018-04-13 Hi @primaeval I'm trying to install this addon in my Mecool M8S Pro + with LibreElec. The problem is that I don't get to run it.
RE: IPTV Recorder - wigee - 2018-04-13 Since the change to XML i cannot get it to work on any device... I tried with seperate m3u file and via the config of Simple iptv. Also tried with the use of the links of xtream editor ->NOK Also tried the nuke option -> NOK Can you please check? Here is the logfile: 13:38:32.263 T:1676 ERROR: C:\Users\surf\AppData\Roaming\Kodi\addons\script.module.urllib3\lib\urllib3\connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecureRequestWarning) 13:39:44.650 T:16272 WARNING: Skin has invalid include: 13:40:13.941 T:4400 WARNING: Previous line repeats 4 times. 13:40:13.941 T:4400 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:40:13.953 T:4400 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index" 13:40:13.953 T:4400 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:40:15.836 T:14524 WARNING: Previous line repeats 3 times. 13:40:15.836 T:14524 NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups" 13:40:15.838 T:14524 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:40:17.078 T:13096 WARNING: Previous line repeats 1 times. 13:40:17.078 T:13096 NOTICE: [xbmcswift2] Request for "/group/All+Channels" matches rule for function "group" 13:40:17.079 T:13096 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:40:18.473 T:13120 WARNING: Previous line repeats 2 times. 13:40:18.473 T:13120 NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups" 13:40:18.474 T:13120 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:40:19.774 T:6564 WARNING: Previous line repeats 1 times. 13:40:19.774 T:6564 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index" 13:40:19.775 T:6564 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:41:26.795 T:16272 WARNING: Previous line repeats 2 times. 13:41:26.795 T:16272 ERROR: Control 50 in window 10025 has been asked to focus, but it can't 13:41:27.157 T:10472 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:41:27.168 T:10472 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index" 13:41:27.169 T:10472 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:41:30.058 T:15052 WARNING: Previous line repeats 3 times. 13:41:30.058 T:15052 NOTICE: [xbmcswift2] Request for "/nuke" matches rule for function "nuke" 13:41:36.896 T:15052 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:41:36.928 T:15052 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.UnicodeDecodeError'> Error Contents: 'utf8' codec can't decode byte 0xe9 in position 1966: invalid continuation byte Traceback (most recent call last): File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 2070, in <module> plugin.run() File "C:\Users\surf\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run items = self._dispatch(self.request.path) File "C:\Users\surf\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch listitems = view_func(**items) File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 1954, in nuke full_service() File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 1521, in full_service xmltv() File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 1741, in xmltv data = f.read().decode("utf8") File "C:\Program Files (x86)\Kodi\system\python\Lib\encodings\utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 1966: invalid continuation byte -->End of Python script error report<-- 13:41:36.987 T:16272 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/nuke 13:41:36.988 T:16272 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/nuke) failed 13:41:37.320 T:15096 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 13:41:37.333 T:15096 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index" 13:41:37.333 T:15096 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value RE: IPTV Recorder - primaeval - 2018-04-13 (2018-04-13, 12:55)Alfredo Pérez Wrote: Hi @primaeval I'm trying to install this addon in my Mecool M8S Pro + with LibreElec. The problem is that I don't get to run it.There is a version of ffmpeg that comes with libreELEC in /usr/bin/ffmpeg It should be good enough for most streams as far as I know. RE: IPTV Recorder - primaeval - 2018-04-13 (2018-04-13, 13:49)wigee Wrote: Since the change to XML i cannot get it to work on any device...You have something weird in your m3u file at byte number 1966. It can't decode 0xe9 as a utf8 character. Is your file encoded as utf8 or something more exotic? You could try changing whatever the name is to something more ascii if possible. Try to change this line https://github.com/primaeval/plugin.video.iptv.recorder/blob/master/main.py#L1741 to Code: data = f.read() unicode and utf8 are always the major problems with these addons. RE: IPTV Recorder - primaeval - 2018-04-13 Is your file actually a plain ascii .m3u file rather than a utf8 .m3u8 file? If it is the code should probably be this: Code: f = xbmcvfs.File(m3uFile) I'll add that in instead if it works for you. RE: IPTV Recorder - wigee - 2018-04-13 (2018-04-13, 15:37)primaeval Wrote: f = xbmcvfs.File(m3uFile) Hi, I do not know what kind of file my m3u file is... Tried to change the file AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py No knowlegde of it but i search for the quote and changed it, still noK See log -> 15:53:27.365 T:5884 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/xmltv 15:53:27.369 T:5884 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/xmltv) failed 15:53:27.726 T:9900 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 15:53:27.740 T:9900 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index" 15:53:27.741 T:9900 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 15:53:43.264 T:7228 WARNING: Previous line repeats 3 times. 15:53:43.264 T:7228 NOTICE: [xbmcswift2] Request for "/full_service" matches rule for function "full_service" 15:53:43.506 T:7228 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value 15:53:43.597 T:7228 WARNING: Previous line repeats 460 times. 15:53:43.597 T:7228 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'sqlite3.ProgrammingError'> Error Contents: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. Traceback (most recent call last): File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 2072, in <module> plugin.run() File "C:\Users\surf\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run items = self._dispatch(self.request.path) File "C:\Users\surf\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch listitems = view_func(**items) File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 1521, in full_service xmltv() File "C:\Users\surf\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 1788, in xmltv [name.strip(), tvg_name, tvg_id, tvg_logo, groups, url.strip()]) ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings. -->End of Python script error report<-- name of the m3u file -> IPTVtest.m3u RE: IPTV Recorder - primaeval - 2018-04-13 I added that change in anyway. I think it makes sense not to decode a normal m3u file. It's in the repo as version 0.0.19. Have you got a channel with an é in it a couple of pages down in your m3u file? Maybe RTÉ One or something French? RE: IPTV Recorder - wigee - 2018-04-13 Yes probably as i have some Belgian French channels in the iptv list. I'll install the new version later today. RE: IPTV Recorder - primaeval - 2018-04-13 That makes sense with the é then. It should update itself if you're lucky. Let me know if it works or not. RE: IPTV Recorder - DarrenHill - 2018-04-13 A general reminder - for logs and longer log snippets please use a PasteBin site rather than posting them directly here (and then quoting them). We try to avoid bloating the forum database with them when possible. RE: IPTV Recorder - wigee - 2018-04-14 Installed version 19 and did a new test. Same error... (first removed my modification and opened kodi, checked updates, installed version 19° see logs: https://pastebin.com/URbYi31T RE: IPTV Recorder - primaeval - 2018-04-14 (2018-04-14, 10:30)wigee Wrote: Installed version 19 and did a new test.Could you try this latest commit for me. https://github.com/primaeval/plugin.video.iptv.recorder/commit/717f36f808962d758b99766926511077f46a7144 It uses the chardet library to try to detect the file encoding and then decode it. RE: IPTV Recorder - primaeval - 2018-04-14 version 0.0.21 - Settings\Data\ xmltv Title regex search/replace Use this to clean up the xmltv titles. A lot of xmltv files have lots of crap in square brackets so use the eg to get rid of it: Code: \[.*?\] |