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.
(2015-04-29, 21:24)RuudM Wrote: [ -> ]Aha v6.12 Huh

22:45:19 T:2160 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.gdrive-testing/folder.jpg?content_type=image&instance=gdrive1&mode=search
22:45:19 T:2160 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.gdrive-testing/folder.jpg?content_type=image&folder=PHOTO&instance=gdrive1&mode=index
22:45:19 T:2160 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.gdrive-testing/folder.jpg?content_type=image&folder=SHARED&instance=gdrive1&mode=index
22:45:19 T:2160 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.gdrive-testing/folder.jpg?content_type=image&folder=STARRED-FILESFOLDERS&instance=gdrive1&mode=index
22:45:19 T:2160 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.gdrive-testing/folder.jpg?content_type=image&folder=0BxCqg4tP7e6JWXlyaHJwbXBHOWM&instance=gdrive1&mode=index


Installed now stable version 6, which is working, also on Kodi 15.0 beta. Seems that something is missing in 6.12 Confused

Can I get a clarification from folks using "slideshow" if you are invoking slideshow by 1) right-click on folder in plugin, select slideshow, 2) right-click on a photo in the directory in the plugin, select slideshow or 3) select slideshow in XBMC itself. I suspect #3 would have issues.

It is good that you mentioned it worked in 0.6 (stable), because this is the last time I ran through the regression bucket of test cases. I run them (time consuming process) whenever I promote a release to stable. I haven't tested slideshow this week, so it is conceivable it broke. Which is better news then to think it is something with KODI 14/15.
Kodi 15.0 beta - addon v6.0

1) from addon - rightclick folder - slideshow: in fraction of seconds I see every picture, downloaded to my local drive (isn't a black screen with 'downloading....' not better?). After that the pictures are shown in a slideshow. Btw: movies are missing, although I've selected show 'everything' in the addon setup-listings.
2) right click on foto - slideshow: same as 1)
3) if you mean 'slideshow' from the sidepanel: that is grayed out in v15.0b
(2015-04-30, 09:07)RuudM Wrote: [ -> ]Kodi 15.0 beta - addon v6.0

1) from addon - rightclick folder - slideshow: in fraction of seconds I see every picture, downloaded to my local drive (isn't a black screen with 'downloading....' not better?). After that the pictures are shown in a slideshow. Btw: movies are missing, although I've selected show 'everything' in the addon setup-listings.
2) right click on foto - slideshow: same as 1)
3) if you mean 'slideshow' from the sidepanel: that is grayed out in v15.0b

Thanks for the clarification. It kicks off slideshow while while it is still caching files. I will look at improvements to this including re-testing.
New release (0.6.13):
http://dmdsoftware.net/repository.ddurdl...0.6.13.zip

Version 0.6.13
-- Google Drive API 2 module - fix: captions stopping at certain point in playback
-- Google Drive API 2 module - fix: captions supporting italic

known issues with this test build:
- Play from here in videos causes endless "opening stream" + error #29
Hello dmdsoftware, wore the old add-on GDrive and use of an xml list ran some films in Google Drive.

When atulizar for that GDrive-testing version can not run, I wonder what I have to do to get back to work?

Below the code I use:

Code:
    <item>
        <title>O Ultimo Mestre do Ar 3D 1080p</title>
        <link>plugin://plugin.video.gdrive?mode=streamURL&amp;url=https://docs.google.com/file/d/0BwFzcclaqdKHOEdLdmFCejNtX2s/edit?pli=1</link>
    <thumbnail>http://mlb-s1-p.mlstatic.com/blu-ray-3d-avatar-o-ultimo-mestre-do-ar-eua-novo-lacrado-13782-MLB20080894308_042014-F.jpg</thumbnail>
    <fanart>http://www.papeldeparede.etc.br/fotos/wp-content/uploads/filme_o_%C3%BAltimo_mestre_do_ar.jpg</fanart>
    <item>
(2015-05-01, 01:27)AiWaBR Wrote: [ -> ]Hello dmdsoftware, wore the old add-on GDrive and use of an xml list ran some films in Google Drive.

When atulizar for that GDrive-testing version can not run, I wonder what I have to do to get back to work?

Below the code I use:

Code:
    <item>
        <title>O Ultimo Mestre do Ar 3D 1080p</title>
        <link>plugin://plugin.video.gdrive?mode=streamURL&amp;url=https://docs.google.com/file/d/0BwFzcclaqdKHOEdLdmFCejNtX2s/edit?pli=1</link>
    <thumbnail>http://mlb-s1-p.mlstatic.com/blu-ray-3d-avatar-o-ultimo-mestre-do-ar-eua-novo-lacrado-13782-MLB20080894308_042014-F.jpg</thumbnail>
    <fanart>http://www.papeldeparede.etc.br/fotos/wp-content/uploads/filme_o_%C3%BAltimo_mestre_do_ar.jpg</fanart>
    <item>


