plugin.googledrive icon indicating copy to clipboard operation
plugin.googledrive copied to clipboard

How do we Bring Back Google Drive As Kodi Source

Open 4ld3v opened this issue 6 years ago • 10 comments

Is your feature request related to a problem? Please describe. @cguZZman This is about the google cloud addon source mode, that seems to be gone now due to the API changes made by google. Can you elaborate in the technical issue behind this is? Is this gone for good, or are there possibilities we havent discovered yet to bring this back.

Regards and Thanks for this awesome addon!

4ld3v avatar Mar 02 '20 18:03 4ld3v

From previous response: I found a possible solution to get it working again using the transcode url, but subtitles won't work. They may need to be downloaded or something to get it working. Still working on that part. Anyway, there is hope for it. No ETA tho. Just out of curiosity, why do you prefer source mode over .strm files?

cguZZman avatar Mar 02 '20 19:03 cguZZman

The technical reason is that Google removed the option to send the access token authentication directly in the url of the request of the Drive API resource. So when Kodi requested the download of a file, the addon was redirecting it to the google server, passing the access token in the url. Now Google requires the access token to be pass as a header, but a redirect response does not support a redirect of the authentication header.

cguZZman avatar Mar 02 '20 19:03 cguZZman

I will keep this issue open for any future update

cguZZman avatar Mar 02 '20 19:03 cguZZman

tbh, i didnt know that this is the way your implementation does work - and i really like the way you solved the gdrive as a source. It is a very intresting problem the API update brought up and I am very curious to see then what you will come up with to fix that :)

As far as it concerns the .strm files, I wasnt aware of this and saw this mentioned in another thread today. Thanks for reminding me and I will look into this.

4ld3v avatar Mar 02 '20 20:03 4ld3v

@cguZZman can you make a branch with the progress you've made? maybe I could help to figure the problem out

xybydy avatar Mar 06 '20 11:03 xybydy

Just out of curiosity, why do you prefer source mode over .strm files?

What's the difference between source mode and .strm files?

IshanArya avatar May 15 '21 18:05 IshanArya

AFAIK, Source is dead. .strm are locally created files linked to the remote medias.

xybydy avatar May 16 '21 11:05 xybydy

So source is the processed video files that Google generates for web viewing?

IshanArya avatar May 18 '21 02:05 IshanArya

No, it is not. That's strm files method. Source is whole different thing.

xybydy avatar May 20 '21 17:05 xybydy

What is source then?

IshanArya avatar May 21 '21 21:05 IshanArya