aussieaddons / plugin.video.sbs

SBS On Demand add-on for Kodi
http://aussieaddons.com/addons/sbs/
GNU General Public License v3.0
10 stars 8 forks source link

SBS On Demand fails to play video #381

Closed RustyKnight closed 8 years ago

RustyKnight commented 8 years ago

Kodi 17.0 Beta 1 SBS Plugin - Master/latest (tried with the version from the repo 1.3 with the same result)

20:07:31 T:140735142719488   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.sbs/)
20:07:31 T:140735142719488   DEBUG:   ParentPath = [plugin://plugin.video.sbs/]
20:07:31 T:123145313189888   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.sbs] took 2 ms
20:07:31 T:123145312653312   DEBUG: StartScript - calling plugin SBS On Demand('plugin://plugin.video.sbs/','1','')
20:07:31 T:123145307209728   DEBUG: Thread LanguageInvoker start, auto delete: false
20:07:31 T:123145307209728    INFO: initializing python engine.
20:07:31 T:123145307209728   DEBUG: CPythonInvoker(2, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): start processing
20:07:31 T:123145307209728   DEBUG: -->Python Interpreter Initialized<--
20:07:31 T:123145307209728   DEBUG: CPythonInvoker(2, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): the source file to load is "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py"
20:07:31 T:123145307209728   DEBUG: CPythonInvoker(2, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): setting the Python path to /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs:/Users/shane/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib:/Users/shane/Library/Application Support/Kodi/addons/script.module.beautifulsoup/lib:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/setuptools-18.4-py2.7.egg:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python27.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.7:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages
20:07:31 T:123145307209728   DEBUG: CPythonInvoker(2, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): entering source directory /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs
20:07:31 T:123145307209728   DEBUG: CPythonInvoker(2, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): instantiating addon using automatically obtained id of "plugin.video.sbs" dependent on version 2.1.0 of the xbmc.python api
20:07:32 T:140735142719488   DEBUG: ------ Window Init (DialogBusy.xml) ------
20:07:32 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] XBMC/Kodi 17.0-BETA1 running on OSX
20:07:32 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] Loading add-on with params: {}
20:07:32 T:123145307209728 WARNING: Attempt to use invalid handle 1
20:07:32 T:123145307209728    INFO: CPythonInvoker(2, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): script successfully run
20:07:32 T:123145318555648   DEBUG: Thread BackgroundLoader start, auto delete: false
20:07:32 T:123145307746304   DEBUG: GetImageHash - unable to stat url
20:07:32 T:123145307209728    INFO: Python script stopped
20:07:32 T:123145307209728   DEBUG: Thread LanguageInvoker 123145307209728 terminating
20:07:32 T:123145318555648   DEBUG: Thread BackgroundLoader 123145318555648 terminating
20:07:32 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:33 T:140735142719488   DEBUG: Previous line repeats 8 times.
20:07:33 T:140735142719488   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
20:07:33 T:123145307746304   DEBUG: GetImageHash - unable to stat url
20:07:33 T:140735142719488   DEBUG: Previous line repeats 9 times.
20:07:33 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:33 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:33 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:33 T:123145312116736   DEBUG: Version Check: Version installed {u'major': 17, u'tag': u'beta', u'tagversion': u'1', u'minor': 0, u'revision': u'20160821-81d5d26'}
20:07:33 T:123145312116736    INFO: CPythonInvoker(0, /Users/shane/Library/Application Support/Kodi/addons/service.xbmc.versioncheck/service.py): script successfully run
20:07:33 T:123145312116736    INFO: Python script stopped
20:07:33 T:123145312116736   DEBUG: Thread LanguageInvoker 123145312116736 terminating
20:07:33 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:33 T:140735142719488   DEBUG: Previous line repeats 3 times.
20:07:33 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:33 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:33 T:140735142719488   DEBUG: Previous line repeats 6 times.
20:07:33 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:33 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:33 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:33 T:140735142719488   DEBUG: Previous line repeats 3 times.
20:07:33 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:33 T:123145312653312   DEBUG: GetImageHash - unable to stat url
20:07:34 T:140735142719488   DEBUG: Previous line repeats 6 times.
20:07:34 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
20:07:34 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:34 T:140735142719488   DEBUG: Previous line repeats 1 times.
20:07:34 T:140735142719488   DEBUG: OnKey: return (0xf00d) pressed, action is Select
20:07:34 T:140735142719488   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.sbs/?category=Programs)
20:07:34 T:140735142719488   DEBUG:   ParentPath = [plugin://plugin.video.sbs/]
20:07:34 T:123145322311680   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.sbs] took 4 ms
20:07:34 T:123145313189888   DEBUG: StartScript - calling plugin SBS On Demand('plugin://plugin.video.sbs/','2','?category=Programs')
20:07:34 T:123145307209728   DEBUG: Thread LanguageInvoker start, auto delete: false
20:07:34 T:123145307209728    INFO: initializing python engine.
20:07:34 T:123145307209728   DEBUG: CPythonInvoker(3, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): start processing
20:07:34 T:123145307209728   DEBUG: -->Python Interpreter Initialized<--
20:07:34 T:123145307209728   DEBUG: CPythonInvoker(3, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): the source file to load is "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py"
20:07:34 T:123145307209728   DEBUG: CPythonInvoker(3, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): setting the Python path to /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs:/Users/shane/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib:/Users/shane/Library/Application Support/Kodi/addons/script.module.beautifulsoup/lib:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/setuptools-18.4-py2.7.egg:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python27.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.7:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages
20:07:34 T:123145307209728   DEBUG: CPythonInvoker(3, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): entering source directory /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs
20:07:34 T:123145307209728   DEBUG: CPythonInvoker(3, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): instantiating addon using automatically obtained id of "plugin.video.sbs" dependent on version 2.1.0 of the xbmc.python api
20:07:34 T:140735142719488   DEBUG: ------ Window Init (DialogBusy.xml) ------
20:07:34 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] XBMC/Kodi 17.0-BETA1 running on OSX
20:07:34 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] Loading add-on with params: {'category': 'Programs'}
20:07:34 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] Making category list
20:07:34 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] Fetching category: Programs
20:07:34 T:123145307746304   DEBUG: GetImageHash - unable to stat url
20:07:34 T:123145307209728   DEBUG: Previous line repeats 7 times.
20:07:34 T:123145307209728 WARNING: Attempt to use invalid handle 2
20:07:34 T:123145307209728    INFO: CPythonInvoker(3, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): script successfully run
20:07:34 T:123145312116736   DEBUG: Thread BackgroundLoader start, auto delete: false
20:07:34 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
20:07:34 T:123145312116736   DEBUG: Thread BackgroundLoader 123145312116736 terminating
20:07:34 T:123145312653312   DEBUG: GetImageHash - unable to stat url
20:07:34 T:123145307209728    INFO: Python script stopped
20:07:34 T:123145307209728   DEBUG: Thread LanguageInvoker 123145307209728 terminating
20:07:34 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:35 T:140735142719488   DEBUG: Previous line repeats 6 times.
20:07:35 T:140735142719488   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
20:07:35 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 26 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:36 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:36 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 1 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:36 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 3 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:36 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:36 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 1 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:36 T:123145312653312   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 2 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:36 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:36 T:123145312653312   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 1 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:36 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 2 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:36 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:36 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 1 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:36 T:123145312653312   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 2 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:36 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:36 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 1 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:36 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:36 T:140735142719488   DEBUG: Previous line repeats 2 times.
20:07:36 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:36 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:36 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:37 T:140735142719488   DEBUG: Previous line repeats 2 times.
20:07:37 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:37 T:123145312653312   DEBUG: GetImageHash - unable to stat url
20:07:37 T:140735142719488   DEBUG: Previous line repeats 2 times.
20:07:37 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:37 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:37 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:37 T:140735142719488   DEBUG: Previous line repeats 1 times.
20:07:37 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:37 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:37 T:140735142719488   DEBUG: Previous line repeats 4 times.
20:07:37 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:37 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:37 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:37 T:140735142719488   DEBUG: Previous line repeats 1 times.
20:07:37 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:37 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:37 T:140735142719488   DEBUG: Previous line repeats 3 times.
20:07:37 T:140735142719488   DEBUG: Keyboard: scancode: 0x7e, sym: 0x0111, unicode: 0xf700, modifier: 0x0
20:07:37 T:140735142719488   DEBUG: OnKey: up (0xf080) pressed, action is Up
20:07:37 T:123145312653312   DEBUG: GetImageHash - unable to stat url
20:07:37 T:140735142719488   DEBUG: Previous line repeats 2 times.
20:07:37 T:140735142719488   DEBUG: Keyboard: scancode: 0x7e, sym: 0x0111, unicode: 0x0000, modifier: 0x0
20:07:37 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:37 T:140735142719488   DEBUG: Previous line repeats 1 times.
20:07:37 T:140735142719488   DEBUG: Keyboard: scancode: 0x7e, sym: 0x0111, unicode: 0xf700, modifier: 0x0
20:07:37 T:140735142719488   DEBUG: OnKey: up (0xf080) pressed, action is Up
20:07:37 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:37 T:140735142719488   DEBUG: Previous line repeats 3 times.
20:07:37 T:140735142719488   DEBUG: Keyboard: scancode: 0x7e, sym: 0x0111, unicode: 0x0000, modifier: 0x0
20:07:37 T:123145312653312   DEBUG: GetImageHash - unable to stat url
20:07:38 T:140735142719488   DEBUG: Previous line repeats 5 times.
20:07:38 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
20:07:38 T:123145322311680   DEBUG: GetImageHash - unable to stat url
20:07:38 T:140735142719488   DEBUG: Previous line repeats 3 times.
20:07:38 T:140735142719488   DEBUG: OnKey: return (0xf00d) pressed, action is Select
20:07:38 T:140735142719488   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.sbs/?category=Programs&section=Documentary)
20:07:38 T:140735142719488   DEBUG:   ParentPath = [plugin://plugin.video.sbs/?category=Programs]
20:07:38 T:123145313189888   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.sbs] took 3 ms
20:07:38 T:123145312653312   DEBUG: StartScript - calling plugin SBS On Demand('plugin://plugin.video.sbs/','3','?category=Programs&section=Documentary')
20:07:38 T:123145307209728   DEBUG: Thread LanguageInvoker start, auto delete: false
20:07:38 T:123145307209728    INFO: initializing python engine.
20:07:38 T:123145307209728   DEBUG: CPythonInvoker(4, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): start processing
20:07:38 T:123145307209728   DEBUG: -->Python Interpreter Initialized<--
20:07:38 T:123145307209728   DEBUG: CPythonInvoker(4, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): the source file to load is "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py"
20:07:38 T:123145307209728   DEBUG: CPythonInvoker(4, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): setting the Python path to /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs:/Users/shane/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib:/Users/shane/Library/Application Support/Kodi/addons/script.module.beautifulsoup/lib:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/setuptools-18.4-py2.7.egg:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python27.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.7:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages
20:07:38 T:123145307209728   DEBUG: CPythonInvoker(4, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): entering source directory /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs
20:07:38 T:123145307209728   DEBUG: CPythonInvoker(4, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): instantiating addon using automatically obtained id of "plugin.video.sbs" dependent on version 2.1.0 of the xbmc.python api
20:07:38 T:140735142719488   DEBUG: ------ Window Init (DialogBusy.xml) ------
20:07:38 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] XBMC/Kodi 17.0-BETA1 running on OSX
20:07:38 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] Loading add-on with params: {'category': 'Programs', 'section': 'Documentary'}
20:07:38 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] Making section list
20:07:38 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] Fetching section: Documentary
20:07:38 T:123145307209728   DEBUG: [SBS On Demand v1.0.8] Fetching category: Programs
20:07:38 T:123145307746304   DEBUG: GetImageHash - unable to stat url
20:07:40 T:123145307209728   DEBUG: Previous line repeats 42 times.
20:07:40 T:123145307209728    INFO: CPythonInvoker(4, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): script successfully run
20:07:40 T:140735142719488   DEBUG: Saving fileitems [plugin://plugin.video.sbs/?category=Programs&section=Documentary]
20:07:40 T:140735142719488   DEBUG:   -- items: 41, sort method: 0, ascending: false
20:07:40 T:123145307209728    INFO: Python script stopped
20:07:40 T:123145307209728   DEBUG: Thread LanguageInvoker 123145307209728 terminating
20:07:40 T:123145302839296   DEBUG: Thread BackgroundLoader start, auto delete: false
20:07:40 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
20:07:40 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:40 T:123145302839296   DEBUG: Thread BackgroundLoader 123145302839296 terminating
20:07:40 T:140735142719488   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
20:07:40 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:40 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:40 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:40 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:40 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:40 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:40 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:41 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:41 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:42 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:42 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:42 T:123145307746304   DEBUG: CurlFile::Open(0x7fe8348d82f0) http://media.sbs.com.au/video/upload_media/2488_cold-war-hot-jets-sml.gif
20:07:42 T:123145307746304    INFO: easy_aquire - Created session to http://media.sbs.com.au
20:07:42 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:42 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
20:07:42 T:140735142719488   DEBUG: OnKey: return (0xf00d) pressed, action is Select
20:07:42 T:140735142719488   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.sbs/?entries_url=http%3A%2F%2Fwww.sbs.com.au%2Fapi%2Fvideo_feed%2Ff%2FBgtm9B%2Fsbs-app-section-programs%2F%3FbyCustomValue%3D%257BpilatDealcode%257D%257B159105%257D%26count%3Dtrue%26context%3Dandroid%26form%3Djson)
20:07:42 T:140735142719488   DEBUG:   ParentPath = [plugin://plugin.video.sbs/?category=Programs&section=Documentary]
20:07:42 T:123145312653312   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.sbs] took 5 ms
20:07:42 T:123145322311680   DEBUG: StartScript - calling plugin SBS On Demand('plugin://plugin.video.sbs/','4','?entries_url=http%3A%2F%2Fwww.sbs.com.au%2Fapi%2Fvideo_feed%2Ff%2FBgtm9B%2Fsbs-app-section-programs%2F%3FbyCustomValue%3D%257BpilatDealcode%257D%257B159105%257D%26count%3Dtrue%26context%3Dandroid%26form%3Djson')
20:07:42 T:123145302839296   DEBUG: Thread LanguageInvoker start, auto delete: false
20:07:42 T:123145302839296    INFO: initializing python engine.
20:07:42 T:123145302839296   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): start processing
20:07:42 T:123145302839296   DEBUG: -->Python Interpreter Initialized<--
20:07:42 T:123145302839296   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): the source file to load is "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py"
20:07:42 T:123145302839296   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): setting the Python path to /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs:/Users/shane/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib:/Users/shane/Library/Application Support/Kodi/addons/script.module.beautifulsoup/lib:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/setuptools-18.4-py2.7.egg:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python27.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.7:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages
20:07:42 T:123145302839296   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): entering source directory /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs
20:07:42 T:123145302839296   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): instantiating addon using automatically obtained id of "plugin.video.sbs" dependent on version 2.1.0 of the xbmc.python api
20:07:42 T:123145307746304   DEBUG: DoWork - took 535 ms to load http://media.sbs.com.au/video/upload_media/2488_cold-war-hot-jets-sml.gif
20:07:43 T:140735142719488   DEBUG: ------ Window Init (DialogBusy.xml) ------
20:07:43 T:123145302839296   DEBUG: [SBS On Demand v1.0.8] XBMC/Kodi 17.0-BETA1 running on OSX
20:07:43 T:123145302839296   DEBUG: [SBS On Demand v1.0.8] Loading add-on with params: {'entries_url': 'http://www.sbs.com.au/api/video_feed/f/Bgtm9B/sbs-app-section-programs/?byCustomValue=%7BpilatDealcode%7D%7B159105%7D&count=true&context=android&form=json'}
20:07:43 T:123145302839296   DEBUG: [SBS On Demand v1.0.8] Making entries list
20:07:43 T:123145302839296    INFO: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): script successfully run
20:07:43 T:123145304526848   DEBUG: Thread BackgroundLoader start, auto delete: false
20:07:43 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
20:07:43 T:123145302839296    INFO: Python script stopped
20:07:43 T:123145302839296   DEBUG: Thread LanguageInvoker 123145302839296 terminating
20:07:43 T:123145313189888   DEBUG: GetImageHash - unable to stat url
20:07:43 T:123145304526848   DEBUG: Thread BackgroundLoader 123145304526848 terminating
20:07:43 T:140735142719488   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
20:07:43 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:43 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:43 T:123145307746304   DEBUG: GetImageHash - unable to stat url
20:07:43 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:44 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
20:07:44 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
20:07:44 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
20:07:44 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
20:07:44 T:140735142719488   DEBUG: OnKey: return (0xf00d) pressed, action is Select
20:07:44 T:140735142719488   DEBUG: RunScriptWithParams - calling plugin SBS On Demand('plugin://plugin.video.sbs/','-1','?play=true&rating=PG&date=2016-08-25+15%3A05%3A00&description=As+the+Iron+Curtain+fell+across+Europe+the+jet+plane+came+to+epitomise+how+the+Cold+War+was+fought.+Britain%27s+V+bombers%2C+armed+with+devastating+newweapons%2C+were+able+to+fly+faster%2C+higher+and+further.&title=Cold+War%2C+Hot+Jets&thumbnail=http%3A%2F%2Fvideocdn.sbs.com.au%2Fu%2Fvideo%2FSBS%2Fmanaged%2Fimages%2F2015%2F01%2F09%2F378716227728_01090101-large.jpg&episode_title=Darker+Skies&duration=3054&id=378716227728')
20:07:44 T:123145302839296   DEBUG: Thread LanguageInvoker start, auto delete: false
20:07:44 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
20:07:44 T:123145302839296    INFO: initializing python engine.
20:07:44 T:123145302839296   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): start processing
20:07:44 T:123145302839296   DEBUG: -->Python Interpreter Initialized<--
20:07:44 T:123145302839296   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): the source file to load is "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py"
20:07:44 T:123145302839296   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): setting the Python path to /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs:/Users/shane/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib:/Users/shane/Library/Application Support/Kodi/addons/script.module.beautifulsoup/lib:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/setuptools-18.4-py2.7.egg:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python27.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.7:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages
20:07:44 T:123145302839296   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): entering source directory /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs
20:07:44 T:123145302839296   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): instantiating addon using automatically obtained id of "plugin.video.sbs" dependent on version 2.1.0 of the xbmc.python api
20:07:45 T:123145302839296   DEBUG: [SBS On Demand v1.0.8] XBMC/Kodi 17.0-BETA1 running on OSX
20:07:45 T:123145302839296   DEBUG: [SBS On Demand v1.0.8] Loading add-on with params: {'rating': 'PG', 'play': 'true', 'description': "As the Iron Curtain fell across Europe the jet plane came to epitomise how the Cold War was fought. Britain's V bombers, armed with devastating newweapons, were able to fly faster, higher and further.", 'title': 'Cold War, Hot Jets', 'duration': '3054', 'id': '378716227728', 'episode_title': 'Darker Skies', 'date': '2016-08-25 15:05:00', 'thumbnail': 'http://videocdn.sbs.com.au/u/video/SBS/managed/images/2015/01/09/378716227728_01090101-large.jpg'}
20:07:45 T:123145302839296   DEBUG: [SBS On Demand v1.0.8] Fetching cached token if possible
20:07:45 T:123145302839296   DEBUG: [SBS On Demand v1.0.8] Fetching new auth token
20:07:45 T:123145302839296   DEBUG: [SBS On Demand v1.0.8] Traceback (most recent call last):
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/play.py", line 39, in play
                                                stream_url = comm.get_stream(p.id)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/comm.py", line 269, in get_stream
                                                resp = fetch_protected_url(config.stream_url % program_id)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/comm.py", line 102, in fetch_protected_url
                                                token = fetch_cache_token()
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/comm.py", line 97, in fetch_cache_token
                                                return cache.cacheFunction(fetch_auth_token)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib/StorageServer.py", line 570, in cacheFunction
                                                ret_val = funct(*args)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/comm.py", line 91, in fetch_auth_token
                                                raise Exception('Failed to fetch SBS streaming token: %s' % e)
                                            Exception: Failed to fetch SBS streaming token: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
