Release gdrive - Google Drive Video/Music Add-on
(2014-11-27, 21:50)hans01 Wrote:
(2014-11-27, 21:40)dmdsoftware Wrote:
(2014-11-27, 19:31)hans01 Wrote: Actually, this sounds like an interesting approach. Did you find anything in the player classes that would allow an on-the-fly decryption? Where exactly are you looking, maybe I can also take a look?

I couldn't find any class methods that you could tap into from a plugin. Any changes would have to be made to the XBMC source.

A cleaner approach might be to have a plugin (or a piece of code) act as a proxy server that decrypts the stream on-the-fly.
Yeah, probably. How would one pass the decrypted stream from that plugin to xbmc? Are there other ways than using a cache file, like the way your plugin is using right now?

EDIT: you mean something along the lines of this? http://forum.kodi.tv/showthread.php?tid=95369

It wouldn't be like the way I'm doing it now with disk cache mode, where I'm downloading the file outside of XBMC (in a urllib2 session), and then pointing XBMC to it like a local file. Instead I'd need to supply XBMC a HTTP link that links back to a local proxy. The proxy would stream the encrypted data from Google Drive and decrypt it in memory, chunk by chunk. It would never need to store anything, even temporarily.

Ya, it would be as simple as that. Something light that can run within XBMC would be fantastic, yet portable to be used for other situations.

EDIT:

I see others have already extended that XBMCLocalProxy to handle secure streaming Akamai -> http://forum.kodi.tv/showthread.php?tid=137245
Reply


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