2020-02-01, 18:46
Use your own client ID and client secret.
(2020-01-31, 23:57)aerik Wrote: Sign in with Google temporarily disabled for this app.
Any solution?
(2020-08-16, 11:21)DarrenHill Wrote: Do not post logs in the forum. Use https://paste.kodi.tv/ instead.
And upload a full debug log (wiki), not a snippet.
python:plugin://plugin.video.gdrive/?mode=video&encfs=True&title=Ted (2012)&video_codec=h264&video_width=1920&video_height=1040&video_duration=6282.326000&aspect_ratio=1.84615384615&audio_codec=dts&audio_channels=6&filename=5DfVdkGdGvpGdWgJm
python:import sys
import commands
import subprocess
import shlex
import json
videoName = sys.argv[1]
videoPath = sys.argv[2]
encryptedFilePath = sys.argv[3]
strmPath = sys.argv[4]
cmd = "ffprobe -v quiet -print_format json -show_format -show_streams"
args = shlex.split(cmd)
args.append(videoPath)
ffprobeOutput = subprocess.check_output(args).decode('utf-8')
ffprobeOutput = json.loads(ffprobeOutput)
if "codec_name" in ffprobeOutput['streams'][0]:
videoCodec = str(ffprobeOutput['streams'][0]['codec_name'])
else:
videoCodec = "unknown"
videoWidth = str(ffprobeOutput['streams'][0]['width'])
videoHeight = str(ffprobeOutput['streams'][0]['height'])
videoDuration = str(ffprobeOutput['format']['duration'])
aspectRatio = str(float(videoWidth) / float(videoHeight) )
audioCodec = str(ffprobeOutput['streams'][1]['codec_name'])
audioChannels = str(ffprobeOutput['streams'][1]['channels'])
fileID = commands.getstatusoutput("rclone lsf --format i '%s'" % encryptedFilePath)[1]
with open(strmPath + "/" + videoName + ".strm", "w+") as strm:
strm.write("plugin://plugin.video.gdrive/?mode=video&encfs=True&title=%s&video_codec=%s&video_width=%s&video_height=%s&video_duration=%s&aspect_ratio=%s&audio_codec=%s&audio_channels=%s&filename=%s" % ( videoName, videoCodec, videoWidth, videoHeight, videoDuration, aspectRatio, audioCodec, audioChannels, fileID) )