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.
I am thrilled to test this features.
Awesome announcement dmd! Fingers crossed you manage to implement a solution for resume playback on encrypted videos and a fix for the watched state (completion %) on encrypted videos.
Hello,
I have follow the tutorial from other site then it take me here.
I got some error while let the script encrypt to work (script from https://github.com/SteveMalso/Encrypt-and-Upload-GDrive)
When I do the python strm.py  1 2 3 4 5 6 7 I got
Quote: python strm.py 1 2 3 4 5 6 7
Traceback (most recent call last):
  File "strm.py", line 14, in <module>
    strmDestination = str(sys.argv[8])
How can I fix that ?
also installed pycrypto with command pip install pycrypto
So this script will upload everything has been completed download to google drive and encrypt it at google drive?

//edit:
I am got it work and enter verification code but got another error
Quote:Authentication successful.
Traceback (most recent call last):
  File "strm.py", line 21, in <module>
    pb = Pushbullet("Your API Key")
  File "/home/akuser/.local/lib/python2.7/site-packages/pushbullet/pushbullet.py", line 43, in __init__
    self.refresh()
  File "/home/akuser/.local/lib/python2.7/site-packages/pushbullet/pushbullet.py", line 381, in refresh
    self._load_devices()
  File "/home/akuser/.local/lib/python2.7/site-packages/pushbullet/pushbullet.py", line 78, in _load_devices
    resp_dict = self._get_data(self.DEVICES_URL)
  File "/home/akuser/.local/lib/python2.7/site-packages/pushbullet/pushbullet.py", line 67, in _get_data
    raise InvalidKeyError()
pushbullet.errors.InvalidKeyError
(2017-11-01, 14:20)dmdsoftware Wrote: [ -> ]
(2017-10-29, 16:32)klesk Wrote: [ -> ]
(2017-09-23, 22:58)klesk Wrote: [ -> ]Yes, you hit the mark.
As soon as i set the resume point and playback count to "local only" playback starts working.
If i set it back to "Google Drive Spreadsheet" it stops.
That's what i meant when i wrote about Spreadsheet Issue with Teamdrives. 

Thx, I will look into that issue. 
 Hi, i think i found the reason for the failure and it is some kind of my bad. I put the CLOUD_DB xml spreadsheet in the root of the teamdrive and set the watch and resume option to google drive spreadsheet. I got the folder structure like "[cloud: library]" , therefore i thought it would be the right place for die CLOUD_DB for Teamdrives. But as stated before it results in an error.
A couple of days ago i got the idea, and sorry for my misinterpretation,  to put it into the root of my normal google drive account. Now i can play video files with spreadsheet enabled without and error.
Again sorry for the trouble.
(2017-11-17, 14:20)klesk Wrote: [ -> ]
(2017-11-01, 14:20)dmdsoftware Wrote: [ -> ]
(2017-10-29, 16:32)klesk Wrote: [ -> ]That's what i meant when i wrote about Spreadsheet Issue with Teamdrives. 

Thx, I will look into that issue.  
 Hi, i think i found the reason for the failure and it is some kind of my bad. I put the CLOUD_DB xml spreadsheet in the root of the teamdrive and set the watch and resume option to google drive spreadsheet. I got the folder structure like "[cloud: library]" , therefore i thought it would be the right place for die CLOUD_DB for Teamdrives. But as stated before it results in an error.
A couple of days ago i got the idea, and sorry for my misinterpretation,  to put it into the root of my normal google drive account. Now i can play video files with spreadsheet enabled without and error.
Again sorry for the trouble. 
Thanks for the update.  The intent will be that the document could be in a team drive or my drive.  Now I further understand the issue and I can fix it so that the spreadsheet will work with either.
Teaser video for the Google Drive KODI plugin for HTML5 browsers.

Looks good so far, i am really looking forward to test it on my own.
There are many possibilities now.
(2017-11-17, 21:08)klesk Wrote: [ -> ]Looks good so far, i am really looking forward to test it on my own.
There are many possibilities now.
 I'll be pushing out binary files soon for Mac and Windows, but if you have python installed on your linux or mac, you can give it a spin:
https://github.com/ddurdle/Python-Google...ree/master

Works great on VPS and Google Compute Engines.
(2017-11-18, 02:41)dmdsoftware Wrote: [ -> ]
(2017-11-17, 21:08)klesk Wrote: [ -> ]Looks good so far, i am really looking forward to test it on my own.
There are many possibilities now.
 I'll be pushing out binary files soon for Mac and Windows, but if you have python installed on your linux or mac, you can give it a spin:
https://github.com/ddurdle/Python-Google...ree/master

Works great on VPS and Google Compute Engines.   
Thank you, i cloned it to my vps and my localhost, both linux.
I was able to import my settings.xml and start the application, browse the content of my gdrive and also teamdrive.
But i wasn't able to playback a file, it think something is missing. I tested with Firefox 56, Pale Moon 27.6.1 and Google Chrome on Android.

Here the settings.xml modded (removed credentials)

Code:
python dbm_import.py ./gdrive.db settings.xml
saving the following key,value pairs

account_default,1

accounts,1

always_cache,false

avoid_codec,0

avoid_format,0

cache_continue,false

cache_percent,20

cache_single,false

cache_srt,false

cache_thumbnails,false

cc,true

chunk_size,163840

context_emusic,0

context_ephoto,0

context_evideo,0

context_music,0

context_photo,0

context_video,0

crashreport_enable,false

crashreport_os,0

crashreport_version,0

encfs_cache_percent,10

encfs_cache_single,false

encfs_chunk_size,163840

encfs_continue,false

encfs_download_type,1

encfs_exp,false

encfs_inode,0

encfs_stream,false

local_db,false

movie_db_watch,true

never_stream,true

parse_music,true

parse_tv,true

photo_resolution,1

preferred_format,5

preferred_quality,0

prompt_quality,false

resumeprompt,true

srt,true

stream_port,8011

streamer,false

strm,true

strm_path,/storage/STRM/

trace,false

tv_db_watch,true

user_agent,Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0

video_skip,70

Unfortunately there is no error

Code:
python default.py 
LOAD LANGUAGES



Google Drive Media Server ready....

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive

IN


[enroll account]

Acc1

Remove account from plugin
Acc2

Remove account from plugin
98.76.54.321 - - [18/Nov/2017 15:47:59] "GET / HTTP/1.1" 200 -
OUT <a href="default.py?mode=enroll&content_type=">[enroll account]</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive1">Acc1</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive2">Acc2</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/
Connection: keep-alive

show all
Videos
[show all Videos]

show all
Shared Files & Folders
[show all Shared Files & Folders]

show all
Starred Files & Folders
[show all Starred Files & Folders]

setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

SEARCH
[SEARCH]

<Testing - manual run of change tracking build STRM>

Filme

Save STRM
Make offline
Playback Entire Folder
[treat as encfs]
[treat as crypto]
Scan Media Info
setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

98.76.54.321 - - [18/Nov/2017 15:48:03] "GET /default.py?mode=main&content_type=&instance=gdrive2 HTTP/1.1" 200 -
OUT <a href="?mode=index&folder=VIDEO&instance=gdrive2&content_type=video">[show all Videos]</a><br />
<a href="?mode=index&folder=SHARED&instance=gdrive2&content_type=video">[show all Shared Files & Folders]</a><br />
<a href="?mode=index&folder=STARRED-FILESFOLDERS&instance=gdrive2&content_type=video">[show all Starred Files & Folders]</a><br />
<a href="?mode=search&instance=gdrive2&content_type=video">[SEARCH]</a><br />
<a href="?mode=buildstrm2&instance=gdrive2&content_type=video">(Testing - manual run of change tracking build STRM)</a><br />
<a href="?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video">Filme</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...ce=gdrive2
Connection: keep-alive

Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE

Save STRM
Make offline
Playback Entire Folder
[treat as encfs]
[treat as crypto]
Scan Media Info
98.76.54.321 - - [18/Nov/2017 15:48:04] "GET /default.py?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video">Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs]
[treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs]
[treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs]
[treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:08] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs]
[treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs]
[treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs]
[treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:09] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

