[RELEASE] gdrive - Google Drive Video/Music Add-on

  Thread Rating:
  • 10 Vote(s) - 4.7 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
klesk Online
Junior Member
Posts: 2
Joined: Sep 2017
Reputation: 0
Post: #1441
(2017-09-10 01:15)dmdsoftware Wrote:  Team Drives are new, but I intend on adding support very soon. I've been creating them in my accounts for purposes of testing them.

Hi,

i am glad to hear that the support for team drives is coming very soon. I will be around for testing purpose if you need someone.
Thanks for your work.
find quote
SEIKT Offline
Member
Posts: 50
Joined: Sep 2016
Reputation: 2
Post: #1442
Hey dmd,

Suddenly I can't play videos, Kodi returns a "Playback failed" message when attempting to play a video either through STRM or directly through your plugin. Managed to play a few small AVI files but the rest of my library consists of MKV files and from the ones I tried to play, all refused. Extracted this output from the log. Any ideas of the cause?

All encrypted BTW.

Code:
06:52:08.077 T:4100562944   DEBUG: ------ Window Init (DialogBusy.xml) ------
06:52:08.779 T:3400528800   DEBUG: mediaURL = https://www.googleapis.com/drive/v2/files/**************
06:52:08.784 T:3383751584   DEBUG: Accept-Encoding: identity
                                            Content-Length: 84
                                            Host: localhost:8011
                                            Content-Type: application/x-www-form-urlencoded
                                            Connection: close
                                            User-Agent: Python-urllib/2.7
06:52:08.784 T:3383751584   DEBUG: drive_stream =
06:52:08.784 T:3383751584   DEBUG: url = https://www.googleapis.com/drive/v2/files/******************
06:52:08.784 T:3383751584   ERROR: 127.0.0.1 - - [12/Sep/2017 06:52:08] "POST /crypto_playurl HTTP/1.1" 200 -
06:52:08.798 T:3400528800  NOTICE: gdrive: Seek 0
06:52:08.811 T:3375362976   DEBUG: Thread scriptobs 3375362976 terminating
06:52:08.812 T:4100562944    INFO: easy_aquire - Created session to http://localhost
06:52:08.818 T:3375362976   DEBUG: Host: localhost:8011
                                            User-Agent: Kodi/17.4-RC1 (X11; Linux aarch64) LibreELEC/8.2 App_Bitness/32 Version/17.4-RC1-Git:0b4cdc9
                                            Accept: */*
                                            Accept-Charset: UTF-8,*;q=0.8
06:52:08.818 T:3375362976   DEBUG: HEAD https://www.googleapis.com/drive/v2/files/*****************
06:52:08.898 T:3400528800   ERROR: EXCEPTION: XBMC is not playing any media file
06:52:09.511 T:3375362976   DEBUG: ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.***************************
06:52:12.229 T:3375362976   DEBUG: STILL ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.************************
06:52:12.272 T:3383751584   DEBUG: Host: localhost:8011
                                            User-Agent: Kodi/17.4-RC1 (X11; Linux aarch64) LibreELEC/8.2 App_Bitness/32 Version/17.4-RC1-Git:0b4cdc9
                                            Accept: */*
                                            Accept-Charset: UTF-8,*;q=0.8
06:52:12.273 T:3383751584   DEBUG: GET https://www.googleapis.com/drive/v2/files/***********************
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.****************************
06:52:13.019 T:3383751584   DEBUG: ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.*****************************
06:52:13.899 T:3400528800   ERROR: EXCEPTION: XBMC is not playing any media file
06:52:15.449 T:3383751584   DEBUG: STILL ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.************************
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,250
Joined: Sep 2013
Reputation: 46
Post: #1443
(2017-09-11 23:53)SEIKT Wrote:  Hey dmd,

Suddenly I can't play videos, Kodi returns a "Playback failed" message when attempting to play a video either through STRM or directly through your plugin. Managed to play a few small AVI files but the rest of my library consists of MKV files and from the ones I tried to play, all refused. Extracted this output from the log. Any ideas of the cause?

All encrypted BTW.

