Kodi Community Forum

Full Version: Google Drive for KODI
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2019-05-31, 10:01)stevensgl Wrote: [ -> ]Bad news for google drive addon?

https://www.androidpolice.com/2019/05/30...r-privacy/
I hope not
When intially creating strm do you have to scheldule automatic exports to update or is just checking watch changes in the cloud folder ok? I update often and if a time is needed should I set all the times the same for each folder?  Thanks
I have a large library with a lot of old tv shows . How can I create individual strm ? I have them in 3 folders but only want strm for certain ones . Also to save space on my device is it possible to save strm elsewhere or in the cloud to check for folder changes ?
bad changes in gdrive
photos and videos from GOOGLE PHOTES will not szhow in gdrive , is it possible to adjust plugin to work after that changes ?
It is needed if i upload only by photos and want to watch in kodi

https://www.blog.google/products/photos/...gle-drive/
"Changes to automatic sync between Google Drive and Google Photos
Starting in July, new photos and videos from Drive won’t automatically show in Photos. Similarly, new photos and videos in Photos will not be added to the Photos folder in Drive. Photos and videos you delete in Drive will not be removed from Photos. Similarly, items you delete in Photos will not be removed from Drive. This change is designed to help prevent accidental deletion of items across products."
(2019-06-10, 11:29)Keithsr Wrote: [ -> ]When intially creating strm do you have to scheldule automatic exports to update or is just checking watch changes in the cloud folder ok? I update often and if a time is needed should I set all the times the same for each folder?  Thanks

I solved this. Everything is running great
(2019-03-18, 21:36)LARQ Wrote: [ -> ]
(2019-03-14, 14:20)ashlar Wrote: [ -> ]
(2019-03-14, 06:22)avraham Wrote: [ -> ] Hi,

Were you able to add multiple sources like http://localhost:8587/source/my account/TV Shows  ?    
I ended up going for the .strm approach but, yes, multiple sources are most definitely doable.

You need to have "Allow using Google Drive as a source" in the add-on settings activated.
Then you go to Videos, Add Videos, Browse. There you need to select "Add network location...".

In the window that comes up you select:
Protocol: Web server directory HTTP)
Server address: localhost
Remote path: source
Port: 8587

You press ok and then you can navigate Google Drive from the new entry created and select specific folders to create different video sources.  
I would like to be clear about the main differences between using the exported files STRM (Method 1) or using the folders of google drive as a source (Method 2):
1) Firstly if I notice a difference in the speed of start of the movies or series, this is slower when Method 2 is used.
2) With Method 2, Once in a while, the empty Google Drive folder appears and all the access paths for the movies and series disappear. But this is solved by disabling the Add-on: Cloud Drive Common Module and the Add-on: google drive. Then restart Kodi and re-activate them.
3) ..

Any other difference you can find? 

Is it possible for me to set up strm at the step 2 location and check for changes from my android device?
Hi there,

Awesome add-on, thanks!

I started having an issue today, where i cannot seem to play any video from my google drive.  I click it, the Working animation spins for a few seconds and then disappears.  The movie does not play.

I removed my account and re-add it, but it did not seem to make a difference.  I can see all my files, I just can't play them.  I have tried on  an android device Kodi 18 and My Windows computer Kodi 18; latest Google Drive add-on.

Movies won't play directly from the Google Drive addon or via the exported strm streams.

Has anyone seen this issue before?

Cheers,
Ken
I can play files but suddenly can’t create strm files
(2019-06-25, 03:16)kenmills Wrote: [ -> ]Hi there,

Awesome add-on, thanks!

I started having an issue today, where i cannot seem to play any video from my google drive.  I click it, the Working animation spins for a few seconds and then disappears.  The movie does not play.

I removed my account and re-add it, but it did not seem to make a difference.  I can see all my files, I just can't play them.  I have tried on  an android device Kodi 18 and My Windows computer Kodi 18; latest Google Drive add-on.

Movies won't play directly from the Google Drive addon or via the exported strm streams.

Has anyone seen this issue before?

Cheers,
Ken
Ok So I have more information about the issue:

It seems it is only the 2160p files that won't play.  If I set he setting in Google Drive, that says "Always Ask for format" before playing file, and I choose 1080p or anything other than Original Format, it works fine.

Does Google Drive not support full 2160p HDR MKV movies?

Cheers,
Ken
(2019-06-25, 09:05)kenmills Wrote: [ -> ]
(2019-06-25, 03:16)kenmills Wrote: [ -> ]Hi there,

Awesome add-on, thanks!

I started having an issue today, where i cannot seem to play any video from my google drive.  I click it, the Working animation spins for a few seconds and then disappears.  The movie does not play.

I removed my account and re-add it, but it did not seem to make a difference.  I can see all my files, I just can't play them.  I have tried on  an android device Kodi 18 and My Windows computer Kodi 18; latest Google Drive add-on.

Movies won't play directly from the Google Drive addon or via the exported strm streams.

Has anyone seen this issue before?

Cheers,
Ken
Ok So I have more information about the issue:

It seems it is only the 2160p files that won't play.  If I set he setting in Google Drive, that says "Always Ask for format" before playing file, and I choose 1080p or anything other than Original Format, it works fine.

Does Google Drive not support full 2160p HDR MKV movies?

Cheers,
Ken 