QuZiV_cZaFI
coincidence-annabelle2-1080p.mkv

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 302 -
url = https://www.googleapis.com/drive/v2/file...&alt=media

cookie = QuZiV_cZaFI

auth = Bearer+ya29.Gl0IBZ_RgLy6UvMcZD19OzDZrwB-FHF1ChJxCeLY1oD1BmzAN3qL1rZPGroUD4A11yJHG2H_CZr9cluWymcQrrFP8gdnx8zFedT7sxGDdVmNY3FwbVwOkbFiIX9sMp0

ITEM = https://www.googleapis.com/drive/v2/file...bFiIX9sMp0

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 200 -
OUT 

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

^CTraceback (most recent call last):
  File "default.py", line 44, in <module>
    server.handle_request()
  File "/usr/lib/python2.7/SocketServer.py", line 271, in handle_request
    fd_sets = _eintr_retry(select.select, [self], , , timeout)
  File "/usr/lib/python2.7/SocketServer.py", line 150, in _eintr_retry
    return func(*args)
KeyboardInterrupt
(2017-11-18, 17:02)klesk Wrote: [ -> ]
(2017-11-18, 02:41)dmdsoftware Wrote: [ -> ]
(2017-11-17, 21:08)klesk Wrote: [ -> ]Looks good so far, i am really looking forward to test it on my own.
There are many possibilities now.
 I'll be pushing out binary files soon for Mac and Windows, but if you have python installed on your linux or mac, you can give it a spin:
