robweber / xbmcbackup

Backup Addon for Kodi
MIT License
113 stars 48 forks source link

Cloud Storage on Google Drive: not available in Remote Dir suggestions #180

Open hista opened 3 years ago

hista commented 3 years ago

Hi, I have installed your Backup addon on Kodi v19. I cannot find the Google Drive option among the Remote Dir suggestions. I only have 3 choices: Type path (type remote path) Browse path (brows remote path) Dropbox.

And that's all.

screenshot00000 screenshot00001 screenshot00002

Could you please tell me how to add a Google Drive as a remote dir?

Thanks for your kind help.

robweber commented 3 years ago

Unfortunately with the move to Python 3 support for Google Drive has been dropped. I just updated this in the wiki to avoid any confusion on this. Google Drive required numerous third party libraries and the work to get them all functional for Python 3 was delaying getting this addon in the Kodi repo for Matrix. I may revisit this in the future.

https://github.com/robweber/xbmcbackup/wiki/Google-Drive

hista commented 3 years ago

Oh, that's why it worked with Kodi v18 then… About google drive support, this Google Drive addon works pretty well with python3: https://github.com/cguZZman/plugin.googledrive Maybe it can help you to restore this remote dir?

robweber commented 3 years ago

Thanks - I took a look at how that addon is structured. Unfortunately I don't think much of it will help for this purpose. That addon is structured around pulling down files for viewing. This addon needs something that implements some pretty low level file operations to make directories, push files, etc. Not that there aren't parts that couldn't be re-used, but I can't just import the addon the same as I do for the Dropbox module and have all the pieces be ready to go.

w3tech commented 1 year ago

Rob, have you considered using Kodi's special protocols?

https://kodi.wiki/view/Special_protocol

robweber commented 1 year ago

Rob, have you considered using Kodi's special protocols?

https://kodi.wiki/view/Special_protocol

Is that in response to the Google Drive working or something else? The special protocol is used as part of the default file set to find the correct path on various systems. For custom paths you have to set it yourself.