20:07:45 T:123145302839296   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.URLError'>
                                            Error Contents: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
                                            Traceback (most recent call last):
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py", line 41, in <module>
                                                play.play(params_str)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/play.py", line 52, in play
                                                utils.handle_error("Unable to play video")
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/utils.py", line 251, in handle_error
                                                latest_version = issue_reporter.get_latest_version()
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/issue_reporter.py", line 148, in get_latest_version
                                                versions = get_versions()
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/issue_reporter.py", line 135, in get_versions
                                                tags = fetch_tags()
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/issue_reporter.py", line 128, in fetch_tags
                                                return json.load(urllib2.urlopen("%s/tags" % config.GITHUB_API_URL))
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 154, in urlopen
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 429, in open
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 447, in _open
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 407, in _call_chain
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 1241, in https_open
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 1198, in do_open
                                            URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
                                            -->End of Python script error report<--
20:07:45 T:140735142719488   DEBUG: ------ Window Init (DialogNotification.xml) ------
20:07:45 T:123145302839296    INFO: Python script stopped
20:07:45 T:123145302839296   DEBUG: Thread LanguageInvoker 123145302839296 terminating
20:07:47 T:140735142719488   DEBUG: ------ Window Init (Pointer.xml) ------
andybotting commented 8 years ago