https://github.com/ddurdle/Python-Google...ree/master

Works great on VPS and Google Compute Engines.    
Thank you, i cloned it to my vps and my localhost, both linux.
I was able to import my settings.xml and start the application, browse the content of my gdrive and also teamdrive.
But i wasn't able to playback a file, it think something is missing. I tested with Firefox 56, Pale Moon 27.6.1 and Google Chrome on Android.

Here the settings.xml modded (removed credentials)

Code:
python dbm_import.py ./gdrive.db settings.xml
saving the following key,value pairs

account_default,1

accounts,1

always_cache,false

avoid_codec,0

avoid_format,0

cache_continue,false

cache_percent,20

cache_single,false

cache_srt,false

cache_thumbnails,false

cc,true

chunk_size,163840

context_emusic,0

context_ephoto,0

context_evideo,0

context_music,0

context_photo,0

context_video,0

crashreport_enable,false

crashreport_os,0

crashreport_version,0

encfs_cache_percent,10

encfs_cache_single,false

encfs_chunk_size,163840

encfs_continue,false

encfs_download_type,1

encfs_exp,false

encfs_inode,0

encfs_stream,false

local_db,false

movie_db_watch,true

never_stream,true

parse_music,true

parse_tv,true

photo_resolution,1

preferred_format,5

preferred_quality,0

prompt_quality,false

resumeprompt,true

srt,true

stream_port,8011

streamer,false

strm,true

strm_path,/storage/STRM/

trace,false

tv_db_watch,true

user_agent,Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0

video_skip,70

Unfortunately there is no error

Code:
python default.py 
LOAD LANGUAGES



Google Drive Media Server ready....

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive

IN


[enroll account]

Acc1

Remove account from plugin
Acc2

Remove account from plugin
98.76.54.321 - - [18/Nov/2017 15:47:59] "GET / HTTP/1.1" 200 -
OUT <a href="default.py?mode=enroll&content_type=">[enroll account]</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive1">Acc1</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive2">Acc2</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/
Connection: keep-alive

show all
Videos
[show all Videos]

show all
Shared Files & Folders
[show all Shared Files & Folders]

show all
Starred Files & Folders
[show all Starred Files & Folders]

setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

SEARCH
[SEARCH]

<Testing - manual run of change tracking build STRM>

Filme

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

98.76.54.321 - - [18/Nov/2017 15:48:03] "GET /default.py?mode=main&content_type=&instance=gdrive2 HTTP/1.1" 200 -
OUT <a href="?mode=index&folder=VIDEO&instance=gdrive2&content_type=video">[show all Videos]</a><br />
<a href="?mode=index&folder=SHARED&instance=gdrive2&content_type=video">[show all Shared Files & Folders]</a><br />
<a href="?mode=index&folder=STARRED-FILESFOLDERS&instance=gdrive2&content_type=video">[show all Starred Files & Folders]</a><br />
<a href="?mode=search&instance=gdrive2&content_type=video">[SEARCH]</a><br />
<a href="?mode=buildstrm2&instance=gdrive2&content_type=video">(Testing - manual run of change tracking build STRM)</a><br />
<a href="?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video">Filme</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...ce=gdrive2
Connection: keep-alive

Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
98.76.54.321 - - [18/Nov/2017 15:48:04] "GET /default.py?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video">Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:08] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:09] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

