Kodi Community Forum

Full Version: gdrive - Google Drive Video/Music Add-on
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2016-03-31, 06:11)dabinn Wrote: [ -> ]Hi dmdsoftware,
When gdrive addon requests for a filelist, files which were trashed are shown in their original folder .
It seems the google drive api does not filter out trashed item by default.
I tried to add a filter for trashed files in getMediaList(), it works.
PHP Code:
--- a/resources/lib/gdrive_api2.py
+++ b/resources/lib/gdrive_api2.py
@@ -389,16 +389,20 @@ class gdrive(cloudservice):
         
# retrieve folder items
         
else:
             
url url "?q='"+str(folderName)+"'+in+parents"
 
+        # filter out trashed items
+        url url "+and+trashed%3dfalse" 

Yes you are right Smile Makes better sense to exclude them.
New testing build:

http://dmdsoftware.net/repository.ddurdl...0.7.49.zip

v0.7.49 (2016-04-07)
- fix fanart.jpg
- contribution by dabinn - filter out trashed items
I'm trying to set this up, but I keep getting a bad request after I log in. Am I missing something obvious?
(2016-04-16, 10:08)EngineerPeter Wrote: [ -> ]I'm trying to set this up, but I keep getting a bad request after I log in. Am I missing something obvious?

You mean when you are clicking the links in original post to get a login code or when entering it into the plugin? Use the [enroll account] options in the plugin itself rather then configuring using settings.
Sorty, should said in the add on itself. Can i get a log from somewhere for you?
(2016-04-16, 20:47)EngineerPeter Wrote: [ -> ]Sorty, should said in the add on itself. Can i get a log from somewhere for you?

Can you enabling logging in the addon settings (last panel)?
sorry if this been asked before,
how do i set Thumbnails or posters for my vids in my GDrive addon ?
and thanks for this great addon Smile
(2016-04-29, 17:15)scofield272 Wrote: [ -> ]sorry if this been asked before,
how do i set Thumbnails or posters for my vids in my GDrive addon ?
and thanks for this great addon Smile

Posters stopped working a few releases ago. Don't understand the issue yet.

Thumbnails will load based on thumbnail Google has for the file.
(2016-04-29, 17:46)dmdsoftware Wrote: [ -> ]
(2016-04-29, 17:15)scofield272 Wrote: [ -> ]sorry if this been asked before,
how do i set Thumbnails or posters for my vids in my GDrive addon ?
and thanks for this great addon Smile

Posters stopped working a few releases ago. Don't understand the issue yet.

Thumbnails will load based on thumbnail Google has for the file.

oh i see,
thanks for your answer,
Would this support google photos?
(2016-04-30, 06:36)djEthen Wrote: [ -> ]Would this support google photos?

Yes, google photos is accessed via the Google Photos folder.
I am on a Windows client and I am having problems with a caption subtitles support. When I was using the option to hide "opening stream" dialog and played a video from google drive, which had a added subtitles through a google drive web interface (the captions) it loaded the subtitles perfectly.
But now when you removed this option, I can´t use the captions, because it never worked for me without using this option.
I also had a similar problem on a raspberry pi/openelec setup, where without this option, only some videos loaded the captions. Am I doing something wrong? Big Grin
But great work with this plugin anyway! love it Smile
(2016-05-03, 22:37)MarhyCZ Wrote: [ -> ]I am on a Windows client and I am having problems with a caption subtitles support. When I was using the option to hide "opening stream" dialog and played a video from google drive, which had a added subtitles through a google drive web interface (the captions) it loaded the subtitles perfectly.
But now when you removed this option, I can´t use the captions, because it never worked for me without using this option.
I also had a similar problem on a raspberry pi/openelec setup, where without this option, only some videos loaded the captions. Am I doing something wrong? Big Grin
But great work with this plugin anyway! love it Smile

The issue is strictly with the "timed text" (closed-caption tracks)? Have you encountered it with SRT/SUB files?

The plugin has to convert the Google format "timed text" to SRT. I'm suspecting it is a timing issue (conversion might be taking longer then expected and failing)
(2016-05-04, 01:19)dmdsoftware Wrote: [ -> ]
(2016-05-03, 22:37)MarhyCZ Wrote: [ -> ]I am on a Windows client and I am having problems with a caption subtitles support. When I was using the option to hide "opening stream" dialog and played a video from google drive, which had a added subtitles through a google drive web interface (the captions) it loaded the subtitles perfectly.
But now when you removed this option, I can´t use the captions, because it never worked for me without using this option.
I also had a similar problem on a raspberry pi/openelec setup, where without this option, only some videos loaded the captions. Am I doing something wrong? Big Grin
But great work with this plugin anyway! love it Smile

The issue is strictly with the "timed text" (closed-caption tracks)? Have you encountered it with SRT/SUB files?

The plugin has to convert the Google format "timed text" to SRT. I'm suspecting it is a timing issue (conversion might be taking longer then expected and failing)

Ok, thats weird. SRT files are not loading too. SRT has a same filename as a video file, subtitles parsing is on in Kodi Video settings, also .srt and closed-captions are enabled in gdrive plugin. And still none of these are loading.
(2016-05-04, 11:05)MarhyCZ Wrote: [ -> ]
(2016-05-04, 01:19)dmdsoftware Wrote: [ -> ]
(2016-05-03, 22:37)MarhyCZ Wrote: [ -> ]I am on a Windows client and I am having problems with a caption subtitles support. When I was using the option to hide "opening stream" dialog and played a video from google drive, which had a added subtitles through a google drive web interface (the captions) it loaded the subtitles perfectly.
But now when you removed this option, I can´t use the captions, because it never worked for me without using this option.
I also had a similar problem on a raspberry pi/openelec setup, where without this option, only some videos loaded the captions. Am I doing something wrong? Big Grin
But great work with this plugin anyway! love it Smile

The issue is strictly with the "timed text" (closed-caption tracks)? Have you encountered it with SRT/SUB files?

The plugin has to convert the Google format "timed text" to SRT. I'm suspecting it is a timing issue (conversion might be taking longer then expected and failing)

Ok, thats weird. SRT files are not loading too. SRT has a same filename as a video file, subtitles parsing is on in Kodi Video settings, also .srt and closed-captions are enabled in gdrive plugin. And still none of these are loading.

Which release are you using and version?