Release gdrive - Google Drive Video/Music Add-on
(2015-09-29, 18:07)user321 Wrote:
(2015-09-29, 14:31)dmdsoftware Wrote: What is odd is that srt files appear as text files in my Google Drives. I'll add it to the exclusion list.

Definitely something weird going on. Dragged and dropped an SRT into Google Drive using Chrome just this second, and it shows as "binary file". The copy that was uploaded previously (which is identical) shows as "Unknown file".

The SRT I looked at earlier (also uploaded via Syncdocs) shows as an audio file. If I manually delete it, and drag/drop in Chrome it shows as an audio file again. All files, appear on the surface, plain text SRT files. Bizarre.

It does appear that the STRM export, only exports srt.strm files when the .SRT is being treated as an audio file. I think. It's definitely the case that a .srt.strm file is not being created for *every* srt that's in Google Drive. An exclusion would solve this of course, but it's very odd.

Any debugging I can do to help you, please let me know.

Yes, that is because the plugin doesn't decipher video, audio, image vs other by file extensions since extensions are a relative thing. You can have videos that don't even have extensions. When you upload content through the various methods (apps, sync tools, api, etc), you or the app can communicate the type of file being uploaded, and Google will override what it thinks the file is based on what you tell it. I personally upload all content using application ocstream, which tells Google to scan the file to classify it. It always has always classified by srt files as text files. That makes it possible to search srt files, which may or may not be handy at times Smile Perhaps if the srt file is double-byte encoded, may it not be classified correctly. I don't know of any way to reclassify a file once it is uploaded.

I don't mind adding exceptions to force particular files to be treated different (like .srt files always be treated as non-media)
Reply


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