QuZiV_cZaFI
coincidence-annabelle2-1080p.mkv

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 302 -
url = https://www.googleapis.com/drive/v2/file...&alt=media

cookie = QuZiV_cZaFI

auth = Bearer+ya29.Gl0IBZ_RgLy6UvMcZD19OzDZrwB-FHF1ChJxCeLY1oD1BmzAN3qL1rZPGroUD4A11yJHG2H_CZr9cluWymcQrrFP8gdnx8zFedT7sxGDdVmNY3FwbVwOkbFiIX9sMp0

ITEM = https://www.googleapis.com/drive/v2/file...bFiIX9sMp0

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 200 -
OUT 

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

^CTraceback (most recent call last):
  File "default.py", line 44, in <module>
    server.handle_request()
  File "/usr/lib/python2.7/SocketServer.py", line 271, in handle_request
    fd_sets = _eintr_retry(select.select, [self], , , timeout)
  File "/usr/lib/python2.7/SocketServer.py", line 150, in _eintr_retry
    return func(*args)
KeyboardInterrupt
 
I will test with those config parameters.  Probably something related to them -- should be fixable
(2017-11-18, 17:02)klesk Wrote: [ -> ]
(2017-11-18, 02:41)dmdsoftware Wrote: [ -> ]
(2017-11-17, 21:08)klesk Wrote: [ -> ]Looks good so far, i am really looking forward to test it on my own.
There are many possibilities now.
 I'll be pushing out binary files soon for Mac and Windows, but if you have python installed on your linux or mac, you can give it a spin:
https://github.com/ddurdle/Python-Google...ree/master

Works great on VPS and Google Compute Engines.    
Thank you, i cloned it to my vps and my localhost, both linux.
I was able to import my settings.xml and start the application, browse the content of my gdrive and also teamdrive.
But i wasn't able to playback a file, it think something is missing. I tested with Firefox 56, Pale Moon 27.6.1 and Google Chrome on Android.

Here the settings.xml modded (removed credentials)

Code:
python dbm_import.py ./gdrive.db settings.xml
saving the following key,value pairs

account_default,1

accounts,1

always_cache,false

avoid_codec,0

avoid_format,0

cache_continue,false

cache_percent,20

cache_single,false

cache_srt,false

cache_thumbnails,false

cc,true

chunk_size,163840

context_emusic,0

context_ephoto,0

context_evideo,0

context_music,0

context_photo,0

context_video,0

crashreport_enable,false

crashreport_os,0

crashreport_version,0

encfs_cache_percent,10

encfs_cache_single,false

encfs_chunk_size,163840

encfs_continue,false

encfs_download_type,1

encfs_exp,false

encfs_inode,0

encfs_stream,false

local_db,false

movie_db_watch,true

never_stream,true

parse_music,true

parse_tv,true

photo_resolution,1

preferred_format,5

preferred_quality,0

prompt_quality,false

resumeprompt,true

srt,true

stream_port,8011

streamer,false

strm,true

strm_path,/storage/STRM/

trace,false

tv_db_watch,true

user_agent,Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0

video_skip,70

Unfortunately there is no error

Code:
python default.py 
LOAD LANGUAGES



Google Drive Media Server ready....

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive

IN


[enroll account]

Acc1

Remove account from plugin
Acc2

Remove account from plugin
98.76.54.321 - - [18/Nov/2017 15:47:59] "GET / HTTP/1.1" 200 -
OUT <a href="default.py?mode=enroll&content_type=">[enroll account]</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive1">Acc1</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive2">Acc2</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/
Connection: keep-alive

show all
Videos
[show all Videos]

show all
Shared Files & Folders
[show all Shared Files & Folders]

show all
Starred Files & Folders
[show all Starred Files & Folders]

setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

SEARCH
[SEARCH]

<Testing - manual run of change tracking build STRM>

Filme

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

