2018-03-24, 18:35
See if 0.0.5 fixes it. I've added a change to deal with iptvsimple using local m3u files.
Quote:http://url:port/live/user/password/2.ts
Quote:#EXTINF:-1 tvg-id="Nova TV" tvg-name="Nova_TV" tvg-logo="" group-title="Favoriti",Nova TV
Quote:#EXTM3U
#EXTINF:-1,HRT 1
http://ip:port/live/user/pass/2.ts
#EXTINF:-1,HRT 2
http://ip:port/live/user/pass/3.ts
19:04:28.964 T:6564 ERROR: [plugin.video.iptv.recorder] service started...
19:04:30.422 T:10284 NOTICE: [xbmcswift2] Request for "/start" matches rule for function "start"
19:04:30.423 T:2372 NOTICE: [xbmcswift2] Request for "/service" matches rule for function "service"
19:04:30.425 T:10284 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:04:55.238 T:8476 WARNING: Previous line repeats 3 times.
19:04:55.238 T:8476 ERROR: XFILE::CDirectory::GetDirectory - Error getting
19:04:56.707 T:8932 ERROR: Previous line repeats 18 times.
19:04:56.707 T:8932 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
19:04:56.709 T:8932 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:04:59.528 T:12388 WARNING: Previous line repeats 7 times.
19:04:59.528 T:12388 NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups"
19:05:01.776 T:5744 NOTICE: [xbmcswift2] Request for "/group/1" matches rule for function "group"
19:05:03.847 T:10852 NOTICE: [xbmcswift2] Request for "/channel/HRT+1/1190" matches rule for function "channel"
19:05:06.620 T:5920 NOTICE: [xbmcswift2] Request for "/broadcast/1190/HRT+1/Vijesti+iz+kulture/2018-03-25+20%3A54%3A00/2018-03-25+21%3A07%3A00" matches rule for function "broadcast"
19:05:06.621 T:5920 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:05:08.711 T:3912 WARNING: Previous line repeats 2 times.
19:05:08.711 T:3912 NOTICE: [xbmcswift2] Request for "/record_once/HRT+1/Vijesti+iz+kulture/2018-03-25+20%3A54%3A00/2018-03-25+21%3A07%3A00" matches rule for function "record_once"
19:05:08.712 T:3912 ERROR: No url for HRT 1
19:05:08.719 T:6920 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/record_once/HRT+1/Vijesti+iz+kulture/2018-03-25+20%3A54%3A00/2018-03-25+21%3A07%3A00
19:05:08.720 T:6920 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/record_once/HRT+1/Vijesti+iz+kulture/2018-03-25+20%3A54%3A00/2018-03-25+21%3A07%3A00) failed
19:05:09.517 T:5836 NOTICE: [xbmcswift2] Request for "/broadcast/1190/HRT+1/Vijesti+iz+kulture/2018-03-25+20%3A54%3A00/2018-03-25+21%3A07%3A00" matches rule for function "broadcast"
19:05:09.518 T:5836 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:05:11.458 T:10232 WARNING: Previous line repeats 2 times.
19:05:11.458 T:10232 NOTICE: [xbmcswift2] Request for "/channel/HRT+1/1190" matches rule for function "channel"
19:05:13.367 T:2692 NOTICE: [xbmcswift2] Request for "/group/1" matches rule for function "group"
19:05:15.575 T:12824 NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups"
19:05:19.792 T:2296 NOTICE: [xbmcswift2] Request for "/jobs" matches rule for function "jobs"
19:05:22.535 T:3080 NOTICE: [xbmcswift2] Request for "/rules" matches rule for function "rules"
19:05:24.978 T:12608 NOTICE: [xbmcswift2] Request for "/recordings" matches rule for function "recordings"
19:05:24.981 T:12608 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
(2018-03-24, 17:49)primaeval Wrote: Are you using a url or file for your m3u channels?I definitely use local. USTVNow and PS Vue through local m3u and locally generated epg xml.
If it is a file I'll need to add in a fix.
Right now I'm changing everything to use an sql database.
I'll add that fix in as I do it.
It is a bigger job than I first imagined.
19:20:56.158 T:6152 ERROR: [plugin.video.iptv.recorder] service started...
19:20:57.617 T:9292 NOTICE: [xbmcswift2] Request for "/service" matches rule for function "service"
19:20:57.618 T:9628 NOTICE: [xbmcswift2] Request for "/start" matches rule for function "start"
19:20:57.620 T:9292 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:20:57.628 T:9292 WARNING: Previous line repeats 3 times.
19:20:57.628 T:9292 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno 13] Permission denied: 'C:\\Users\\raych\\AppData\\Roaming\\Kodi\\userdata\\addon_data\\plugin.video.iptv.recorder\\.storage\\channel_urls.tmp'
Traceback (most recent call last):
File "C:\Users\raych\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 970, in <module>
plugin.run()
File "C:\Users\raych\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "C:\Users\raych\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "C:\Users\raych\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 713, in service
m3u()
File "C:\Users\raych\AppData\Roaming\Kodi\addons\plugin.video.iptv.recorder\main.py", line 693, in m3u
channel_urls.clear()
File "C:\Users\raych\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\storage.py", line 148, in clear
self.sync()
File "C:\Users\raych\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\storage.py", line 63, in sync
shutil.move(tempname, self.filename) # atomic commit
File "C:\Program Files (x86)\Kodi\system\python\Lib\shutil.py", line 302, in move
copy2(src, real_dst)
File "C:\Program Files (x86)\Kodi\system\python\Lib\shutil.py", line 130, in copy2
copyfile(src, dst)
File "C:\Program Files (x86)\Kodi\system\python\Lib\shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 13] Permission denied: 'C:\\Users\\raych\\AppData\\Roaming\\Kodi\\userdata\\addon_data\\plugin.video.iptv.recorder\\.storage\\channel_urls.tmp'
-->End of Python script error report<--
19:21:51.368 T:9744 ERROR: XFILE::CDirectory::GetDirectory - Error getting
19:21:52.833 T:7756 ERROR: Previous line repeats 18 times.
19:21:52.833 T:7756 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
19:21:52.834 T:7756 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:21:55.596 T:4092 WARNING: Previous line repeats 7 times.
19:21:55.596 T:4092 NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups"
19:21:57.644 T:11708 NOTICE: [xbmcswift2] Request for "/group/1" matches rule for function "group"
19:21:59.489 T:5172 NOTICE: [xbmcswift2] Request for "/channel/HRT+1/1190" matches rule for function "channel"
19:22:09.157 T:3144 NOTICE: [xbmcswift2] Request for "/broadcast/1190/HRT+1/Vrijeme/2018-03-24+18%3A43%3A00/2018-03-24+18%3A46%3A00" matches rule for function "broadcast"
19:22:09.159 T:3144 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:22:11.602 T:10516 WARNING: Previous line repeats 2 times.
19:22:11.602 T:10516 NOTICE: [xbmcswift2] Request for "/record_once/HRT+1/Vrijeme/2018-03-24+18%3A43%3A00/2018-03-24+18%3A46%3A00" matches rule for function "record_once"
19:22:11.602 T:10516 ERROR: No url for HRT 1
19:22:11.602 T:5456 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/record_once/HRT+1/Vrijeme/2018-03-24+18%3A43%3A00/2018-03-24+18%3A46%3A00
19:22:11.603 T:5456 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/record_once/HRT+1/Vrijeme/2018-03-24+18%3A43%3A00/2018-03-24+18%3A46%3A00) failed
19:22:12.410 T:12696 NOTICE: [xbmcswift2] Request for "/broadcast/1190/HRT+1/Vrijeme/2018-03-24+18%3A43%3A00/2018-03-24+18%3A46%3A00" matches rule for function "broadcast"
19:22:12.412 T:12696 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
19:22:14.712 T:3172 WARNING: Previous line repeats 2 times.
19:22:14.712 T:3172 NOTICE: [xbmcswift2] Request for "/channel/HRT+1/1190" matches rule for function "channel"
19:22:16.517 T:2800 NOTICE: [xbmcswift2] Request for "/group/1" matches rule for function "group"
19:22:18.426 T:4088 NOTICE: [xbmcswift2] Request for "/groups" matches rule for function "groups"
19:40:20.167 T:18446744073046853936 NOTICE: [xbmcswift2] Request for "/channel/MyChannel/1" matches rule for function "channel"
19:40:20.407 T:18446744073046853936 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OverflowError'>
Error Contents: mktime argument out of range
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 970, in <module>
plugin.run()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 562, in channel
start = str2dt(starttime)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 112, in str2dt
return utc2local(res)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 102, in utc2local
epoch = time.mktime(utc.timetuple())
OverflowError: mktime argument out of range
-->End of Python script error report<--
19:40:20.512 T:18446744073432856880 ERROR: GetDirectory - Error getting plugin://plugin.video.iptv.recorder/channel/MyChannel/1
19:40:20.516 T:18446744073432856880 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/channel/MyChannel/1) failed
20:28:14.942 T:18446744073046956336 NOTICE: [xbmcswift2] Request for "/channel/MyChannel/1" matches rule for function "channel"
20:28:15.091 T:18446744073046956336 ERROR: u'2018-03-24 05:15:00'
20:28:15.114 T:18446744073046956336 ERROR: u'2018-03-24 06:10:00'
20:28:15.119 T:18446744073046956336 ERROR: u'2018-03-24 07:05:00'
20:28:15.122 T:18446744073046956336 ERROR: u'2018-03-24 07:50:00'
20:28:15.124 T:18446744073046956336 ERROR: u'2018-03-24 08:35:00'
20:28:15.127 T:18446744073046956336 ERROR: u'2018-03-24 09:40:00'
20:28:15.130 T:18446744073046956336 ERROR: u'2018-03-24 10:25:00'
20:28:15.133 T:18446744073046956336 ERROR: u'2018-03-24 11:10:00'
20:28:15.136 T:18446744073046956336 ERROR: u'2018-03-24 11:55:00'
20:28:15.139 T:18446744073046956336 ERROR: u'2018-03-24 12:35:00'
20:28:15.141 T:18446744073046956336 ERROR: u'2018-03-24 13:05:00'
20:28:15.143 T:18446744073046956336 ERROR: u'2018-03-24 14:00:00'
20:28:15.147 T:18446744073046956336 ERROR: u'2018-03-24 14:45:00'
20:28:15.150 T:18446744073046956336 ERROR: u'2018-03-24 15:30:00'
20:28:15.152 T:18446744073046956336 ERROR: u'2018-03-24 15:55:00'
20:28:15.155 T:18446744073046956336 ERROR: u'2018-03-24 16:25:00'
20:28:15.157 T:18446744073046956336 ERROR: u'2018-03-24 17:10:00'
20:28:15.160 T:18446744073046956336 ERROR: u'2018-03-24 17:35:00'
20:28:15.163 T:18446744073046956336 ERROR: u'2018-03-24 18:30:00'
20:28:15.166 T:18446744073046956336 ERROR: u'2018-03-24 18:45:00'
20:28:15.168 T:18446744073046956336 ERROR: u'2018-03-24 19:05:00'
20:28:15.171 T:18446744073046956336 ERROR: u'2018-03-24 19:35:00'
20:28:15.173 T:18446744073046956336 ERROR: u'2018-03-24 19:44:00'
20:28:15.175 T:18446744073046956336 ERROR: u'2018-03-24 19:50:00'
20:28:15.179 T:18446744073046956336 ERROR: u'2018-03-24 20:40:00'
20:28:15.183 T:18446744073046956336 ERROR: u'2018-03-24 21:35:00'
20:28:15.185 T:18446744073046956336 ERROR: u'2018-03-24 22:30:00'
20:28:15.188 T:18446744073046956336 ERROR: u'2018-03-24 23:00:00'
20:28:15.190 T:18446744073046956336 ERROR: u'2018-03-24 23:25:00'
20:28:15.192 T:18446744073046956336 ERROR: u'2018-03-25 00:25:00'
20:28:15.196 T:18446744073046956336 ERROR: u'2018-03-25 01:10:00'
20:28:15.199 T:18446744073046956336 ERROR: u'2018-03-25 02:00:00'
20:28:15.208 T:18446744073046956336 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.OverflowError'>
Error Contents: mktime argument out of range
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 970, in <module>
plugin.run()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 332, in run
items = self._dispatch(self.request.path)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.xbmcswift2/lib/xbmcswift2/plugin.py", line 306, in _dispatch
listitems = view_func(**items)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 562, in channel
start = str2dt(starttime)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 112, in str2dt
return utc2local(res)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.iptv.recorder/main.py", line 102, in utc2local
epoch = time.mktime(utc.timetuple())
OverflowError: mktime argument out of range
-->End of Python script error report<--
20:28:15.312 T:18446744073432856880 ERROR: GetDirectory - Error getting plugin://plugin.video.iptv.recorder/channel/MyChannel/1
20:28:15.315 T:18446744073432856880 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/channel/MyChannel/1) failed
Quote:€}qUHRT 1
qUOhttp://theip:theport/live/myusername/mypass/2.ts
GAÖ-Ďť˛†qs.
22:06:03.000 T:12784 NOTICE: [xbmcswift2] Request for "/channel/AXN/1317" matches rule for function "channel"
22:06:08.298 T:5328 NOTICE: [xbmcswift2] Request for "/broadcast/1317/AXN/Iron+Man+3+%282013%29/2018-03-24+22%3A20%3A00/2018-03-25+00%3A45%3A00" matches rule for function "broadcast"
22:06:08.299 T:5328 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
22:06:11.563 T:11388 WARNING: Previous line repeats 2 times.
22:06:11.563 T:11388 NOTICE: [xbmcswift2] Request for "/record_once/AXN/Iron+Man+3+%282013%29/2018-03-24+22%3A20%3A00/2018-03-25+00%3A45%3A00" matches rule for function "record_once"
22:06:11.566 T:11388 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
22:06:11.582 T:13008 WARNING: Previous line repeats 4 times.
22:06:11.582 T:13008 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/record_once/AXN/Iron+Man+3+%282013%29/2018-03-24+22%3A20%3A00/2018-03-25+00%3A45%3A00
22:06:11.583 T:13008 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/record_once/AXN/Iron+Man+3+%282013%29/2018-03-24+22%3A20%3A00/2018-03-25+00%3A45%3A00) failed
22:06:13.145 T:2796 NOTICE: [xbmcswift2] Request for "/broadcast/1317/AXN/Iron+Man+3+%282013%29/2018-03-24+22%3A20%3A00/2018-03-25+00%3A45%3A00" matches rule for function "broadcast"
22:06:13.146 T:2796 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
22:06:13.243 T:12480 WARNING: Previous line repeats 2 times.
22:06:13.243 T:12480 NOTICE: [xbmcswift2] Request for "/broadcast/1317/AXN/Iron+Man+3+%282013%29/2018-03-24+22%3A20%3A00/2018-03-25+00%3A45%3A00" matches rule for function "broadcast"
22:06:13.244 T:12480 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
22:06:14.896 T:9416 WARNING: Previous line repeats 2 times.
22:06:14.896 T:9416 NOTICE: [xbmcswift2] Request for "/channel/AXN/1317" matches rule for function "channel"
22:06:24.532 T:5984 NOTICE: [xbmcswift2] Request for "/channel/Nova+World/1451" matches rule for function "channel"
22:06:30.904 T:4696 NOTICE: [xbmcswift2] Request for "/broadcast/1451/Nova+World/Nad+lipom+35/2018-03-24+21%3A20%3A00/2018-03-24+22%3A15%3A00" matches rule for function "broadcast"
22:06:30.905 T:4696 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
22:06:33.170 T:13220 WARNING: Previous line repeats 2 times.
22:06:33.170 T:13220 NOTICE: [xbmcswift2] Request for "/record_once/Nova+World/Nad+lipom+35/2018-03-24+21%3A20%3A00/2018-03-24+22%3A15%3A00" matches rule for function "record_once"
22:06:33.171 T:13220 ERROR: No url for Nova World
22:06:33.179 T:13008 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.iptv.recorder/record_once/Nova+World/Nad+lipom+35/2018-03-24+21%3A20%3A00/2018-03-24+22%3A15%3A00
22:06:33.180 T:13008 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.iptv.recorder/record_once/Nova+World/Nad+lipom+35/2018-03-24+21%3A20%3A00/2018-03-24+22%3A15%3A00) failed
22:06:33.949 T:1032 NOTICE: [xbmcswift2] Request for "/broadcast/1451/Nova+World/Nad+lipom+35/2018-03-24+21%3A20%3A00/2018-03-24+22%3A15%3A00" matches rule for function "broadcast"
22:06:33.950 T:1032 WARNING: [xbmcswift2] No converter provided, unicode should be used, but returning str value
22:06:37.056 T:12780 WARNING: Previous line repeats 2 times.
22:06:37.056 T:12780 NOTICE: [xbmcswift2] Request for "/channel/Nova+World/1451" matches rule for function "channel"
22:08:11.802 T:7584 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG Loaded.