Damn you're fast! Just tried it out and it works! Sent another donation your way for all the great work and support you've been doing.
Posts by Yousty
-
-
Still no luck. I even tried uninstalling the addon, deleting the userdata folder, and reinstalling 0.7.2.
Code
Display More22:40:04.500 T:4536 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index" 22:40:09.775 T:10924 NOTICE: Previous line repeats 2 times. 22:40:09.775 T:10924 NOTICE: [xbmcswift2] Request for "/channels" matches rule for function "channels" 22:40:09.776 T:10924 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.NameError'> Error Contents: global name 'tvh_url' is not defined Traceback (most recent call last): File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\default.py", line 293, in <module> plugin.run() File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run items = self._dispatch(self.request.path) File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch listitems = view_func(**items) File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\default.py", line 133, in channels create_cList() File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\default.py", line 91, in create_cList channels_url = 'http://' + tvh_url + ':' + tvh_port + '/api/channel/grid?all=1&limit=999999999&sort=name' NameError: global name 'tvh_url' is not defined -->End of Python script error report<-- 22:40:09.808 T:2192 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.module.zap2epg/channels 22:40:09.808 T:2192 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.module.zap2epg/channels) failed 22:40:10.305 T:3736 NOTICE: [xbmcswift2] Request for "/" matches rule for function "index"
-
Any idea why whenever I try and choose channel lineup in the addon I get an error? I'm running your latest version on Kodi 17.6 with TVH disabled and am just pulling the DirecTV lineup for my zip code. It pulls the data just fine, but having it pull for all 900 or so channels is way more than I need so it would be nice to be able to choose which channels.
Code
Display More20:24:19.456 T:5948 NOTICE: [xbmcswift2] Request for "/channels" matches rule for function "channels" 20:24:19.458 T:5948 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.NameError'> Error Contents: global name 'tvh_url' is not defined Traceback (most recent call last): File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\default.py", line 293, in <module> plugin.run() File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 332, in run items = self._dispatch(self.request.path) File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.xbmcswift2\lib\xbmcswift2\plugin.py", line 306, in _dispatch listitems = view_func(**items) File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\default.py", line 133, in channels create_cList() File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\default.py", line 91, in create_cList channels_url = 'http://' + tvh_url + ':' + tvh_port + '/api/channel/grid?all=1&limit=999999999&sort=name' NameError: global name 'tvh_url' is not defined -->End of Python script error report<-- 20:24:19.505 T:2224 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://script.module.zap2epg/channels 20:24:19.505 T:2224 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.module.zap2epg/channels) failed
-
You need to copy the settings.xml file into whatever folder your're going to run the program from.
If you want to run it without kodi after you use kodi to get it configured the way you want, copy the userdata folder contents to the same folder that you place the zap2epg.py file in.
Thanks, that worked!
-
I installed this addon in Kodi 17.6 and set it up to create an xmltv.xml file (not using TVH) for importing into TV Guide Fullscreen and it's working perfectly so now I'm trying to run the script outside Kodi but I can't seem to get it working. Any suggestions?
Code
Display MoreMicrosoft Windows [Version 10.0.16299.192] (c) 2017 Microsoft Corporation. All rights reserved. C:\Users\Anthony>c:\python27\python.exe C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\zap2epg.py Traceback (most recent call last): File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\zap2epg.py", line 759, in <module> mainRun(userdata) File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\zap2epg.py", line 38, in mainRun settings = ET.parse(settingsFile) File "c:\python27\lib\xml\etree\ElementTree.py", line 1182, in parse tree.parse(source, parser) File "c:\python27\lib\xml\etree\ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'C:\\Users\\Anthony\\settings.xml' C:\Users\Anthony>cd c:\python27 c:\Python27>python.exe C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\zap2epg.py Traceback (most recent call last): File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\zap2epg.py", line 759, in <module> mainRun(userdata) File "C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg\zap2epg.py", line 38, in mainRun settings = ET.parse(settingsFile) File "c:\Python27\lib\xml\etree\ElementTree.py", line 1182, in parse tree.parse(source, parser) File "c:\Python27\lib\xml\etree\ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'c:\\Python27\\settings.xml' c:\Python27>cd C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg>c:\python27\python.exe zap2epg.py Traceback (most recent call last): File "zap2epg.py", line 759, in <module> mainRun(userdata) File "zap2epg.py", line 38, in mainRun settings = ET.parse(settingsFile) File "c:\python27\lib\xml\etree\ElementTree.py", line 1182, in parse tree.parse(source, parser) File "c:\python27\lib\xml\etree\ElementTree.py", line 647, in parse source = open(source, "rb") IOError: [Errno 2] No such file or directory: 'C:\\Users\\Anthony\\AppData\\Roaming\\Kodi\\addons\\script.module.zap2epg\\settings.xml' C:\Users\Anthony\AppData\Roaming\Kodi\addons\script.module.zap2epg>