Code:
06:52:08.077 T:4100562944   DEBUG: ------ Window Init (DialogBusy.xml) ------
06:52:08.779 T:3400528800   DEBUG: mediaURL = https://www.googleapis.com/drive/v2/files/**************
06:52:08.784 T:3383751584   DEBUG: Accept-Encoding: identity
                                            Content-Length: 84
                                            Host: localhost:8011
                                            Content-Type: application/x-www-form-urlencoded
                                            Connection: close
                                            User-Agent: Python-urllib/2.7
06:52:08.784 T:3383751584   DEBUG: drive_stream =
06:52:08.784 T:3383751584   DEBUG: url = https://www.googleapis.com/drive/v2/files/******************
06:52:08.784 T:3383751584   ERROR: 127.0.0.1 - - [12/Sep/2017 06:52:08] "POST /crypto_playurl HTTP/1.1" 200 -
06:52:08.798 T:3400528800  NOTICE: gdrive: Seek 0
06:52:08.811 T:3375362976   DEBUG: Thread scriptobs 3375362976 terminating
06:52:08.812 T:4100562944    INFO: easy_aquire - Created session to http://localhost
06:52:08.818 T:3375362976   DEBUG: Host: localhost:8011
                                            User-Agent: Kodi/17.4-RC1 (X11; Linux aarch64) LibreELEC/8.2 App_Bitness/32 Version/17.4-RC1-Git:0b4cdc9
                                            Accept: */*
                                            Accept-Charset: UTF-8,*;q=0.8
06:52:08.818 T:3375362976   DEBUG: HEAD https://www.googleapis.com/drive/v2/files/*****************
06:52:08.898 T:3400528800   ERROR: EXCEPTION: XBMC is not playing any media file
06:52:09.511 T:3375362976   DEBUG: ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.***************************
06:52:12.229 T:3375362976   DEBUG: STILL ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.************************
06:52:12.272 T:3383751584   DEBUG: Host: localhost:8011
                                            User-Agent: Kodi/17.4-RC1 (X11; Linux aarch64) LibreELEC/8.2 App_Bitness/32 Version/17.4-RC1-Git:0b4cdc9
                                            Accept: */*
                                            Accept-Charset: UTF-8,*;q=0.8
06:52:12.273 T:3383751584   DEBUG: GET https://www.googleapis.com/drive/v2/files/***********************
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.****************************
06:52:13.019 T:3383751584   DEBUG: ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.*****************************
06:52:13.899 T:3400528800   ERROR: EXCEPTION: XBMC is not playing any media file
06:52:15.449 T:3383751584   DEBUG: STILL ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.************************

I assume the naming of the files are being displayed correctly (ruling out bad salt / password). Are you able to download the file using the web site?
find quote
SEIKT Offline
Member
Posts: 50
Joined: Sep 2016
Reputation: 2
Post: #1444
(2017-09-12 00:19)dmdsoftware Wrote:  
(2017-09-11 23:53)SEIKT Wrote:  Hey dmd,

Suddenly I can't play videos, Kodi returns a "Playback failed" message when attempting to play a video either through STRM or directly through your plugin. Managed to play a few small AVI files but the rest of my library consists of MKV files and from the ones I tried to play, all refused. Extracted this output from the log. Any ideas of the cause?

All encrypted BTW.

Code:
06:52:08.077 T:4100562944   DEBUG: ------ Window Init (DialogBusy.xml) ------
06:52:08.779 T:3400528800   DEBUG: mediaURL = https://www.googleapis.com/drive/v2/files/**************
06:52:08.784 T:3383751584   DEBUG: Accept-Encoding: identity
                                            Content-Length: 84
                                            Host: localhost:8011
                                            Content-Type: application/x-www-form-urlencoded
                                            Connection: close
                                            User-Agent: Python-urllib/2.7
