maxgalbu / xbmc.plugin.video.nba

Kodi plugin to watch NBA games with nba league pass
GNU General Public License v3.0
50 stars 43 forks source link

Problem with Android #79

Open MRLB opened 6 years ago

MRLB commented 6 years ago

Hello,

I use Kodi (18.0-ALPHA2 Git:20180401-3848940). Platform: Android ARM 32-bit (FireTV) but when I try to go into the Live games folder there comes are error message: (Invalid argument)

Is something missing in the newest Kodi 18 alpha?

Logfile:

14:34:14.781 T:18446744072288940000   DEBUG: Clearing cached fileitems [plugin://plugin.video.nba/]
14:34:14.782 T:18446744072288940000   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.nba/)
14:34:14.782 T:18446744072288940000   DEBUG:   ParentPath = [addons://sources/video]
14:34:14.785 T:18446744072338319008   DEBUG: Thread JobWorker start, auto delete: true
14:34:14.790 T:18446744072344938400   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.nba] took 8 ms
14:34:14.790 T:18446744072343361976   DEBUG: Thread JobWorker start, auto delete: true
14:34:14.791 T:18446744072338319008   DEBUG: StartScript - calling plugin NBA League Pass('plugin://plugin.video.nba/','5','','resume:false')
14:34:14.792 T:18446744072346598720   DEBUG: Thread LanguageInvoker start, auto delete: false
14:34:14.792 T:18446744072346598720    INFO: initializing python engine.
14:34:14.792 T:18446744072346598720   DEBUG: CPythonInvoker(12, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): start processing
14:34:14.822 T:18446744072346598720   DEBUG: -->Python Interpreter Initialized<--
14:34:14.823 T:18446744072346598720   DEBUG: CPythonInvoker(12, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py"
14:34:14.824 T:18446744072346598720   DEBUG: CPythonInvoker(12, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba:/data/data/org.xbmc.kodi/cache/apk/assets/addons/script.module.pil/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.dateutil/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.pytz/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.six/lib:/:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python27.zip:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/site-packages:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/plat-linux2:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-tk:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-old:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-dynload
14:34:14.825 T:18446744072346598720   DEBUG: CPythonInvoker(12, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba
14:34:14.825 T:18446744072346598720   DEBUG: CPythonInvoker(12, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): instantiating addon using automatically obtained id of "plugin.video.nba" dependent on version 2.20.0 of the xbmc.python api
14:34:14.973 T:18446744072316232976   ERROR: EXCEPTION: XBMC is not playing any file
14:34:15.139 T:18446744072346598720   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
14:34:15.139 T:18446744072346598720   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
14:34:15.141 T:18446744072346598720   DEBUG: CAddonSettings[plugin.video.nba]: loading setting definitions
14:34:15.141 T:18446744072346598720   DEBUG: CAddonSettings[plugin.video.nba]: trying to load setting definitions from old format...
14:34:15.142 T:18446744072346598720   DEBUG: CAddonSettings[plugin.video.nba]: loading setting values
14:34:15.285 T:18446744072288940000   DEBUG: ------ Window Init (DialogBusy.xml) ------
14:34:15.285 T:18446744072288940000   DEBUG: Window DialogBusy.xml was already loaded
14:34:15.285 T:18446744072288940000   DEBUG: Alloc resources: 0.08ms
14:34:15.290 T:18446744072346598720   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
14:34:15.290 T:18446744072346598720   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
14:34:15.303 T:18446744072288940000   DEBUG: GLES: Extension Support Test - GL_EXT_texture_format_BGRA8888 YES
14:34:15.556 T:18446744072299949624   DEBUG: Previous line repeats 1 times.
14:34:15.556 T:18446744072299949624   DEBUG: [service.sleepy.watchdog] user activity detected, reset idle time
14:34:15.726 T:18446744072346598720    INFO: ##### NBA League Pass: Chosen quality_id 2 and target_video_height 720
14:34:15.898 T:18446744072346598720   DEBUG: CAddonSettings[plugin.video.nba]: loading setting definitions
14:34:15.898 T:18446744072346598720   DEBUG: CAddonSettings[plugin.video.nba]: trying to load setting definitions from old format...
14:34:15.901 T:18446744072346598720   DEBUG: CAddonSettings[plugin.video.nba]: loading setting values
14:34:15.904 T:18446744072346598720   DEBUG: CAddonSettings[plugin.video.nba]: loading setting definitions
14:34:15.905 T:18446744072346598720   DEBUG: CAddonSettings[plugin.video.nba]: trying to load setting definitions from old format...
14:34:15.907 T:18446744072346598720   DEBUG: CAddonSettings[plugin.video.nba]: loading setting values
14:34:15.977 T:18446744072316232976   ERROR: EXCEPTION: XBMC is not playing any file
14:34:16.033 T:18446744072346598720    INFO: CPythonInvoker(12, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): script successfully run
14:34:16.044 T:18446744072288940000   DEBUG: Saving fileitems [plugin://plugin.video.nba/]
14:34:16.045 T:18446744072288940000   DEBUG:   -- items: 5, sort method: 0, ascending: false
14:34:16.052 T:18446744072347151360   DEBUG: Thread BackgroundLoader start, auto delete: false
14:34:16.064 T:18446744072344938400    INFO: easy_acquire - Created session to http://smb.cdnllnwnl.neulion.com
14:34:16.066 T:18446744072347151360   DEBUG: Thread BackgroundLoader 18446744072347151360 terminating
14:34:16.075 T:18446744072288940000   DEBUG: GLES: Extension Support Test - GL_EXT_texture_format_BGRA8888 YES
14:34:16.155 T:18446744072346598720   DEBUG: Previous line repeats 1 times.
14:34:16.156 T:18446744072346598720    INFO: Python script stopped
14:34:16.156 T:18446744072346598720   DEBUG: Thread LanguageInvoker 18446744072346598720 terminating
14:34:16.292 T:18446744072288940000   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
14:34:16.305 T:18446744072344938400   DEBUG: GetImageHash - unable to stat url http://smb.cdnllnwnl.neulion.com/u/nba/nba/thumbs/dl/14510_pc.jpg
14:34:16.702 T:18446744072288940000   DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
14:34:16.811 T:18446744072288940000   DEBUG: Previous line repeats 1 times.
14:34:16.812 T:18446744072288940000   DEBUG: HandleKey: return (0xf00d) pressed, action is Select
14:34:16.815 T:18446744072288940000   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.nba/?mode=live&name=Live%20games&url=live)
14:34:16.815 T:18446744072288940000   DEBUG:   ParentPath = [plugin://plugin.video.nba/]
14:34:16.829 T:18446744072338319008   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.nba] took 13 ms
14:34:16.830 T:18446744072344938400   DEBUG: StartScript - calling plugin NBA League Pass('plugin://plugin.video.nba/','6','?mode=live&name=Live%20games&url=live','resume:false')
14:34:16.830 T:18446744072333124464   DEBUG: Thread LanguageInvoker start, auto delete: false
14:34:16.831 T:18446744072333124464    INFO: initializing python engine.
14:34:16.831 T:18446744072333124464   DEBUG: CPythonInvoker(13, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): start processing
14:34:16.882 T:18446744072333124464   DEBUG: -->Python Interpreter Initialized<--
14:34:16.882 T:18446744072333124464   DEBUG: CPythonInvoker(13, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py"
14:34:16.884 T:18446744072333124464   DEBUG: CPythonInvoker(13, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba:/data/data/org.xbmc.kodi/cache/apk/assets/addons/script.module.pil/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.dateutil/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.pytz/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.six/lib:/:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python27.zip:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/site-packages:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/plat-linux2:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-tk:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-old:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-dynload
14:34:16.884 T:18446744072333124464   DEBUG: CPythonInvoker(13, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba
14:34:16.890 T:18446744072333124464   DEBUG: CPythonInvoker(13, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): instantiating addon using automatically obtained id of "plugin.video.nba" dependent on version 2.20.0 of the xbmc.python api
14:34:16.980 T:18446744072316232976   ERROR: EXCEPTION: XBMC is not playing any file
14:34:17.231 T:18446744072333124464   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
14:34:17.231 T:18446744072333124464   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
14:34:17.233 T:18446744072333124464   DEBUG: CAddonSettings[plugin.video.nba]: loading setting definitions
14:34:17.233 T:18446744072333124464   DEBUG: CAddonSettings[plugin.video.nba]: trying to load setting definitions from old format...
14:34:17.234 T:18446744072333124464   DEBUG: CAddonSettings[plugin.video.nba]: loading setting values
14:34:17.324 T:18446744072288940000   DEBUG: ------ Window Init (DialogBusy.xml) ------
14:34:17.324 T:18446744072288940000   DEBUG: Window DialogBusy.xml was already loaded
14:34:17.324 T:18446744072288940000   DEBUG: Alloc resources: 0.07ms
14:34:17.328 T:18446744072333124464   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
14:34:17.329 T:18446744072333124464   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
14:34:17.393 T:18446744072333124464    INFO: ##### NBA League Pass: Chosen quality_id 2 and target_video_height 720
14:34:17.559 T:18446744072299949624   DEBUG: [service.sleepy.watchdog] user activity detected, reset idle time
14:34:17.626 T:18446744072333124464    INFO: ##### NBA League Pass: UTC datetime: 2018-04-02 12:34:17.626368
14:34:17.627 T:18446744072333124464    INFO: ##### NBA League Pass: EST datetime: 2018-04-02 08:34:17.626368
14:34:17.915 T:18446744072288940000   DEBUG: ------ Window Init (DialogNotification.xml) ------
14:34:17.915 T:18446744072288940000   DEBUG: Window DialogNotification.xml was already loaded
14:34:17.915 T:18446744072288940000   DEBUG: Alloc resources: 0.01ms
14:34:17.919 T:18446744072333124464    INFO: CPythonInvoker(13, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): script successfully run
14:34:17.928 T:18446744072288940000   DEBUG: GLES: Extension Support Test - GL_EXT_texture_format_BGRA8888 YES
14:34:17.949 T:18446744072343305368   DEBUG: Thread BackgroundLoader start, auto delete: false
14:34:17.977 T:18446744072343305368   DEBUG: Thread BackgroundLoader 18446744072343305368 terminating
14:34:17.996 T:18446744072333124464    INFO: Python script stopped
14:34:17.996 T:18446744072316232976   ERROR: EXCEPTION: XBMC is not playing any file
14:34:17.996 T:18446744072333124464   DEBUG: Thread LanguageInvoker 18446744072333124464 terminating
14:34:18.177 T:18446744072288940000   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
14:34:18.998 T:18446744072316232976   ERROR: EXCEPTION: XBMC is not playing any file
14:34:23.667 T:18446744072288940000   ERROR: Previous line repeats 4 times.
14:34:23.668 T:18446744072288940000   DEBUG: ------ Window Deinit (DialogNotification.xml) ------
14:34:24.005 T:18446744072316232976   ERROR: EXCEPTION: XBMC is not playing any file
mkorganashvili commented 6 years ago

Hey,

this is issue of inputstream.adaptive and would be better if you open issue there

maxgalbu commented 6 years ago

You should also enable debug logging in Kodi settings, and repost the log

maliapac commented 6 years ago

@mkorganashvili there is still a problem on android TV with the new master release. Log as follows:

ERROR: AddOnLog: InputStream Adaptive: NAL Unit exceeds subsample definition (nls: 4) 3698 -> 50 01:20:05.965 T:18446744071563639072 ERROR: AddOnLog: InputStream Adaptive: Decrypt Sample returns failure! 01:20:05.966 T:18446744071563639072 ERROR: AddOnLog: InputStream Adaptive: NAL Unit exceeds subsample definition (nls: 4) 12155 -> 43 01:20:05.966 T:18446744071563639072 ERROR: AddOnLog: InputStream Adaptive: Decrypt Sample returns failure! 01:20:05.966 T:18446744071563639072 ERROR: AddOnLog: InputStream Adaptive: NAL Unit exceeds subsample definition (nls: 4) 4113 -> 49 01:20:05.966 T:18446744071563639072 ERROR: AddOnLog: InputStream Adaptive: Decrypt Sample returns failure! 01:20:05.966 T:18446744071563639072 ERROR: AddOnLog: InputStream Adaptive: NAL Unit exceeds subsample definition (nls: 4) 4056 -> 40 01:20:05.967 T:18446744071563639072 ERROR: AddOnLog: InputStream Adaptive: Decrypt Sample returns failure! 01:20:05.967 T:18446744071563639072 ERROR: AddOnLog: InputStream Adaptive: NAL Unit exceeds subsample definition (nls: 4) 16133 -> 37 01:20:05.967 T:18446744071563639072 ERROR: AddOnLog: InputStream Adaptive: Decrypt Sample returns failure! 01:20:05.967 T:18446744071563639072 NOTICE: CVideoPlayer::OnExit() 01:20:05.967 T:18446744071563639072 NOTICE: VideoPlayer: eof, waiting for queues to empty 01:20:05.967 T:18446744071563639072 NOTICE: Closing stream player 2 01:20:05.997 T:18446744071595620640 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true 01:20:05.997 T:18446744071595620640 NOTICE: thread end: video_thread 01:20:05.997 T:18446744071563639072 NOTICE: waiting for video thread to exit 01:20:05.998 T:18446744071563639072 NOTICE: deleting video codec 01:20:06.043 T:18446744072075540768 NOTICE: CVideoPlayer::CloseFile() 01:20:06.044 T:18446744072075540768 NOTICE: VideoPlayer: waiting for threads to exit 01:20:06.045 T:18446744072075540768 NOTICE: VideoPlayer: finished waiting 01:20:06.045 T:18446744072075540768 NOTICE: CVideoPlayer::CloseFile() 01:20:06.045 T:18446744072075540768 NOTICE: VideoPlayer: waiting for threads to exit 01:20:06.045 T:18446744072075540768 NOTICE: VideoPlayer: finished waiting

it seems there is a problem with decrypting with inputstream adaptive.

MRLB commented 6 years ago

The Live game folder is not loading with the newest Kodi 18 for Android:

Here my log with Debug:

13:31:42.941 T:18446744072299537720   DEBUG: ffmpeg[ABF4E538]: [swscaler] No accelerated colorspace conversion found from yuv420p to bgra.
13:31:42.948 T:18446744072299537720   DEBUG: Recaching image '/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/resources/fanart.jpg' to '9/9bec5240.jpg':
13:31:42.948 T:18446744072299537720   DEBUG: cached image 'special://masterprofile/Thumbnails/9/9bec5240.jpg' size 1280x720
13:31:42.972 T:18446744072288861280   DEBUG: Keyboard: scancode: 0x14, sym: 0x0112, unicode: 0x0000, modifier: 0x0
13:31:43.262 T:18446744072288861280   DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
13:31:43.396 T:18446744072288861280   DEBUG: Previous line repeats 1 times.
13:31:43.396 T:18446744072288861280   DEBUG: HandleKey: return (0xf00d) pressed, action is Select
13:31:43.399 T:18446744072288861280   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.nba/)
13:31:43.399 T:18446744072288861280   DEBUG:   ParentPath = [addons://sources/video]
13:31:43.413 T:18446744072293276448   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.nba] took 6 ms
13:31:43.414 T:18446744072301201744   DEBUG: StartScript - calling plugin NBA League Pass('plugin://plugin.video.nba/','1','','resume:false')
13:31:43.415 T:18446744072326027072   DEBUG: Thread LanguageInvoker start, auto delete: false
13:31:43.415 T:18446744072326027072    INFO: initializing python engine.
13:31:43.415 T:18446744072326027072   DEBUG: CPythonInvoker(8, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): start processing
13:31:43.443 T:18446744072326027072   DEBUG: -->Python Interpreter Initialized<--
13:31:43.443 T:18446744072326027072   DEBUG: CPythonInvoker(8, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py"
13:31:43.446 T:18446744072326027072   DEBUG: CPythonInvoker(8, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba:/data/data/org.xbmc.kodi/cache/apk/assets/addons/script.module.pil/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.certifi/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.chardet/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.dateutil/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.idna/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.inputstreamhelper/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.pytz/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.six/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib:/:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python27.zip:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/site-packages:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/plat-linux2:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-tk:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-old:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-dynload
13:31:43.447 T:18446744072326027072   DEBUG: CPythonInvoker(8, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba
13:31:43.447 T:18446744072326027072   DEBUG: CPythonInvoker(8, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): instantiating addon using automatically obtained id of "plugin.video.nba" dependent on version 2.20.0 of the xbmc.python api
13:31:43.901 T:18446744072288861280   DEBUG: ------ Window Init (DialogBusy.xml) ------
13:31:43.901 T:18446744072288861280   DEBUG: Window DialogBusy.xml was already loaded
13:31:43.901 T:18446744072288861280   DEBUG: Alloc resources: 0.03ms
13:31:43.915 T:18446744072308145808   DEBUG: [service.sleepy.watchdog] user activity detected, reset idle time
13:31:43.920 T:18446744072288861280   DEBUG: GLES: Extension Support Test - GL_EXT_texture_format_BGRA8888 YES
13:31:43.924 T:18446744072322661528   DEBUG: Previous line repeats 1 times.
13:31:43.925 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:31:44.001 T:18446744072326027072   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
13:31:44.001 T:18446744072326027072   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
13:31:44.003 T:18446744072326027072   DEBUG: CAddonSettings[plugin.video.nba]: loading setting definitions
13:31:44.003 T:18446744072326027072   DEBUG: CAddonSettings[plugin.video.nba]: trying to load setting definitions from old format...
13:31:44.004 T:18446744072326027072   DEBUG: CAddonSettings[plugin.video.nba]: loading setting values
13:31:44.012 T:18446744072326027072   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
13:31:44.012 T:18446744072326027072   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
13:31:44.839 T:18446744072326027072    INFO: ##### NBA League Pass: Chosen quality_id 2 and target_video_height 720
13:31:44.926 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:31:45.077 T:18446744072326027072   DEBUG: CAddonSettings[plugin.video.nba]: loading setting definitions
13:31:45.077 T:18446744072326027072   DEBUG: CAddonSettings[plugin.video.nba]: trying to load setting definitions from old format...
13:31:45.079 T:18446744072326027072   DEBUG: CAddonSettings[plugin.video.nba]: loading setting values
13:31:45.081 T:18446744072326027072   DEBUG: CAddonSettings[plugin.video.nba]: loading setting definitions
13:31:45.082 T:18446744072326027072   DEBUG: CAddonSettings[plugin.video.nba]: trying to load setting definitions from old format...
13:31:45.083 T:18446744072326027072   DEBUG: CAddonSettings[plugin.video.nba]: loading setting values
13:31:45.150 T:18446744072326027072    INFO: CPythonInvoker(8, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): script successfully run
13:31:45.166 T:18446744072288861280   DEBUG: Saving fileitems [plugin://plugin.video.nba/]
13:31:45.167 T:18446744072288861280   DEBUG:   -- items: 5, sort method: 0, ascending: false
13:31:45.177 T:18446744072297249816   DEBUG: Thread BackgroundLoader start, auto delete: false
13:31:45.189 T:18446744072297249816   DEBUG: Thread BackgroundLoader 18446744072297249816 terminating
13:31:45.195 T:18446744072288861280   DEBUG: GLES: Extension Support Test - GL_EXT_texture_format_BGRA8888 YES
13:31:45.243 T:18446744072326027072    INFO: Python script stopped
13:31:45.244 T:18446744072326027072   DEBUG: Thread LanguageInvoker 18446744072326027072 terminating
13:31:45.435 T:18446744072288861280   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
13:31:45.819 T:18446744072288861280   DEBUG: Keyboard: scancode: 0x14, sym: 0x0112, unicode: 0x0000, modifier: 0x0
13:31:45.820 T:18446744072288861280   DEBUG: HandleKey: down (0xf081) pressed, action is Down
13:31:45.828 T:18446744072293276448    INFO: easy_acquire - Created session to http://smb.cdnllnwnl.neulion.com
13:31:45.916 T:18446744072308145808   DEBUG: [service.sleepy.watchdog] user activity detected, reset idle time
13:31:45.927 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:31:45.971 T:18446744072288861280   DEBUG: Keyboard: scancode: 0x14, sym: 0x0112, unicode: 0x0000, modifier: 0x0
13:31:46.170 T:18446744072288861280   DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
13:31:46.218 T:18446744072293276448   DEBUG: GetImageHash - unable to stat url http://smb.cdnllnwnl.neulion.com/u/nba/nba/thumbs/dl/14510_pc.jpg
13:31:46.287 T:18446744072288861280   DEBUG: Keyboard: scancode: 0x17, sym: 0x000d, unicode: 0x0000, modifier: 0x0
13:31:46.287 T:18446744072288861280   DEBUG: HandleKey: return (0xf00d) pressed, action is Select
13:31:46.289 T:18446744072288861280   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.nba/?mode=live&name=Live%20games&url=live)
13:31:46.289 T:18446744072288861280   DEBUG:   ParentPath = [plugin://plugin.video.nba/]
13:31:46.298 T:18446744072301201744   DEBUG: CAddonDatabase::SetLastUsed[plugin.video.nba] took 8 ms
13:31:46.299 T:18446744072293276448   DEBUG: StartScript - calling plugin NBA League Pass('plugin://plugin.video.nba/','2','?mode=live&name=Live%20games&url=live','resume:false')
13:31:46.299 T:18446744072332810520   DEBUG: Thread LanguageInvoker start, auto delete: false
13:31:46.300 T:18446744072332810520    INFO: initializing python engine.
13:31:46.301 T:18446744072332810520   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): start processing
13:31:46.324 T:18446744072332810520   DEBUG: -->Python Interpreter Initialized<--
13:31:46.324 T:18446744072332810520   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): the source file to load is "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py"
13:31:46.328 T:18446744072332810520   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): setting the Python path to /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba:/data/data/org.xbmc.kodi/cache/apk/assets/addons/script.module.pil/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.common.plugin.cache/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.certifi/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.chardet/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.dateutil/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.idna/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.inputstreamhelper/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.pytz/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.requests/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.six/lib:/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.urllib3/lib:/:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python27.zip:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/site-packages:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/plat-linux2:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-tk:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-old:/data/app/org.xbmc.kodi-1/base.apk/assets/python2.7/lib/python2.7/lib-dynload
13:31:46.328 T:18446744072332810520   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): entering source directory /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba
13:31:46.329 T:18446744072332810520   DEBUG: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): instantiating addon using automatically obtained id of "plugin.video.nba" dependent on version 2.20.0 of the xbmc.python api
13:31:46.647 T:18446744072332810520   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
13:31:46.647 T:18446744072332810520   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
13:31:46.648 T:18446744072332810520   DEBUG: CAddonSettings[plugin.video.nba]: loading setting definitions
13:31:46.649 T:18446744072332810520   DEBUG: CAddonSettings[plugin.video.nba]: trying to load setting definitions from old format...
13:31:46.649 T:18446744072332810520   DEBUG: CAddonSettings[plugin.video.nba]: loading setting values
13:31:46.793 T:18446744072288861280   DEBUG: ------ Window Init (DialogBusy.xml) ------
13:31:46.793 T:18446744072288861280   DEBUG: Window DialogBusy.xml was already loaded
13:31:46.793 T:18446744072288861280   DEBUG: Alloc resources: 0.04ms
13:31:46.796 T:18446744072332810520   DEBUG: CAddonSettings[script.common.plugin.cache]: loading setting definitions
13:31:46.796 T:18446744072332810520   DEBUG: CAddonSettings[script.common.plugin.cache]: trying to load setting definitions from old format...
13:31:46.929 T:18446744072308145808   DEBUG: [service.sleepy.watchdog] user activity detected, reset idle time
13:31:46.934 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:31:47.353 T:18446744072332810520    INFO: ##### NBA League Pass: Chosen quality_id 2 and target_video_height 720
13:31:47.575 T:18446744072332810520    INFO: ##### NBA League Pass: UTC datetime: 2018-04-15 11:31:47.575695
13:31:47.576 T:18446744072332810520    INFO: ##### NBA League Pass: EST datetime: 2018-04-15 07:31:47.575695
13:31:47.850 T:18446744072332810520    INFO: CPythonInvoker(9, /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.nba/main.py): script successfully run
13:31:47.864 T:18446744072335902904   DEBUG: Thread BackgroundLoader start, auto delete: false
13:31:47.880 T:18446744072335902904   DEBUG: Thread BackgroundLoader 18446744072335902904 terminating
13:31:47.883 T:18446744072288861280   DEBUG: ------ Window Init (DialogNotification.xml) ------
13:31:47.883 T:18446744072288861280   DEBUG: Window DialogNotification.xml was already loaded
13:31:47.883 T:18446744072288861280   DEBUG: Alloc resources: 0.01ms
13:31:47.889 T:18446744072288861280   DEBUG: GLES: Extension Support Test - GL_EXT_texture_format_BGRA8888 YES
13:31:47.949 T:18446744072332810520    INFO: Python script stopped
13:31:47.950 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:31:47.950 T:18446744072332810520   DEBUG: Thread LanguageInvoker 18446744072332810520 terminating
13:31:48.121 T:18446744072288861280   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
13:31:48.951 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:31:53.644 T:18446744072288861280   ERROR: Previous line repeats 4 times.
13:31:53.645 T:18446744072288861280   DEBUG: ------ Window Deinit (DialogNotification.xml) ------
13:31:53.958 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:32:00.123 T:18446744072314084664   ERROR: Previous line repeats 6 times.
13:32:00.123 T:18446744072314084664   DEBUG: GetAlbumsByWhere query: SELECT albumview.*, albumartistview.* FROM albumview JOIN albumartistview ON albumartistview.idalbum = albumview.idalbum  WHERE albumview.strReleaseType = 'album'
13:32:00.125 T:18446744072314084664   DEBUG: GetAlbumsByWhere - query took 0 ms
13:32:00.974 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:32:03.817 T:18446744072288861280   ERROR: Previous line repeats 2 times.
13:32:03.981 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:32:16.228 T:18446744072288861280   ERROR: Previous line repeats 12 times.
13:32:16.228 T:18446744072288861280    INFO: CheckIdle - Closing session to http://smb.cdnllnwnl.neulion.com (easy=0xae882678, multi=(nil))
13:32:16.303 T:18446744072299537720   DEBUG: Thread JobWorker 18446744072299537720 terminating (autodelete)
13:32:16.304 T:18446744072301201744   DEBUG: Thread JobWorker 18446744072301201744 terminating (autodelete)
13:32:16.305 T:18446744072328996904   DEBUG: Thread JobWorker 18446744072328996904 terminating (autodelete)
13:32:17.010 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:32:17.853 T:18446744072293276448   DEBUG: Thread JobWorker 18446744072293276448 terminating (autodelete)
13:32:18.011 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
13:32:54.048 T:18446744072291083984   ERROR: Previous line repeats 35 times.
13:32:54.049 T:18446744072291083984   DEBUG: Draining Audio
13:32:54.477 T:18446744072322661528   ERROR: EXCEPTION: XBMC is not playing any file
MRLB commented 6 years ago

@mkorganashvili I do not think this is a problem from inputstream because I am unable to see the list with the games with Kodi 18 on Android therefore I cannot start a game. The error message is: "Error: [Errno 22] Invalid argument"

MRLB commented 6 years ago

See: https://github.com/maxgalbu/xbmc.plugin.video.nba/issues/83

MRLB commented 5 years ago

I have found the issue in Android: Go to /src/games.py

Change line 245 from "thumbnail_url = utils.generateCombinedThumbnail(v, h)" to thumbnail_url = ""

and League Pass works again with Android :-)

ivankokan commented 5 years ago

Hi @MRLB, can you please share the error you get from there if you use the original code?