Release gdrive - Google Drive Video/Music Add-on
(2015-04-18, 13:01)ashlar Wrote: Tried accessing with OAUTH2 and get the following in debug log, while the script fails:

Code:
12:58:01 T:7064   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.gdrive-testing/?content_type=video)
12:58:01 T:7064   DEBUG:   ParentPath = [addons://sources/video/]
12:58:01 T:7792   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin gdrive-testing('plugin://plugin.video.gdrive-testing/','1','?content_type=video')
12:58:01 T:7792   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the gdrive-testing (id=3) plugin...
12:58:01 T:6708  NOTICE: Thread LanguageInvoker start, auto delete: false
12:58:01 T:6708    INFO: initializing python engine.
12:58:01 T:6708   DEBUG: CPythonInvoker(3, C:\Users\ashlar\AppData\Roaming\Kodi\addons\plugin.video.gdrive-testing\default.py): start processing
12:58:01 T:6708  NOTICE: -->Python Interpreter Initialized<--
12:58:01 T:6708   DEBUG: CPythonInvoker(3, C:\Users\ashlar\AppData\Roaming\Kodi\addons\plugin.video.gdrive-testing\default.py): the source file to load is "C:\Users\ashlar\AppData\Roaming\Kodi\addons\plugin.video.gdrive-testing\default.py"
12:58:01 T:6708   DEBUG: CPythonInvoker(3, C:\Users\ashlar\AppData\Roaming\Kodi\addons\plugin.video.gdrive-testing\default.py): setting the Python path to C:\Users\ashlar\AppData\Roaming\Kodi\addons\plugin.video.gdrive-testing;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
12:58:01 T:6708   DEBUG: CPythonInvoker(3, C:\Users\ashlar\AppData\Roaming\Kodi\addons\plugin.video.gdrive-testing\default.py): entering source directory C:\Users\ashlar\AppData\Roaming\Kodi\addons\plugin.video.gdrive-testing
12:58:01 T:6708   DEBUG: CPythonInvoker(3, C:\Users\ashlar\AppData\Roaming\Kodi\addons\plugin.video.gdrive-testing\default.py): instantiating addon using automatically obtained id of "plugin.video.gdrive-testing" dependent on version 2.1.0 of the xbmc.python api
12:58:01 T:6708   DEBUG: gdrive-testing: plugin url: plugin://plugin.video.gdrive-testing/
12:58:01 T:6708   DEBUG: gdrive-testing: plugin queries: {'mode': 'main', 'content_type': 'video'}
12:58:01 T:6708   DEBUG: gdrive-testing: plugin handle: 1
12:58:01 T:6708   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.NameError'>
                                            Error Contents: name 'max_count' is not defined
                                            Traceback (most recent call last):
                                              File "C:\Users\ashlar\AppData\Roaming\Kodi\addons\plugin.video.gdrive-testing\default.py", line 593, in <module>
                                                for count in range (1, max_count):
                                            NameError: name 'max_count' is not defined
                                            -->End of Python script error report<--
12:58:01 T:6708    INFO: Python script stopped
12:58:01 T:6708   DEBUG: Thread LanguageInvoker 6708 terminating
12:58:01 T:7792   DEBUG:  XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
12:58:01 T:7064   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.gdrive-testing/?content_type=video
12:58:01 T:7064   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.gdrive-testing/?content_type=video) failed
12:58:01 T:7064   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
12:58:01 T:7064   DEBUG:   ParentPath = [addons://sources/]

Got it. Fixed, new release by 10am. Want to try to deal with an audio file issue first (for some reason the audio file links won't stream through XBMC, but they are fine if you "cache" them).
Reply


Messages In This Thread
RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - by dmdsoftware - 2015-04-18, 14:54
u - by Kraevin - 2015-05-13, 17:37
Logout Mark Read Team Forum Stats Members Help
gdrive - Google Drive Video/Music Add-on12