98.76.54.321 - - [18/Nov/2017 15:48:03] "GET /default.py?mode=main&content_type=&instance=gdrive2 HTTP/1.1" 200 -
OUT <a href="?mode=index&folder=VIDEO&instance=gdrive2&content_type=video">[show all Videos]</a><br />
<a href="?mode=index&folder=SHARED&instance=gdrive2&content_type=video">[show all Shared Files & Folders]</a><br />
<a href="?mode=index&folder=STARRED-FILESFOLDERS&instance=gdrive2&content_type=video">[show all Starred Files & Folders]</a><br />
<a href="?mode=search&instance=gdrive2&content_type=video">[SEARCH]</a><br />
<a href="?mode=buildstrm2&instance=gdrive2&content_type=video">(Testing - manual run of change tracking build STRM)</a><br />
<a href="?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video">Filme</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...ce=gdrive2
Connection: keep-alive

Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
98.76.54.321 - - [18/Nov/2017 15:48:04] "GET /default.py?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video">Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:08] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:09] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

QuZiV_cZaFI
coincidence-annabelle2-1080p.mkv

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 302 -
url = https://www.googleapis.com/drive/v2/file...&alt=media

cookie = QuZiV_cZaFI

auth = Bearer+ya29.Gl0IBZ_RgLy6UvMcZD19OzDZrwB-FHF1ChJxCeLY1oD1BmzAN3qL1rZPGroUD4A11yJHG2H_CZr9cluWymcQrrFP8gdnx8zFedT7sxGDdVmNY3FwbVwOkbFiIX9sMp0

ITEM = https://www.googleapis.com/drive/v2/file...bFiIX9sMp0

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 200 -
OUT 

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

^CTraceback (most recent call last):
  File "default.py", line 44, in <module>
    server.handle_request()
  File "/usr/lib/python2.7/SocketServer.py", line 271, in handle_request
    fd_sets = _eintr_retry(select.select, [self], , , timeout)
  File "/usr/lib/python2.7/SocketServer.py", line 150, in _eintr_retry
    return func(*args)
KeyboardInterrupt
 
 Good news, I loaded your settings and my playback broke too with same error.  So don't change anything.  Let me investigate the culprit with the settings.
(2017-11-18, 18:53)dmdsoftware Wrote: [ -> ]
(2017-11-18, 17:02)klesk Wrote: [ -> ]
(2017-11-18, 02:41)dmdsoftware Wrote: [ -> ] I'll be pushing out binary files soon for Mac and Windows, but if you have python installed on your linux or mac, you can give it a spin:
https://github.com/ddurdle/Python-Google...ree/master

Works great on VPS and Google Compute Engines.    
Thank you, i cloned it to my vps and my localhost, both linux.
I was able to import my settings.xml and start the application, browse the content of my gdrive and also teamdrive.
But i wasn't able to playback a file, it think something is missing. I tested with Firefox 56, Pale Moon 27.6.1 and Google Chrome on Android.

Here the settings.xml modded (removed credentials)

Code:
python dbm_import.py ./gdrive.db settings.xml
saving the following key,value pairs

account_default,1

accounts,1

always_cache,false

avoid_codec,0

avoid_format,0

cache_continue,false

cache_percent,20

cache_single,false

cache_srt,false

cache_thumbnails,false

cc,true

chunk_size,163840

context_emusic,0

context_ephoto,0

context_evideo,0

context_music,0

context_photo,0

context_video,0

crashreport_enable,false

crashreport_os,0

crashreport_version,0

encfs_cache_percent,10

encfs_cache_single,false

encfs_chunk_size,163840

encfs_continue,false

encfs_download_type,1

encfs_exp,false

encfs_inode,0

encfs_stream,false

local_db,false

movie_db_watch,true

never_stream,true

parse_music,true

parse_tv,true

photo_resolution,1

preferred_format,5

preferred_quality,0

prompt_quality,false

resumeprompt,true

srt,true

stream_port,8011

streamer,false

strm,true

strm_path,/storage/STRM/

trace,false

tv_db_watch,true

user_agent,Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0

video_skip,70

Unfortunately there is no error

Code:
python default.py 
LOAD LANGUAGES



Google Drive Media Server ready....

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive

IN


[enroll account]

Acc1

Remove account from plugin
Acc2

Remove account from plugin
98.76.54.321 - - [18/Nov/2017 15:47:59] "GET / HTTP/1.1" 200 -
OUT <a href="default.py?mode=enroll&content_type=">[enroll account]</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive1">Acc1</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive2">Acc2</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/
Connection: keep-alive

show all
Videos
[show all Videos]

