2017-11-18, 18:53
(2017-11-18, 17:02)klesk Wrote: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, 02:41)dmdsoftware Wrote:Thank you, i cloned it to my vps and my localhost, both linux.(2017-11-17, 21:08)klesk Wrote: Looks good so far, i am really looking forward to test it on my own.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:
There are many possibilities now.
https://github.com/ddurdle/Python-Google...ree/master
Works great on VPS and Google Compute Engines.
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