Release gdrive - Google Drive Video/Music Add-on
(2016-05-27, 01:14)dmdsoftware Wrote: Testing underway to store resume points in a google spreadsheet. When you playback, it would ask if you would like to resume. It will also track watched status but it won't appear in the library (library is updated but I find the library doesn't refresh often enough to show the "watched" checkmark.

Hi,

If I enable on Library settings Google drive spreadsheet, Kodi show me an error when it try to play strm
Code:
23:30:21 T:2774555456   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=fileid=0B1i-mGcpoRTPbKJwU2ZqR0JUHjA
                                            Traceback (most recent call last):
                                              File "/home/torcuato/.kodi/addons/plugin.video.gdrive-testing/default.py", line 1005, in <module>
                                                media = service.gSpreadsheet.updateMediaPackage(service.worksheetID, package)
                                              File "/home/torcuato/.kodi/addons/plugin.video.gdrive-testing/resources/lib/gSpreadsheets.py", line 343, in updateMediaPackage
                                                response = urllib2.urlopen(req)
                                              File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
                                                return _opener.open(url, data, timeout)
                                              File "/usr/lib/python2.7/urllib2.py", line 396, in open
                                                protocol = req.get_type()
                                              File "/usr/lib/python2.7/urllib2.py", line 258, in get_type
                                                raise ValueError, "unknown url type: %s" % self.__original
                                            ValueError: unknown url type: ?sq=fileid=0B1i-mGcpoRTPbKJwU2ZqR0JUHjA
                                            -->End of Python script error report<--
23:30:21 T:2774555456 WARNING: CPythonInvoker(5, /home/torcuato/.kodi/addons/plugin.video.gdrive-testing/default.py): the python script "/home/torcuato/.kodi/addons/plugin.video.gdrive-testing/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE

I'm using last testing build on ubuntu with this setting:

On login tab settings, Cloud Media Spreadsheet ID -> blank
On library tab setings,
Resume point and playbackcount -> Google Drive Spreadsheet
Always resume -> check
Use library integration? -> check
Spreadsheet name -> library

On my account api settings google drive, and google docs has permissions for write & read

Maybe I miss some settings?

Thanks
Reply


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