Kodi Community Forum
Release gdrive - Google Drive Video/Music Add-on - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Release gdrive - Google Drive Video/Music Add-on (/showthread.php?tid=177557)



RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - sabrex - 2016-09-26

@dmdsoftware, I came across this 3rd party "Client for Google Photos" app recently for Windows 10 and Windows 10 Mobile ... https://www.microsoft.com/en-ca/store/p/client-for-google-photos/9nblggh5p5zp#

It seems to be able to access albums and shared albums from Google Photos. I'm curious how this was achieved considering Google hasn't released an API for Google Photos as far as I'm aware. I don't believe that the app is using the Google Drive API. Any ideas?


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - dmdsoftware - 2016-09-28

(2016-09-26, 19:22)sabrex Wrote: @dmdsoftware, I came across this 3rd party "Client for Google Photos" app recently for Windows 10 and Windows 10 Mobile ... https://www.microsoft.com/en-ca/store/p/client-for-google-photos/9nblggh5p5zp#

It seems to be able to access albums and shared albums from Google Photos. I'm curious how this was achieved considering Google hasn't released an API for Google Photos as far as I'm aware. I don't believe that the app is using the Google Drive API. Any ideas?

most likely reverse engineering the closed api and the hashing for the access key.


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - luhanmcs - 2016-09-30

I know it is different from the subject of the forum, but with the knowledge here someone can help me.

Using the addon a long time and I have always done uploads videos to the "Google Photos" and two hours at most they were shown the "Google Drive", but since 15 days ago My videos are not displayed in Gdrive, the Addon or the browser and Android Gdrive, twenty videos that I upload only one is shown, but I can see all the videos on google photos and play them in your browser or android.
I have over 3000 videos on google photos and none is being shown in GDrive, only some of the new ones that I upload.

I've tried to disable and enable the option "show google photos on google drive" and did not solve.
I've waited for two days as the google suggests support and failed.

watch gallery



RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - dmdsoftware - 2016-09-30

(2016-09-30, 06:50)luhanmcs Wrote: I know it is different from the subject of the forum, but with the knowledge here someone can help me.

Using the addon a long time and I have always done uploads videos to the "Google Photos" and two hours at most they were shown the "Google Drive", but since 15 days ago My videos are not displayed in Gdrive, the Addon or the browser and Android Gdrive, twenty videos that I upload only one is shown, but I can see all the videos on google photos and play them in your browser or android.
I have over 3000 videos on google photos and none is being shown in GDrive, only some of the new ones that I upload.

I've tried to disable and enable the option "show google photos on google drive" and did not solve.
I've waited for two days as the google suggests support and failed.

watch gallery

Are they showing up in Google Photos (photos.google.com)?

I have a few tricks to see if they are really there in Google Drive, but hidden. I'll PM you my email address so I can assist you.


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - horstepipe - 2016-10-02

hey guys
is there any possibility to check from time to time that my users don't share their credentials with other people? So check how much devices are logged in from one set of credentials or so...?


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - horstepipe - 2016-10-02

another question: I tried to setup my own client ID / client followed these steps:
http://dmdsoftware.net/GoogleSetupOAUTH2/SetupOAUTH2.html
Everything looked good and I entered the 3 credentials in gdrive for kodi settings.
Unfortunately I can't see the account in the plugin. Do I have to do somethin in addition to the steps above?


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - dmdsoftware - 2016-10-02

(2016-10-02, 15:37)horstepipe Wrote: hey guys
is there any possibility to check from time to time that my users don't share their credentials with other people? So check how much devices are logged in from one set of credentials or so...?

This would work. Setup a PHP (or other language of your choice) on an intermediate host. Then your end user device would point to the PHP script. The PHP script will provide the access into your account and you can control how many streams the user can open at once.

I would need to add support for this in the plugin, but I have already been testing it in a local developer version without any issues.


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - dmdsoftware - 2016-10-02

(2016-10-02, 16:56)horstepipe Wrote: another question: I tried to setup my own client ID / client followed these steps:
http://dmdsoftware.net/GoogleSetupOAUTH2/SetupOAUTH2.html
Everything looked good and I entered the 3 credentials in gdrive for kodi settings.
Unfortunately I can't see the account in the plugin. Do I have to do somethin in addition to the steps above?