The testing uses name gdrive-testing so you can have both the regular and unstable (testing) version installed. You will need to modify <link>plugin://plugin.video.gdrive or wait for the regular to be updated once unstable is tested.
New release 0.6.14:
http://dmdsoftware.net/repository.ddurdl...0.6.14.zip

Very early testing of some media tracking. Media content will be (optionally) tracked in a spreadsheet. The only part available for public testing is resume. This is very early testing. Some of the more advanced media features, like scheduled and kiosk mode are not public accessible.

First off, you need a read/write OAUTH2 token. You can use the below (this is for Google Apps login type only):

https://accounts.google.com/o/oauth2/aut...ontent.com

Remember you can setup same account as multiple entries in the plugin and user a username like [email protected]/write.

Second, you must visit this URL https://docs.google.com/spreadsheets/d/1...sp=sharing and "Make a copy..." and save to your Google Drive. You must use a name other than XBMC-gdrive--RENAME (use XBMC-gdrive, for instance). If you use the same name as the public spreadsheet, you'll attempt to write to that one and will realize nothing will work. Don't leave blank rows in the data, if you modify data, as it will prevent the spreadsheet from updating.

Image
Enable the feature under Library (use library integration?). Provide the account number that appears under Accounts that corresponds the account with the read/write OAUTH2. Finally, specify the spreadsheet name (your copy made earlier).

Now when you right-click and "Play with resume", after you stop the video, it will record the resume time. If the video finishes, it will required it as watched.

These are the first steps into enabling more advanced features that will be forthcoming.

Version 0.6.14
-- Google Drive API 2 module - fix: captions supporting "
-- Google Drive API 2 module - read/write OAUTH2 - save resume point [right-click Play with resume] (testing)


known issues with this test build:
- Play from here in videos causes endless "opening stream" + error #29
Various bug release 0.6.17 (releases between 0.6.14-0.6.17 have been pushed out in repository only):
http://dmdsoftware.net/repository.ddurdl...0.6.17.zip
6.17 when I click launch on the addon I get a screen that says select an account and Is blank, account 1 is configured for google apps

Edit:
I created a 2nd dmdsoftware oath accout and it fixed the window, but now getting script error and code not found on Google apps account 1, dmdsoftware osuth #2 is working though.
(2015-05-04, 00:45)Kraevin Wrote: [ -> ]6.17 when I click launch on the addon I get a screen that says select an account and Is blank, account 1 is configured for google apps

Edit:
I created a 2nd dmdsoftware oath accout and it fixed the window, but now getting script error and code not found on Google apps account 1, dmdsoftware osuth #2 is working though.

I changed the logic around counting accounts, so this might be the reason. Will need to look at it.
Version 0.6.18
http://dmdsoftware.net/repository.ddurdl...0.6.18.zip

Just some caching changes and changes for subtitles/captions.
-- Google Drive API 2 module - load and enable SRT and Caption tracks by default (add settings to disable, remove from right-click context if enabled in settings)
(2015-05-04, 00:45)Kraevin Wrote: [ -> ]6.17 when I click launch on the addon I get a screen that says select an account and Is blank, account 1 is configured for google apps

Edit:
I created a 2nd dmdsoftware oath accout and it fixed the window, but now getting script error and code not found on Google apps account 1, dmdsoftware osuth #2 is working though.

Fixed in 0.6.19
http://dmdsoftware.net/repository.ddurdl...0.6.19.zip
Hi! Does the resume function work for "original files downloads" as well? Or is it just for transcoded (streamed) files?
(2015-05-04, 15:42)ashlar Wrote: [ -> ]Hi! Does the resume function work for "original files downloads" as well? Or is it just for transcoded (streamed) files?

It will send the directive to the player to seek ahead but I notice for original streams the player fails to move ahead in the file. The plugin will always try the seek, regardless of playback source, but if the player fails to (will display a warning in the xbmc.log about unable to seek), then it will start from the start. Original playback seems to be limited to a few seconds ahead due to the way the buffering happens with XBMC + Google Drive. That buffering issue doesn't exist for streams or for original quality through other cloud providers (OneDrive, etc).

Now that the code base is where I want it to be, I've been implementing new features in 0.6.x. I'm actively looking at that HTTP proxy idea that we discussed prior that could help resolve caching issues and this inability to seek issue.
(2015-05-04, 15:42)ashlar Wrote: [ -> ]Hi! Does the resume function work for "original files downloads" as well? Or is it just for transcoded (streamed) files?

In 0.6.20, I did some changes to the original playback to see if this method works better. I'm hidden the new logic under (Playback with Original from right-click context). Can you give this a test? Playback of Original through any other means will result in the traditional method (I didn't want to break things well this is tested).

What I noticed is, for me at least, the buffering seems faster, and the seeking is working. I'm interested to see some feedback on it.

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