show all
Shared Files & Folders
[show all Shared Files & Folders]

show all
Starred Files & Folders
[show all Starred Files & Folders]

setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

SEARCH
[SEARCH]

<Testing - manual run of change tracking build STRM>

Filme

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

98.76.54.321 - - [18/Nov/2017 15:48:03] "GET /default.py?mode=main&content_type=&instance=gdrive2 HTTP/1.1" 200 -
OUT <a href="?mode=index&folder=VIDEO&instance=gdrive2&content_type=video">[show all Videos]</a><br />
<a href="?mode=index&folder=SHARED&instance=gdrive2&content_type=video">[show all Shared Files & Folders]</a><br />
<a href="?mode=index&folder=STARRED-FILESFOLDERS&instance=gdrive2&content_type=video">[show all Starred Files & Folders]</a><br />
<a href="?mode=search&instance=gdrive2&content_type=video">[SEARCH]</a><br />
<a href="?mode=buildstrm2&instance=gdrive2&content_type=video">(Testing - manual run of change tracking build STRM)</a><br />
<a href="?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video">Filme</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...ce=gdrive2
Connection: keep-alive

Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
98.76.54.321 - - [18/Nov/2017 15:48:04] "GET /default.py?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video">Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:08] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:09] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

QuZiV_cZaFI
coincidence-annabelle2-1080p.mkv

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 302 -
url = https://www.googleapis.com/drive/v2/file...&alt=media

cookie = QuZiV_cZaFI

auth = Bearer+ya29.Gl0IBZ_RgLy6UvMcZD19OzDZrwB-FHF1ChJxCeLY1oD1BmzAN3qL1rZPGroUD4A11yJHG2H_CZr9cluWymcQrrFP8gdnx8zFedT7sxGDdVmNY3FwbVwOkbFiIX9sMp0

ITEM = https://www.googleapis.com/drive/v2/file...bFiIX9sMp0

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 200 -
OUT 

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

^CTraceback (most recent call last):
  File "default.py", line 44, in <module>
    server.handle_request()
  File "/usr/lib/python2.7/SocketServer.py", line 271, in handle_request
    fd_sets = _eintr_retry(select.select, [self], , , timeout)
  File "/usr/lib/python2.7/SocketServer.py", line 150, in _eintr_retry
    return func(*args)
KeyboardInterrupt
 
 Good news, I loaded your settings and my playback broke too with same error.  So don't change anything.  Let me investigate the culprit with the settings.       
Ok, sounds good, i am on standby. Maybe it has something to do, that i disabled transcoding  and only use original quality ?

UPDATE

set never_stream to false and it works
 
(2017-11-18, 19:45)klesk Wrote: [ -> ]
(2017-11-18, 18:53)dmdsoftware Wrote: [ -> ]
(2017-11-18, 17:02)klesk Wrote: [ -> ]Thank you, i cloned it to my vps and my localhost, both linux.
I was able to import my settings.xml and start the application, browse the content of my gdrive and also teamdrive.
But i wasn't able to playback a file, it think something is missing. I tested with Firefox 56, Pale Moon 27.6.1 and Google Chrome on Android.

Here the settings.xml modded (removed credentials)

Code:
python dbm_import.py ./gdrive.db settings.xml
saving the following key,value pairs

account_default,1

accounts,1

always_cache,false

avoid_codec,0

avoid_format,0

cache_continue,false

cache_percent,20

cache_single,false

cache_srt,false

cache_thumbnails,false

cc,true

chunk_size,163840

context_emusic,0

context_ephoto,0

context_evideo,0

context_music,0

context_photo,0

context_video,0

crashreport_enable,false

crashreport_os,0

crashreport_version,0

encfs_cache_percent,10

encfs_cache_single,false

encfs_chunk_size,163840

encfs_continue,false

encfs_download_type,1

encfs_exp,false

encfs_inode,0

encfs_stream,false

local_db,false

movie_db_watch,true

never_stream,true

parse_music,true

parse_tv,true

photo_resolution,1

preferred_format,5

preferred_quality,0

prompt_quality,false

resumeprompt,true

srt,true

stream_port,8011

streamer,false

strm,true

strm_path,/storage/STRM/

trace,false

tv_db_watch,true

user_agent,Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0

video_skip,70

Unfortunately there is no error

