We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 899d9ee commit ae1664bCopy full SHA for ae1664b
src/lib/api/cloud.ts
@@ -133,6 +133,12 @@ export class CloudClient {
133
if (!Array.isArray(accept)) {
134
accept = [accept];
135
}
136
+ // FS-11013.
137
+ // google-drive storing uncommon file-types in incorrect format, eg .srt (subrip) file is stored in bin (octet-stream) format
138
+ // so if user wants to accept subrip files, we should search google drive for octet-steam file.
139
+ if (accept.includes('application/x-subrip') && !accept.includes('application/octet-stream')) {
140
+ accept.push('application/octet-stream');
141
+ }
142
// filtering mimetypes in clouds
143
payload.accept = accept;
144
0 commit comments