Weird... files just all started playing now... After about 16 hours of not working.

All good I think.

Is there a download limit for Google drive each day?  Maybe after you reach your upload limit?

Cheers,
Ken
Last question!  :-)  How long do the authentication tokens last, once I add an account?  I mean, when will i have to re-authenticate?

Cheers,
Ken
(2019-06-26, 01:07)kenmills Wrote: [ -> ]
(2019-06-25, 09:05)kenmills Wrote: [ -> ]
(2019-06-25, 03:16)kenmills Wrote: [ -> ]Hi there,

Awesome add-on, thanks!

I started having an issue today, where i cannot seem to play any video from my google drive.  I click it, the Working animation spins for a few seconds and then disappears.  The movie does not play.

I removed my account and re-add it, but it did not seem to make a difference.  I can see all my files, I just can't play them.  I have tried on  an android device Kodi 18 and My Windows computer Kodi 18; latest Google Drive add-on.

Movies won't play directly from the Google Drive addon or via the exported strm streams.

Has anyone seen this issue before?

Cheers,
Ken
Ok So I have more information about the issue:

It seems it is only the 2160p files that won't play.  If I set he setting in Google Drive, that says "Always Ask for format" before playing file, and I choose 1080p or anything other than Original Format, it works fine.

Does Google Drive not support full 2160p HDR MKV movies?

Cheers,
Ken 

Weird... files just all started playing now... After about 16 hours of not working.

All good I think.

Is there a download limit for Google drive each day?  Maybe after you reach your upload limit?

Cheers,
Ken

Yes . 750 gig daily .
Aint nobody concerned here?  That photos and videos from GOOGLE PHOTOS will not show in gdrive , start in July   Huh
We will no longer be able to browse from this addon in KODI , the content from the google photos  folder, because it will not be...
Are there any alternatives planned?
(2019-06-26, 03:39)keithcq71 Wrote: [ -> ]
(2019-06-26, 01:07)kenmills Wrote: [ -> ]
(2019-06-25, 09:05)kenmills Wrote: [ -> ]Ok So I have more information about the issue:

It seems it is only the 2160p files that won't play.  If I set he setting in Google Drive, that says "Always Ask for format" before playing file, and I choose 1080p or anything other than Original Format, it works fine.

Does Google Drive not support full 2160p HDR MKV movies?

Cheers,
Ken 

Weird... files just all started playing now... After about 16 hours of not working.

All good I think.

Is there a download limit for Google drive each day?  Maybe after you reach your upload limit?

Cheers,
Ken  

Yes . 750 gig daily .  
Hey again - Yes i know the upload limit is 750Gb per day but the download limit is supposed to be 10Tb.  I have a business Gsuite account. 

I'm wondering if anyone knows that if I hit my upload cap, will it stop my downloads.  It's really a mute point as I didn't hit my upload cap yesterday.

I'm just trying to figure out why I couldn't play files for a day.

Cheers,
Ken
OK so my Google Drive stopped plaing videos again.  I spent an hour in a support call with Google, and it is not on thier end.   My acount is fine and there are no limits hit.

My Kodi erro log says:

019-06-26 20:34:56.792 T:4094853136  NOTICE: VideoPlayer::OpenFile: plugin://plugin.googledrive/?item_id=1E69kV-fqgXu4AgE2TKVWKN9dU2TwqpRc&driveid=11903832458131341177&item_driveid=11903832458131341177&action=play&content_type=video
2019-06-26 20:34:56.934 T:3726549808 WARNING: CPythonInvoker(22, /storage/.kodi/addons/plugin.googledrive/addon.py): the python script "/storage/.kodi/addons/plugin.googledrive/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon4xbmc7MonitorE
2019-06-26 20:34:58.101 T:3637506864  NOTICE: Creating InputStream
2019-06-26 20:34:59.053 T:3637506864   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
2019-06-26 20:34:59.053 T:3637506864   ERROR: CCurlFile::Open failed with code 403 for http://127.0.0.1:53254/download/11903832...urious.mkv:
2019-06-26 20:34:59.872 T:3637506864   ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
2019-06-26 20:34:59.872 T:3637506864   ERROR: CCurlFile::Open failed with code 403 for http://127.0.0.1:53254/download/11903832...urious.mkv:
2019-06-26 20:34:59.873 T:3637506864   ERROR: Open - failed to open source <http://127.0.0.1:53254/download/11903832458131341177/11903832458131341177/1E69kV-fqgXu4AgE2TKVWKN9dU2TwqpRc/2.Fast.2.Furious.2003.mkv>
2019-06-26 20:34:59.873 T:3637506864   ERROR: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.googledrive/?item_id=1E69kV-fqgXu4AgE2TKVWKN9dU2TwqpRc&driveid=11903832458131341177&item_driveid=11903832458131341177&action=play&content_type=video]
2019-06-26 20:34:59.873 T:3637506864  NOTICE: CVideoPlayer::OnExit()
2019-06-26 20:34:59.929 T:4094853136  NOTICE: CVideoPlayer::CloseFile()
2019-06-26 20:34:59.929 T:4094853136  NOTICE: VideoPlayer: waiting for threads to exit
2019-06-26 20:34:59.929 T:4094853136  NOTICE: VideoPlayer: finished waiting


Any ideas what that means?  A 403 error means forbidden!

Cheers,
Ken