Code:
python default.py 
LOAD LANGUAGES



Google Drive Media Server ready....

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive

IN


[enroll account]

Acc1

Remove account from plugin
Acc2

Remove account from plugin
98.76.54.321 - - [18/Nov/2017 15:47:59] "GET / HTTP/1.1" 200 -
OUT <a href="default.py?mode=enroll&content_type=">[enroll account]</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive1">Acc1</a><br />
<a href="default.py?mode=main&content_type=&instance=gdrive2">Acc2</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/
Connection: keep-alive

show all
Videos
[show all Videos]

show all
Shared Files & Folders
[show all Shared Files & Folders]

show all
Starred Files & Folders
[show all Starred Files & Folders]

setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

SEARCH
[SEARCH]

<Testing - manual run of change tracking build STRM>

Filme

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
setting key gdrive2_auth_refresh_token

setting key gdrive2_auth_access_token

98.76.54.321 - - [18/Nov/2017 15:48:03] "GET /default.py?mode=main&content_type=&instance=gdrive2 HTTP/1.1" 200 -
OUT <a href="?mode=index&folder=VIDEO&instance=gdrive2&content_type=video">[show all Videos]</a><br />
<a href="?mode=index&folder=SHARED&instance=gdrive2&content_type=video">[show all Shared Files & Folders]</a><br />
<a href="?mode=index&folder=STARRED-FILESFOLDERS&instance=gdrive2&content_type=video">[show all Starred Files & Folders]</a><br />
<a href="?mode=search&instance=gdrive2&content_type=video">[SEARCH]</a><br />
<a href="?mode=buildstrm2&instance=gdrive2&content_type=video">(Testing - manual run of change tracking build STRM)</a><br />
<a href="?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video">Filme</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...ce=gdrive2
Connection: keep-alive

Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
98.76.54.321 - - [18/Nov/2017 15:48:04] "GET /default.py?mode=index&instance=gdrive2&folder=1lj_jenotu_vF2z4yVezyh6xrtHIQUSNH&epath=%2FFilme%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video">Annabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://51.15.193.27:9988/default.py?mode...type=video
Connection: keep-alive

Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:08] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


Proof

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Sample

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
Subs

Save STRM
Make offline
Playback Entire Folder
[treat as encfs][treat as crypto]
Scan Media Info
coincidence-annabelle2-1080p.mkv

Save STRM
Play ...
Start at
Make offline
Play + make offline
98.76.54.321 - - [18/Nov/2017 15:48:09] "GET /default.py?mode=index&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F&content_type=video HTTP/1.1" 200 -
OUT <a href="?mode=index&instance=gdrive2&folder=1-RFQujbVERWPf34PdUivmIxHKy5Vq7Rs&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FProof%2F&content_type=video">Proof</a><br />
<a href="?mode=index&instance=gdrive2&folder=1FjWXU85a40doRXAfb9mSLP3qu_a4ohCP&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSample%2F&content_type=video">Sample</a><br />
<a href="?mode=index&instance=gdrive2&folder=1beb3oEm71QvuGjBLob0aM7F62uPq91q4&epath=%2FFilme%2F%2FAnnabelle.2.2017.German.DL.1080p.BluRay.x264-COiNCiDENCE%2F%2FSubs%2F&content_type=video">Subs</a><br />
<a href="?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video">coincidence-annabelle2-1080p.mkv</a><br />


CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

QuZiV_cZaFI
coincidence-annabelle2-1080p.mkv

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 302 -
url = https://www.googleapis.com/drive/v2/file...&alt=media

cookie = QuZiV_cZaFI

auth = Bearer+ya29.Gl0IBZ_RgLy6UvMcZD19OzDZrwB-FHF1ChJxCeLY1oD1BmzAN3qL1rZPGroUD4A11yJHG2H_CZr9cluWymcQrrFP8gdnx8zFedT7sxGDdVmNY3FwbVwOkbFiIX9sMp0

ITEM = https://www.googleapis.com/drive/v2/file...bFiIX9sMp0

98.76.54.321 - - [18/Nov/2017 15:48:10] "GET /default.py?mode=video&instance=gdrive2&folder=1fic01aJPwHK6Hizbzc0bVI5s7qtAYXPK&filename=13ny7N6Vwu7MtpsQm1gOvtuMP_t1qH7Jz&title=coincidence-annabelle2-1080p.mkv&content_type=video HTTP/1.1" 200 -
OUT 

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

