-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
Hello @dsoprea
I have been uploading a couple of MKV video files and they are being uploaded with mimetype=application/octet-stream Which is incorrect.
The uploaded data is still there and valid, the only issue is I am unable to preview the file online ( drive.google.com ) because google drive has the wrong mime type.
If mime_type is set to None, then google drive will automatically determine the mime type from the uploaded content.
Source: https://developers.google.com/drive/v2/reference/files/insert#request-body
I have tried commenting line 513 in drive.py and it seems to have worked.
https://github.com/dsoprea/GDriveFS/blob/master/gdrivefs/gdtool/drive.py#L513
Metadata
Metadata
Assignees
Labels
No labels