Release gdrive - Google Drive Video/Music Add-on
(2017-09-23, 18:05)klesk Wrote:
(2017-09-23, 17:38)dmdsoftware Wrote: That one item is being detected as a TV show due to the s##e##, so I populated TV show data for that. The default behaviour of KODI is to then reference the show with episode number because it assumes you are in a directory of season 2 of that show. Maybe there is someway I can override this behaviour to populate the TV fields without changing the displaying of filenames.

It is looking like I broke something with enroll when I added team drive support, will fix.

There were some cases I saw that playback won't work with team drive files. That should be now fixed in 0.8.54 that is being pushed out momentarily.

I guess the listing of team drives will have to wait until 0.8.55 or 0.8.56 (code is written but I don't have time right now to test). Hopefully by end-of-day Sunday.

Hi,

i appreciate your work.
I was able to test 0.8.54 but still can't playback.

Code:
17:57:58.039 T:1577673632   DEBUG: -->Python Interpreter Initialized<--
17:57:58.040 T:1577673632   DEBUG: CPythonInvoker(29, /storage/.kodi/addons/plugin.video.gdrive-testing/default.py): the source file to load is "/storage/.kodi/addons/plugin.video.gdrive-testing/default.py"
17:57:58.040 T:1577673632   DEBUG: CPythonInvoker(29, /storage/.kodi/addons/plugin.video.gdrive-testing/default.py): setting the Python path to /storage/.kodi/addons/plugin.video.gdrive-testing:/usr/lib/python27.zip:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/lib/python2.7/site-packages:/usr/lib/python2.7/site-packages/gtk-2.0
17:57:58.040 T:1577673632   DEBUG: CPythonInvoker(29, /storage/.kodi/addons/plugin.video.gdrive-testing/default.py): entering source directory /storage/.kodi/addons/plugin.video.gdrive-testing
17:57:58.041 T:1577673632   DEBUG: CPythonInvoker(29, /storage/.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
17:57:58.096 T:1944240128   DEBUG: ------ Window Init (DialogBusy.xml) ------
17:57:58.586 T:1569285024   DEBUG: Thread FileCache start, auto delete: false
17:57:58.592 T:1569285024    INFO: CFileCache::Process - Source read didn't return any data! Hit eof(?)
17:57:58.642 T:1586062240    INFO: easy_aquire - Created session to https://lh3.googleusercontent.com
17:57:59.165 T:1586062240   DEBUG: CCurlFile::GetMimeType - https://lh3.googleusercontent.com/lVDuLLRJ__YR5ngd8d30y0qV0ifcgmTloLl-r_eav7_WPuakE2AyXpl7ya4hcQUmouw3MA=s220 -> image/jpeg
17:57:59.167 T:1747973024   DEBUG: CWebServer[8080]: request received for /jsonrpc
17:57:59.213 T:1569285024   DEBUG: Previous line repeats 1 times.
17:57:59.213 T:1569285024   DEBUG: Thread FileCache 1569285024 terminating
17:57:59.213 T:1586062240   DEBUG: Caching image 'https://lh3.googleusercontent.com/lVDuLLRJ__YR5ngd8d30y0qV0ifcgmTloLl-r_eav7_WPuakE2AyXpl7ya4hcQUmouw3MA=s220' to '9/904c6d19.jpg':
17:57:59.214 T:1586062240   DEBUG: cached image 'special://masterprofile/Thumbnails/9/904c6d19.jpg' size 220x165
17:57:59.217 T:1586062240   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.image_encode input port 340 output port 341 m_handle 0x2a102f8
17:57:59.220 T:1586062240   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.image_encode) - port(340), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(157696), nBufferAlignmen(16)
17:57:59.222 T:1586062240   DEBUG: COMXCoreComponent::AllocOutputBuffers component(OMX.broadcom.image_encode) - port(341), nBufferCountMin(1), nBufferCountActual(1), nBufferSize(81920) nBufferAlignmen(16)
17:57:59.231 T:1586062240   DEBUG: COMXImageEnc::CreateThumbnailFromSurface : special://masterprofile/Thumbnails/9/904c6d19.jpg width 220 height 165
17:57:59.235 T:1586062240   DEBUG: COMXCoreComponent::Deinitialize : OMX.broadcom.image_encode handle 0x2a102f8
17:58:00.710 T:1747973024   DEBUG: CWebServer[8080]: request received for /jsonrpc
17:58:01.534 T:1577673632   DEBUG: Previous line repeats 1 times.
17:58:01.535 T:1577673632   DEBUG: OgFIYJjQvaI
17:58:02.260 T:1747973024   DEBUG: CWebServer[8080]: request received for /jsonrpc
17:58:02.748 T:1577673632   DEBUG: Previous line repeats 1 times.
17:58:02.748 T:1577673632   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ValueError'>
                                            Error Contents: unknown url type: ?sq=folderid=0B-LCsCcewNoyYnNuRjh0YzU5eWM%20or%20fileid=0B-LCsCcewNoydGRBNTdfenIxMVk
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.gdrive-testing/default.py", line 1632, in <module>
                                                media = service.gSpreadsheet.updateMediaPackage(service.worksheetID, package)
                                              File "/storage/.kodi/addons/plugin.video.gdrive-testing/resources/lib/gSpreadsheets.py", line 949, in updateMediaPackage
                                                response = urllib2.urlopen(req)
                                              File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
                                              File "/usr/lib/python2.7/urllib2.py", line 421, in open
                                              File "/usr/lib/python2.7/urllib2.py", line 283, in get_type
                                            ValueError: unknown url type: ?sq=folderid=0B-LCsCcewNoyYnNuRjh0YzU5eWM%20or%20fileid=0B-LCsCcewNoydGRBNTdfenIxMVk
                                            -->End of Python script error report<--
17:58:02.779 T:1944240128   DEBUG: ------ Window Init (DialogNotification.xml) ------
17:58:02.901 T:1577673632 WARNING: CPythonInvoker(29, /storage/.kodi/addons/plugin.video.gdrive-testing/default.py): the python script "/storage/.kodi/addons/plugin.video.gdrive-testing/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
17:58:02.901 T:1577673632    INFO: Python script stopped
17:58:02.902 T:1577673632   DEBUG: Thread LanguageInvoker 1577673632 terminating
17:58:02.912 T:1594450848   DEBUG: Thread scriptobs 1594450848 terminating
17:58:02.913 T:1944240128   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.gdrive-testing/?mode=video&instance=gdrive1&folder=0B-LCsCcewNoyYnNuRjh0YzU5eWM&filename=0B-LCsCcewNoydGRBNTdfenIxMVk&title=rsg-peaky-blinders-s02e01-1080p.mkv&content_type=video]
17:58:02.913 T:1944240128   DEBUG: Playlist Player: no more playable items... aborting playback
17:58:02.914 T:1594450848   DEBUG: Thread BackgroundLoader start, auto delete: false
17:58:03.042 T:1594450848   DEBUG: Thread BackgroundLoader 1594450848 terminating
17:58:03.069 T:1944240128   DEBUG: ------ Window Deinit (DialogBusy.xml) ------

If you need i can send you the whole log in case something is missing.

Are you using google drive spreadsheet functionality to store watch/resume status?
Reply


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