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

  Thread Rating:
  • 8 Vote(s) - 4.63 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
dmdsoftware Offline
Posting Freak
Posts: 1,175
Joined: Sep 2013
Reputation: 45
Post: #16
New release -- now plays video.google.com videos linked to your google drive account

This was based on on feedback/request provided by a forum member.

https://github.com/ddurdle/XBMC-gdrive/a.../0.2.6.zip
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,175
Joined: Sep 2013
Reputation: 45
Post: #17
Another new release. This one provides support for playback of public google drive URLs (format: https://docs.google.com/file/d/#####/preview). When you encounter these links on the internet, you can create a .strm fie (or other means) that calls the plugin via the streamURL method to playback the URL. For instance, a .strm file with contents plugin://plugin.video.gdrive?mode=streamURL&url=https://docs.google.com/file/d/#####/preview will playback the stream for the video found at https://docs.google.com/file/d/#####/preview.

With the above method, you can make calls from other plugins to playback Google Drive Video content. One such plugin is https://github.com/ddurdle/XBMC-layanmovie
find quote
sumac Offline
Junior Member
Posts: 4
Joined: Jan 2014
Reputation: 0
Post: #18
I've gotten something working, and I could not have done it without you're add-on, so thank you very much. My only issue now, is that I have to submit my Google credentials even though my add-on only plays public videos. Great work!
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,175
Joined: Sep 2013
Reputation: 45
Post: #19
I figured it might be best to log in using an authorization token even when accessing shared files, as they can be set to require a google account to access.

It wouldn't be that difficult to allow for a parameter to be passed in during the plugin call to use try to playback without a token. If there is a particular example of a public file you want accessible without login, you can pm me the details.
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,175
Joined: Sep 2013
Reputation: 45
Post: #20
Latest version in GIT master now supports the playback without Google credentials for streamurl links

(version 0.2.7.20140228)
GIT master version - https://github.com/ddurdle/XBMC-gdrive/a...master.zip

This is for making calls like plugin://plugin.video.gdrive?mode=streamURL&url=https://docs.google.com/file/d/#####/preview with public video urls (ones that are shared public without login requirement). They will play automatically without login if permitted. Otherwise, if denied, it will pass the authorization token or log into google drive to obtain a session, or if login details are not set in settings, will fail.
find quote
wolfodeiwolfy Offline
Senior Member
Posts: 273
Joined: Mar 2011
Reputation: 3
Location: France
Post: #21
Does it allow to add to library ?

[Image: bannirew2w.jpg]
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,175
Joined: Sep 2013
Reputation: 45
Post: #22
I need some testers for the latest:

LATEST READY FOR TESTING
https://github.com/ddurdle/XBMC-gdrive/r.../tag/0.3.2
- quality stream selection,
- filtering for resolutions, codecs and formats
- support folders
- support music

(2014-03-14 10:48)wolfodeiwolfy Wrote:  Does it allow to add to library ?

No, no plugin is allowed to write directly to the library. Other plugins will let you dump strm & NFO files to disk, where you can then manually add the directory to XBMC library. I can create a feature to dump the streams to files, but files are just files in Google Drive, somehow the files need to be linked with movie and tv databases to scrape the stuff into XBMC (NFO files).

What I do now is create a .strm file for each video I want to add to XBMC. In the "show_S00E00.strm" file I put a URL like:

plugin://plugin.video.gdrive/?mode=streamVideo&title=show_S00E00_name.mp4

When you invoke the "show_S00E00.strm", it will open the plugin and stream the video. You can call on this from Files in XBMC.

To add it to XMBC library, you need to generate a "show_S00E00.NFO" (lines up with "show_S00E00.strm"). I simply load these .strm into Embler, which allows me to crosscheck the shows against a TV show db. It automatically will save NFO files to the same directory as the .strm. Then you can load the directory into XBMC library as a video source. Similar with movies.

Need a tutorial? I was thinking about writing one.
(This post was last modified: 2014-03-19 20:50 by dmdsoftware.)
find quote
marfegte Offline
Junior Member
Posts: 19
Joined: Mar 2014
Reputation: 0
Post: #23
is in testing phase
because I saw that give change the video quality to 720p and 1080p when selecting sd 480p format is 1080p
(This post was last modified: 2014-03-25 04:57 by marfegte.)
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,175
Joined: Sep 2013
Reputation: 45
Post: #24
(2014-03-25 04:56)marfegte Wrote:  is in testing phase
because I saw that give change the video quality to 720p and 1080p when selecting sd 480p format is 1080p

If it is a public video, you can PM me the video and I'll check.
find quote
marfegte Offline
Junior Member
Posts: 19
Joined: Mar 2014
Reputation: 0
Post: #25
Quote:If it is a public video, you can PM me the video and I'll check.

https://docs.google.com/file/d/0B6rEpAvj...stbkU/edit
(This post was last modified: 2014-03-25 07:27 by marfegte.)
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,175
Joined: Sep 2013
Reputation: 45
Post: #26
(2014-03-25 07:26)marfegte Wrote:  
(2014-03-25 04:56)marfegte Wrote:  
Quote:If it is a public video, you can PM me the video and I'll check.

https://docs.google.com/file/d/0B6rEpAvj...stbkU/edit

What is the issue with the playback?

When i create a .strm file (plugin://plugin.video.gdrive?mode=streamURL&url=https://docs.google.com/file/d/0B6rEpAvjIKa5WHE5MHdVUkstbkU/edit), and playback, it playback at 1080p. It classifies the video streams correctly for me. It classifies them as, in order:
[Image: 20140325.png]

here is my settings:

[Image: 20140325.2.png]
(This post was last modified: 2014-03-25 15:32 by dmdsoftware.)
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,175
Joined: Sep 2013
Reputation: 45
Post: #27
(2014-03-25 04:56)marfegte Wrote:  is in testing phase
because I saw that give change the video quality to 720p and 1080p when selecting sd 480p format is 1080p

I have posted a video of selecting the different streams. i'm relying on xbmc to tell me that when it says 1080, it is really 1080 (during playback).





Can you describe how you are selecting 480? is it from settings or from stream selection quality like in video?

Thx!
find quote
steve4cr Offline
Junior Member
Posts: 7
Joined: Dec 2013
Reputation: 0
Post: #28
Hi
I made a folder called Movies on my Google drive. I uploaded 7 movies but only 2 show up.
They all show and play from web page.
Any ideas?
V0.3.2
Tia

Steve
(This post was last modified: 2014-03-26 05:42 by steve4cr.)
find quote
dmdsoftware Offline
Posting Freak
Posts: 1,175
Joined: Sep 2013
Reputation: 45
Post: #29
(2014-03-26 05:38)steve4cr Wrote:  Hi
I made a folder called Movies on my Google drive. I uploaded 7 movies but only 2 show up.
They all show and play from web page.
Any ideas?
V0.3.2
Tia

Steve

do they show up under << show all videos sorted alphabetically >> ?
find quote
steve4cr Offline
Junior Member
Posts: 7
Joined: Dec 2013
Reputation: 0
Post: #30
Thanks for the reply.

As of today I now see 6 of the 7 I uploaded. When I tried to play the one that did not show on th web page it failed. MAybe a corrupted file. Will continue and report results.

Steve
find quote
Post Reply