Will test this again and see if it is still working.


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - horstepipe - 2016-10-03

Thank you. Would be nice if this method could be fixed.


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - user321 - 2016-10-04

Just installed a clean copy of LibreElec (Kodi 16.1) with GDrive 0.8.16 and I'm having no luck at all with even getting started.

I get the prompt saying "go to blah blah and sign up and when done click ok".... which I've done many, many times generating new username/password combinations (using the GOOGLE APPS OAUTH2 - READ/WRITE link).

The problem is this: when I click ok on the prompt it just sits there saying "working..." for about 10 mins and then fails saying "google code not found", followed by another error saying: The following login error was encountered: Missing required parameter: refresh_token.

So I can't enroll any account.

Any ideas? It's not the first time I've come across this problem, but I'm never sure exactly how I've gotten the plugin working after it does happen. Seems random...


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - horstepipe - 2016-10-05

(2016-10-02, 17:53)dmdsoftware Wrote:
(2016-10-02, 16:56)horstepipe Wrote: another question: I tried to setup my own client ID / client followed these steps:
http://dmdsoftware.net/GoogleSetupOAUTH2/SetupOAUTH2.html
Everything looked good and I entered the 3 credentials in gdrive for kodi settings.
Unfortunately I can't see the account in the plugin. Do I have to do somethin in addition to the steps above?

Will test this again and see if it is still working.


So have you been able to find out what's the problem here?


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - dmdsoftware - 2016-10-05

(2016-10-04, 22:59)user321 Wrote: Just installed a clean copy of LibreElec (Kodi 16.1) with GDrive 0.8.16 and I'm having no luck at all with even getting started.

I get the prompt saying "go to blah blah and sign up and when done click ok".... which I've done many, many times generating new username/password combinations (using the GOOGLE APPS OAUTH2 - READ/WRITE link).

The problem is this: when I click ok on the prompt it just sits there saying "working..." for about 10 mins and then fails saying "google code not found", followed by another error saying: The following login error was encountered: Missing required parameter: refresh_token.

So I can't enroll any account.

Any ideas? It's not the first time I've come across this problem, but I'm never sure exactly how I've gotten the plugin working after it does happen. Seems random...

can you try again now?


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - dmdsoftware - 2016-10-05

(2016-10-05, 03:07)horstepipe Wrote:
(2016-10-02, 17:53)dmdsoftware Wrote:
(2016-10-02, 16:56)horstepipe Wrote: another question: I tried to setup my own client ID / client followed these steps:
http://dmdsoftware.net/GoogleSetupOAUTH2/SetupOAUTH2.html
Everything looked good and I entered the 3 credentials in gdrive for kodi settings.
Unfortunately I can't see the account in the plugin. Do I have to do somethin in addition to the steps above?

Will test this again and see if it is still working.


So have you been able to find out what's the problem here?

This is on my plate for testing today.


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - dmdsoftware - 2016-10-05

(2016-10-05, 03:07)horstepipe Wrote:
(2016-10-02, 17:53)dmdsoftware Wrote:
(2016-10-02, 16:56)horstepipe Wrote: another question: I tried to setup my own client ID / client followed these steps:
http://dmdsoftware.net/GoogleSetupOAUTH2/SetupOAUTH2.html
Everything looked good and I entered the 3 credentials in gdrive for kodi settings.
Unfortunately I can't see the account in the plugin. Do I have to do somethin in addition to the steps above?

Will test this again and see if it is still working.


So have you been able to find out what's the problem here?

I was able to reproduce the issue. Working on fixing.


RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - user321 - 2016-10-05

(2016-10-05, 14:19)dmdsoftware Wrote: can you try again now?

The only difference this evening is that it's much quicker to say "google code not found", followed by two messages about the refresh token, then defaults to a "folder listing" showing
..
<Testing - manual run of change tracking build STRM>
[SEARCH]
[show all Shared Files & Folders]
[show all Starred Files & Folders]
[show all Videos]

but of course this won't show anything as no account has been linked.

Hope this info helps. Do you need logs or anything else?