Release gdrive - Google Drive Video/Music Add-on
#68
(2014-07-22, 00:31)MattBlacK85 Wrote:
(2014-07-21, 00:13)dmdsoftware Wrote:
(2014-07-20, 23:58)MattBlacK85 Wrote: If i add a .strm file to my webserver and use streamURL. Then the file plays with the wrong audio track, can't select an other one.
Is it possible to use a stream without transcode from google. So that the file will be played with highest bitrate and sound?

In this case the file is public and the .strm is on my webserver so i can add this folder as a source in xbmc

Select MemoryCache instead of Stream in the settings and it wont transcode.

Thank you for your reply. Tried the memorycache, this works if i use the addon. But not from the videolibrary (webserver) where the .strm files are stored.

And how would the .strm look like? It's now like this.

plugin://plugin.video.gdrive?title=movietitle(year)&mode=streamURL&url=https://drive.google.com/file/d/xxxxxxxxxx/edit?usp=sharing

Also i'm getting the name videoplayback instead of the title, but that is a known issue right?

Sorry for the confusion in the readme. It can become confusing constructing your own STRM following the different options. I hope this becomes more clear once I add a "Generate STRM" function.

If you have a URL for a media file that you want to playback that is not in your Google Drive account (something you found online, something not linked or saved to your account persay), then the proper call is:
plugin://plugin.video.gdrive?mode=streamURL&url=https://docs.google.com/file/d/0B1k7UEAA7ikFcXZmWDhJTnFXZk0/preview

(that should work for you, it is a shared DTS file)

The "preview" vs "edit" doesn't matter. From testing, if I have a link with /edit instead of /preview, it should work the same. The ?usp=sharing shouldn't matter either (should work with it), but it is not something I have personally tested. A key though is to ensure it is docs. and not drive. If you are copying the links from somewhere and they have a drive.google.com, you can sub in docs.google.com. Perhaps I will consider doing this in the code myself, after I test it. If you pass in drive.google.com, it will look for an authentication token associated with drive.google.com, and the code is authenticating with docs.google.com instead (for accessing search API calls, etc).

If you have a file in your Google Drive account (whether it is shared or not), you can use the following:
plugin://plugin.video.gdrive?mode=streamVideo&title=title_of_video_in_google_drive

Where title_of_video_in_google_drive is the title of the media file in Google Drive.
Reply


Messages In This Thread
RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - by dmdsoftware - 2014-07-23, 18:16
u - by Kraevin - 2015-05-13, 17:37
Logout Mark Read Team Forum Stats Members Help
gdrive - Google Drive Video/Music Add-on12