06:52:08.784 T:3383751584   DEBUG: drive_stream =
06:52:08.784 T:3383751584   DEBUG: url = https://www.googleapis.com/drive/v2/files/******************
06:52:08.784 T:3383751584   ERROR: 127.0.0.1 - - [12/Sep/2017 06:52:08] "POST /crypto_playurl HTTP/1.1" 200 -
06:52:08.798 T:3400528800  NOTICE: gdrive: Seek 0
06:52:08.811 T:3375362976   DEBUG: Thread scriptobs 3375362976 terminating
06:52:08.812 T:4100562944    INFO: easy_aquire - Created session to http://localhost
06:52:08.818 T:3375362976   DEBUG: Host: localhost:8011
                                            User-Agent: Kodi/17.4-RC1 (X11; Linux aarch64) LibreELEC/8.2 App_Bitness/32 Version/17.4-RC1-Git:0b4cdc9
                                            Accept: */*
                                            Accept-Charset: UTF-8,*;q=0.8
06:52:08.818 T:3375362976   DEBUG: HEAD https://www.googleapis.com/drive/v2/files/*****************
06:52:08.898 T:3400528800   ERROR: EXCEPTION: XBMC is not playing any media file
06:52:09.511 T:3375362976   DEBUG: ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.***************************
06:52:12.229 T:3375362976   DEBUG: STILL ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.************************
06:52:12.272 T:3383751584   DEBUG: Host: localhost:8011
                                            User-Agent: Kodi/17.4-RC1 (X11; Linux aarch64) LibreELEC/8.2 App_Bitness/32 Version/17.4-RC1-Git:0b4cdc9
                                            Accept: */*
                                            Accept-Charset: UTF-8,*;q=0.8
06:52:12.273 T:3383751584   DEBUG: GET https://www.googleapis.com/drive/v2/files/***********************
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.****************************
06:52:13.019 T:3383751584   DEBUG: ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.*****************************
06:52:13.899 T:3400528800   ERROR: EXCEPTION: XBMC is not playing any media file
06:52:15.449 T:3383751584   DEBUG: STILL ERROR
                                            Cookie=DRIVE_STREAM%3D&Authorization=Bearer+ya29.************************

I assume the naming of the files are being displayed correctly (ruling out bad salt / password). Are you able to download the file using the web site?

Yeah, all displayed correctly. Videos that were playable a day ago are now not playable. I'm guessing the Google Drive API shit the bed?
find quote
SEIKT Offline
Member
Posts: 50
Joined: Sep 2016
Reputation: 2
Post: #1445
Interesting. Tried downloading a video just now from Google Drive and it returned a download quota exceeded message. Odd considering I've only uploaded about 50GB to that drive account in the last 24 hours and have only played back two videos in the last 24 hours.
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,250
Joined: Sep 2013
Reputation: 46
Post: #1446
(2017-09-12 07:57)SEIKT Wrote:  Interesting. Tried downloading a video just now from Google Drive and it returned a download quota exceeded message. Odd considering I've only uploaded about 50GB to that drive account in the last 24 hours and have only played back two videos in the last 24 hours.

This is a google drive paid account?
find quote
SEIKT Offline
Member
Posts: 50
Joined: Sep 2016
Reputation: 2
Post: #1447
(2017-09-12 12:03)dmdsoftware Wrote:  
(2017-09-12 07:57)SEIKT Wrote:  Interesting. Tried downloading a video just now from Google Drive and it returned a download quota exceeded message. Odd considering I've only uploaded about 50GB to that drive account in the last 24 hours and have only played back two videos in the last 24 hours.

This is a google drive paid account?

Nah, my uni account. All good though, ban has been lifted. Maybe rclone caused it.
find quote
hasamba Offline
Senior Member
Posts: 147
Joined: Sep 2012
Reputation: 0
Post: #1448
can some1 please explain what is the crypto option for?
i understand that it doesnt decrypt rclone decrypted passwords.

so how can i upload encrypted videos that gdrive addon will be able to read on the fly?

thanks
find quote
neik Offline
Junior Member
Posts: 5
Joined: Jan 2017
Reputation: 0
Post: #1449
(2017-09-11 23:53)SEIKT Wrote:  All encrypted BTW.

Can you explain how you used the plugin to mount your crypted data? How did you encrypt it?

(2017-09-16 15:44)hasamba Wrote:  can some1 please explain what is the crypto option for?
i understand that it doesnt decrypt rclone decrypted passwords.

so how can i upload encrypted videos that gdrive addon will be able to read on the fly?

thanks

+1

Would be very pleased if someone could explain how this works with this plugin.

Right now I have to use rclone mount to be able to play my files, although this works using only the plugin would be more convenient.

Thanks!
find quote
Post Reply