CONSTANT =True

Host: 12.34.56.78:9988
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.9) Gecko/20100101 Goanna/3.4 Firefox/52.9 PaleMoon/27.6.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: de-DE,de;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://12.34.56.78:9988/default.py?mode=...type=video
Connection: keep-alive

PLAYBACK



STILL ERROR

^CTraceback (most recent call last):
  File "default.py", line 44, in <module>
    server.handle_request()
  File "/usr/lib/python2.7/SocketServer.py", line 271, in handle_request
    fd_sets = _eintr_retry(select.select, [self], , , timeout)
  File "/usr/lib/python2.7/SocketServer.py", line 150, in _eintr_retry
    return func(*args)
KeyboardInterrupt
 Good news, I loaded your settings and my playback broke too with same error.  So don't change anything.  Let me investigate the culprit with the settings.    
Ok, sounds good, i am on standby. Maybe it has something to do, that i disabled transcoding  and only use original quality ?

UPDATE

set never_stream to false and it works 
 I checked and the working settings.xml I was using indeed used never_stream=false.
Ok, i know this project is in an early stage and i don't want to pre-empt.
Here are just some first impressions and maybe some other things.

- dbm_display.py don't work, while i can access gdrive.db through dbm_setup.py
Code:
python dbm_display.py gdrive.db
usage: dbm_file.db

- OK, this is hard to explain and maybe a wanted behaviour. I will try my best to make it clear as possible.
    - Behaviour[A]
        - Client[A] connects and does nothing, Client[X] connects. Now both can start a different Stream.
    - Behaviour\[B\]
        - Client[A] connects and browse a folder but doesn't start a stream, Client[X] can't connect.

Code:
Select an account:
----------------------------------------
Exception happened during processing of request from ('123.45.67.89', 59534)
Traceback (most recent call last):
  File "/usr/lib/python2.7/SocketServer.py", line 596, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.7/SocketServer.py", line 652, in __init__
    self.handle()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
    self.handle_one_request()
  File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
    method()
  File "/home/klesk/Python-GoogleDrive-VideoStream/resources/libgui/webgui.py", line 153, in do_GET
    mediaEngine.run(self, DBM=self.server.dbm, addon=self.server.addon)
  File "/home/klesk/Python-GoogleDrive-VideoStream/resources/lib/default.py", line 341, in run
    instanceName = kodi_common.getInstanceName(addon, addon_parameters.PLUGIN_NAME, mode, instanceName, invokedUsername, numberOfAccounts, contextType)
  File "/home/klesk/Python-GoogleDrive-VideoStream/resources/lib/kodi_common.py", line 583, in getInstanceName
    ret = xbmcgui.Dialog().select(addon.getLocalizedString(30120), options)
  File "/home/klesk/Python-GoogleDrive-VideoStream/resources/libgui/xbmcgui.py", line 31, in select
    print heading + ":" + line1 + "\n" + line2 + "\n" + line3
TypeError: cannot concatenate 'str' and 'list' objects

   - Behaviour[C]
        - Client[A] connects and starts a stream, all other clients which try to connect get redirected to /play?count=x
          All Clients can watch the stream, even Client[A] can change the stream to another, while the other Clients can still watch the "old" stream. Also they are able to change the stream to the new stream when the change     the url to f.e /play?count=1. But all other Clients then [A] can't browse the folder structure. 

   - Behaviour[D]
        - Client[A] connects and start a stream and gets disconnected. If he reconnects he will be redirected to the previous started stream, but can't go back to the folder structure.


Like i wrote before that a just some first impressions.
Besides that, it works really, really good. It streams like a charm.
Really great work. I am looking forward to the coming features.
Thanks for testing.  I'll work on the issues you identified.

The never_stream = true is now fixed among a few other things:
 v0.1.1 (2017-11-19)- fix never_stream = true- add support for secure login for /, /list, /kill (to enable, run dbm_setup.py ./gdrive.db username username_to_create and run dbm_setup.py ./gdrive.db password password_to_use)- add "passthrough" mode (to enable, run dbm_setup.py ./gdrive.db passthrough true)- start work on settings- decode language codes into strings https://github.com/ddurdle/Python-Google...-0.1.1.zip