•   
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 81
  •   
Release IPTV Recorder
(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 underscore
 Have a go with 0.0.18.
Reply
Working now!!!

Thanks Rofl
Reply
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.
  1. I install the repository
  2. Then I install de addon.
  3. What version of ffmepg must I install? This? https://johnvansickle.com/ffmpeg/release...tic.tar.xz
Thanks.
Reply
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...l-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
Reply
(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.
  1. I install the repository
  2. Then I install de addon.
  3. What version of ffmepg must I install? This? https://johnvansickle.com/ffmpeg/release...tic.tar.xz
Thanks. 
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.
Reply
(2018-04-13, 13:49)wigee Wrote: 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...l-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
 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.vide...n.py#L1741
to
Code:
data = f.read()
and tell me if that works.

unicode and utf8 are always the major problems with these addons.
Reply
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)
            data = f.read()
            if path.endswith("8"):
                data = data.decode("utf8")

I'll add that in instead if it works for you.
Reply
(2018-04-13, 15:37)primaeval Wrote: f = xbmcvfs.File(m3uFile)
            data = f.read()
            if path.endswith("8"):
                data = data.decode("utf8")

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
Reply
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?
Reply
Yes probably as i have some Belgian French channels in the iptv list.
I'll install the new version later today.
Reply
That makes sense with the é then.
It should update itself if you're lucky.
Let me know if it works or not.
Reply
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.
|Banned add-ons (wiki) Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

My Blog Posts
Reply
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
Reply
(2018-04-14, 10:30)wigee Wrote: 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
 Could you try this latest commit for me.
https://github.com/primaeval/plugin.vide...77f46a7144
It uses the chardet library to try to detect the file encoding and then decode it.
Reply
Exclamation 
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:
 \[.*?\]
Reply
  •   
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 81
  •   
 
Thread Rating:
  • 4 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
IPTV Recorder54
This forum uses Lukasz Tkacz MyBB addons.