Are you on Mac OS X or iOS/AppleTV?

RustyKnight commented 8 years ago

MacOS, should have mentioned it

andybotting commented 8 years ago

Thought so. It's an issue we've seen with newer python shipped with Kodi. I have a fix that hasn't been pushed yet.

I'll get back to you when it's ready.

Cheers

RustyKnight commented 8 years ago

Thanks for the heads up, does it also affect Channel 7? We've been having an issue with that as well, but I've not had time to log it

andybotting commented 8 years ago

Yeah, most of them. I think we have the fix in for iView already though. Is that working for you?

RustyKnight commented 8 years ago

Yeah, iView is the only that seems to working (personally only really use iView and SBS, my wife likes all the others as well)

andybotting commented 8 years ago

@RustyKnight I've just released v1.0.9 with the SSL fix. Can you test it and let me know if that works? Thanks

RustyKnight commented 8 years ago

I downloaded and installed v1.0.9 via Kodi's updater and tried playing a video but it failed, I'll try and get some logs tonight

RustyKnight commented 8 years ago

MacOS 10.11.6 Kodi 17b1 SBS 1.09

19:11:46 T:140735142719488   DEBUG: ------ Window Init (DialogBusy.xml) ------
19:11:46 T:123145304526848   DEBUG: [SBS On Demand v1.0.9] XBMC/Kodi 17.0-BETA1 running on OSX
19:11:46 T:123145304526848   DEBUG: [SBS On Demand v1.0.9] Loading add-on with params: {'category': 'Programs', 'section': 'Documentary'}
19:11:46 T:123145304526848   DEBUG: [SBS On Demand v1.0.9] Making section list
19:11:46 T:123145304526848   DEBUG: [SBS On Demand v1.0.9] Fetching section: Documentary
19:11:46 T:123145304526848   DEBUG: [SBS On Demand v1.0.9] Fetching category: Programs
19:11:47 T:123145304526848    INFO: CPythonInvoker(4, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): script successfully run
19:11:47 T:140735142719488   DEBUG: Saving fileitems [plugin://plugin.video.sbs/?category=Programs&section=Documentary]
19:11:47 T:140735142719488   DEBUG:   -- items: 46, sort method: 0, ascending: false
19:11:47 T:123145304526848    INFO: Python script stopped
19:11:47 T:123145304526848   DEBUG: Thread LanguageInvoker 123145304526848 terminating
19:11:47 T:123145304526848   DEBUG: Thread BackgroundLoader start, auto delete: false
19:11:47 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
19:11:47 T:123145304526848   DEBUG: Thread BackgroundLoader 123145304526848 terminating
19:11:47 T:123145305600000   DEBUG: GetImageHash - unable to stat url
19:11:47 T:140735142719488   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
19:11:48 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
19:11:48 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
19:11:48 T:123145305600000   DEBUG: GetImageHash - unable to stat url
19:11:48 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:11:48 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
19:11:48 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
19:11:48 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:11:48 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
19:11:48 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
19:11:48 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:11:48 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
19:11:48 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
19:11:48 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:11:49 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
19:11:49 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
19:11:49 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:11:49 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
19:11:49 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
19:11:49 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:11:49 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
19:11:49 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
19:11:49 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:11:49 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
19:11:49 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
19:11:49 T:123145305600000   DEBUG: CurlFile::Open(0x7fd88695ef90) http://media.sbs.com.au/video/upload_media/2488_cold-war-hot-jets-sml.gif
19:11:49 T:123145305600000    INFO: easy_aquire - Created session to http://media.sbs.com.au
19:11:49 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:11:49 T:123145305600000   DEBUG: DoWork - took 171 ms to load http://media.sbs.com.au/video/upload_media/2488_cold-war-hot-jets-sml.gif
19:11:50 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
19:11:50 T:140735142719488   DEBUG: OnKey: return (0xf00d) pressed, action is Select
19:11:50 T:140735142719488   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.sbs/?entries_url=http%3A%2F%2Fwww.sbs.com.au%2Fapi%2Fvideo_feed%2Ff%2FBgtm9B%2Fsbs-app-section-programs%2F%3FbyCustomValue%3D%257BpilatDealcode%257D%257B159105%257D%26count%3Dtrue%26context%3Dandroid%26form%3Djson)
19:11:50 T:140735142719488   DEBUG:   ParentPath = [plugin://plugin.video.sbs/?category=Programs&section=Documentary]
19:11:50 T:123145305063424   DEBUG: StartScript - calling plugin SBS On Demand('plugin://plugin.video.sbs/','4','?entries_url=http%3A%2F%2Fwww.sbs.com.au%2Fapi%2Fvideo_feed%2Ff%2FBgtm9B%2Fsbs-app-section-programs%2F%3FbyCustomValue%3D%257BpilatDealcode%257D%257B159105%257D%26count%3Dtrue%26context%3Dandroid%26form%3Djson')
19:11:50 T:123145303990272   DEBUG: Thread LanguageInvoker start, auto delete: false
19:11:50 T:123145303990272    INFO: initializing python engine.
19:11:50 T:123145303990272   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): start processing
19:11:50 T:123145307746304   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.sbs] took 2 ms
19:11:50 T:123145303990272   DEBUG: -->Python Interpreter Initialized<--
19:11:50 T:123145303990272   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): the source file to load is "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py"
19:11:50 T:123145303990272   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): setting the Python path to /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs:/Users/shane/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib:/Users/shane/Library/Application Support/Kodi/addons/script.module.beautifulsoup/lib:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/setuptools-18.4-py2.7.egg:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python27.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.7:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages
19:11:50 T:123145303990272   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): entering source directory /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs
19:11:50 T:123145303990272   DEBUG: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): instantiating addon using automatically obtained id of "plugin.video.sbs" dependent on version 2.1.0 of the xbmc.python api
19:11:50 T:140735142719488   DEBUG: ------ Window Init (DialogBusy.xml) ------
19:11:50 T:123145303990272   DEBUG: [SBS On Demand v1.0.9] XBMC/Kodi 17.0-BETA1 running on OSX
19:11:50 T:123145303990272   DEBUG: [SBS On Demand v1.0.9] Loading add-on with params: {'entries_url': 'http://www.sbs.com.au/api/video_feed/f/Bgtm9B/sbs-app-section-programs/?byCustomValue=%7BpilatDealcode%7D%7B159105%7D&count=true&context=android&form=json'}
19:11:50 T:123145303990272   DEBUG: [SBS On Demand v1.0.9] Making entries list
19:11:51 T:123145303990272   DEBUG: [SBS On Demand v1.0.9] Fetching URL: http://www.sbs.com.au/api/video_feed/f/Bgtm9B/sbs-app-section-programs/?byCustomValue=%7BpilatDealcode%7D%7B159105%7D&count=true&context=android&form=json
19:11:51 T:123145303990272    INFO: CPythonInvoker(5, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): script successfully run
19:11:51 T:140735142719488   DEBUG: Saving fileitems [plugin://plugin.video.sbs/?entries_url=http%3A%2F%2Fwww.sbs.com.au%2Fapi%2Fvideo_feed%2Ff%2FBgtm9B%2Fsbs-app-section-programs%2F%3FbyCustomValue%3D%257BpilatDealcode%257D%257B159105%257D%26count%3Dtrue%26context%3Dandroid%26form%3Djson]
19:11:51 T:140735142719488   DEBUG:   -- items: 2, sort method: 0, ascending: false
19:11:51 T:123145304526848   DEBUG: Thread BackgroundLoader start, auto delete: false
19:11:51 T:123145303990272    INFO: Python script stopped
19:11:51 T:123145303990272   DEBUG: Thread LanguageInvoker 123145303990272 terminating
19:11:51 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x0000, modifier: 0x0
19:11:51 T:123145304526848   DEBUG: Thread BackgroundLoader 123145304526848 terminating
19:11:51 T:123145305600000   DEBUG: GetImageHash - unable to stat url
19:11:51 T:140735142719488   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
19:11:52 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0xf701, modifier: 0x0
19:11:52 T:140735142719488   DEBUG: OnKey: down (0xf081) pressed, action is Down
19:11:52 T:123145307746304   DEBUG: GetImageHash - unable to stat url
19:11:52 T:140735142719488   DEBUG: Keyboard: scancode: 0x7d, sym: 0x0112, unicode: 0x0000, modifier: 0x0
19:11:53 T:140735142719488   DEBUG: Keyboard: scancode: 0x24, sym: 0x000d, unicode: 0x000d, modifier: 0x0
19:11:53 T:140735142719488   DEBUG: OnKey: return (0xf00d) pressed, action is Select
19:11:53 T:140735142719488   DEBUG: OnPlayMedia plugin://plugin.video.sbs/?play=true&rating=PG&date=2016-08-18+15%3A30%3A00&description=This+series+examines+the+British+companies+which+pioneered+the+rapid+development+of+the+jet+aircraft%2C+and+the+heroic+test+pilots+who+risked+life+and+limb+in+untried+machines.+%28Part+1+of+2%29+%23sbsdoco&title=Cold+War%2C+Hot+Jets&subfilename=480776&thumbnail=http%3A%2F%2Fvideocdn.sbs.com.au%2Fu%2Fvideo%2FSBS%2Fmanaged%2Fimages%2F2015%2F01%2F02%2F376824899674_01021001-large.jpg&episode_title=Wide+Blue+Yonder&duration=3000&id=376824899674
19:11:53 T:140735142719488   DEBUG: StartScript - calling plugin SBS On Demand('plugin://plugin.video.sbs/','5','?play=true&rating=PG&date=2016-08-18+15%3A30%3A00&description=This+series+examines+the+British+companies+which+pioneered+the+rapid+development+of+the+jet+aircraft%2C+and+the+heroic+test+pilots+who+risked+life+and+limb+in+untried+machines.+%28Part+1+of+2%29+%23sbsdoco&title=Cold+War%2C+Hot+Jets&subfilename=480776&thumbnail=http%3A%2F%2Fvideocdn.sbs.com.au%2Fu%2Fvideo%2FSBS%2Fmanaged%2Fimages%2F2015%2F01%2F02%2F376824899674_01021001-large.jpg&episode_title=Wide+Blue+Yonder&duration=3000&id=376824899674')
19:11:53 T:123145303990272   DEBUG: Thread LanguageInvoker start, auto delete: false
19:11:53 T:123145303990272    INFO: initializing python engine.
19:11:53 T:123145303990272   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): start processing
19:11:53 T:123145307209728   DEBUG: CAnnouncementManager - Announcement: OnAdd from xbmc
19:11:53 T:123145307209728   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnAdd
19:11:53 T:123145304526848   DEBUG: Thread scriptobs start, auto delete: false
19:11:53 T:123145303990272   DEBUG: -->Python Interpreter Initialized<--
19:11:53 T:123145303990272   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): the source file to load is "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py"
19:11:53 T:123145303990272   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): setting the Python path to /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs:/Users/shane/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib:/Users/shane/Library/Application Support/Kodi/addons/script.module.beautifulsoup/lib:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/setuptools-18.4-py2.7.egg:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages/Pillow-3.0.0-py2.7-macosx-10.4-x86_64.egg:/Applications/Kodi.app/Contents/Libraries:/Applications/Kodi.app/Contents/Libraries/lib/python27.zip:/Applications/Kodi.app/Contents/Libraries/lib/python2.7:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-darwin:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/plat-mac/lib-scriptpackages:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-tk:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-old:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/lib-dynload:/Applications/Kodi.app/Contents/Libraries/lib/python2.7/site-packages
19:11:53 T:123145303990272   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): entering source directory /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs
19:11:53 T:123145303990272   DEBUG: CPythonInvoker(6, /Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py): instantiating addon using automatically obtained id of "plugin.video.sbs" dependent on version 2.1.0 of the xbmc.python api
19:11:53 T:140735142719488   DEBUG: ------ Window Init (DialogBusy.xml) ------
19:11:53 T:123145303990272   DEBUG: [SBS On Demand v1.0.9] XBMC/Kodi 17.0-BETA1 running on OSX
19:11:53 T:123145303990272   DEBUG: [SBS On Demand v1.0.9] Loading add-on with params: {'rating': 'PG', 'play': 'true', 'description': 'This series examines the British companies which pioneered the rapid development of the jet aircraft, and the heroic test pilots who risked life and limb in untried machines. (Part 1 of 2) #sbsdoco', 'title': 'Cold War, Hot Jets', 'duration': '3000', 'subfilename': '480776', 'id': '376824899674', 'episode_title': 'Wide Blue Yonder', 'date': '2016-08-18 15:30:00', 'thumbnail': 'http://videocdn.sbs.com.au/u/video/SBS/managed/images/2015/01/02/376824899674_01021001-large.jpg'}
19:11:53 T:123145303990272   DEBUG: [SBS On Demand v1.0.9] Fetching cached token if possible
19:11:53 T:123145303990272   DEBUG: [SBS On Demand v1.0.9] Fetching new auth token
19:11:53 T:123145303990272   DEBUG: [SBS On Demand v1.0.9] Traceback (most recent call last):
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/play.py", line 43, in play
                                                stream_url = comm.get_stream(p.id)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/comm.py", line 277, in get_stream
                                                resp = fetch_protected_url(config.stream_url % program_id)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/comm.py", line 107, in fetch_protected_url
                                                token = fetch_cache_token()
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/comm.py", line 102, in fetch_cache_token
                                                return cache.cacheFunction(fetch_auth_token)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/script.common.plugin.cache/lib/StorageServer.py", line 570, in cacheFunction
                                                ret_val = funct(*args)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/comm.py", line 96, in fetch_auth_token
                                                raise Exception('Failed to fetch SBS streaming token: %s' % e)
                                            Exception: Failed to fetch SBS streaming token: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
