Plugin stops working after 1 stream
Opened this issue · 0 comments
recently updated to the latest version (2016.3.7
). I am able to watch a stream after a reboot but if I stop and try to open up the plugin, I get the following in my logs:
22:27:08 T:139902041712384 NOTICE: -->Python Interpreter Initialized<--
22:27:08 T:139902041712384 NOTICE: PROVIDER!!!
22:27:08 T:139902041712384 NOTICE: Comcast (xfinity)
22:27:08 T:139902041712384 NOTICE: Mode: None
22:27:08 T:139902041712384 NOTICE: URL: None
22:27:08 T:139902041712384 NOTICE: Name: None
22:27:08 T:139902041712384 NOTICE: scrape_type:None
22:27:08 T:139902041712384 NOTICE: icon image:None
22:27:08 T:139902050105088 NOTICE: Thread BackgroundLoader start, auto delete: false
22:27:13 T:139902041712384 NOTICE: Thread LanguageInvoker start, auto delete: false
22:27:13 T:139902041712384 NOTICE: -->Python Interpreter Initialized<--
22:27:13 T:139902041712384 NOTICE: PROVIDER!!!
22:27:13 T:139902041712384 NOTICE: Comcast (xfinity)
22:27:13 T:139902041712384 NOTICE: Mode: 1
22:27:13 T:139902041712384 NOTICE: URL: /live
22:27:13 T:139902041712384 NOTICE: Name: Live & Upcoming
22:27:13 T:139902041712384 NOTICE: scrape_type:None
22:27:13 T:139902041712384 NOTICE: icon image:/storage/.kodi/addons/plugin.video.nbcsnliveextra/icon.png
22:27:13 T:139902041712384 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.TypeError'>
Error Contents: attribute of type 'NoneType' is not callable
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.nbcsnliveextra/nbcsn.py", line 471, in
LIVE_AND_UPCOMING()
File "/storage/.kodi/addons/plugin.video.nbcsnliveextra/nbcsn.py", line 35, in LIVE_AND_UPCOMING
SCRAPE_VIDEOS(ROOT_URL+'mcms/prod/nbc-live-ios.json')
File "/storage/.kodi/addons/plugin.video.nbcsnliveextra/nbcsn.py", line 83, in SCRAPE_VIDEOS
BUILD_VIDEO_LINK(item)
File "/storage/.kodi/addons/plugin.video.nbcsnliveextra/nbcsn.py", line 149, in BUILD_VIDEO_LINK
my_time = datetime.strptime(current_time,pattern)
TypeError: attribute of type 'NoneType' is not callable
-->End of Python script error report<--
22:27:13 T:139903893424000 ERROR: GetDirectory - Error getting plugin://plugin.video.nbcsnliveextra/?icon_image=%2fstorage%2f.kodi%2faddons%2fplugin.video.nbcsnliveextra%2ficon.png&mode=1&name=
22:27:13 T:139903893424000 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nbcsnliveextra/?icon_image=%2fstorage%2f.kodi%2faddons%2fplugin.video.nbcsnliveextra%2ficon.png&mode=1&name
22:27:13 T:139902041712384 NOTICE: Thread LanguageInvoker start, auto delete: false