19:11:54 T:123145303990272   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.URLError'>
                                            Error Contents: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
                                            Traceback (most recent call last):
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/default.py", line 41, in <module>
                                                play.play(params_str)
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/play.py", line 92, in play
                                                utils.handle_error("Unable to play video")
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/utils.py", line 251, in handle_error
                                                latest_version = issue_reporter.get_latest_version()
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/issue_reporter.py", line 148, in get_latest_version
                                                versions = get_versions()
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/issue_reporter.py", line 135, in get_versions
                                                tags = fetch_tags()
                                              File "/Users/shane/Library/Application Support/Kodi/addons/plugin.video.sbs/resources/lib/issue_reporter.py", line 128, in fetch_tags
                                                return json.load(urllib2.urlopen("%s/tags" % config.GITHUB_API_URL))
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 154, in urlopen
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 429, in open
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 447, in _open
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 407, in _call_chain
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 1241, in https_open
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.7/urllib2.py", line 1198, in do_open
                                            URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>
                                            -->End of Python script error report<--
19:11:54 T:140735142719488   DEBUG: ------ Window Init (DialogNotification.xml) ------
19:11:54 T:123145303990272    INFO: Python script stopped
19:11:54 T:123145303990272   DEBUG: Thread LanguageInvoker 123145303990272 terminating
andybotting commented 8 years ago

Had to borrow a mac to replicate the issue. Looks like original fix didn't quite fix the whole issue.

I've just released v1.1.0 now that does actually fix the issue on Kodi v17 on Mac OS X :)

RustyKnight commented 8 years ago

v1.1.10 seems to have fixed it now ;)