File tree 7 files changed +18
-1
lines changed
7 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -1021,6 +1021,15 @@ export class FileTypeParser {
1021
1021
} ;
1022
1022
}
1023
1023
1024
+ if ( this . checkString ( '.RMF' ) ) {
1025
+ return {
1026
+ ext : 'rm' ,
1027
+ mime : 'application/vnd.rn-realmedia' ,
1028
+ } ;
1029
+ }
1030
+
1031
+ // -- 5-byte signatures --
1032
+
1024
1033
if ( this . checkString ( 'DRACO' ) ) {
1025
1034
return {
1026
1035
ext : 'drc' ,
Original file line number Diff line number Diff line change 234
234
" dotm" ,
235
235
" potm" ,
236
236
" pptm" ,
237
- " jar"
237
+ " jar" ,
238
+ " rm"
238
239
],
239
240
"dependencies" : {
240
241
"@tokenizer/inflate" : " ^0.2.6" ,
Original file line number Diff line number Diff line change @@ -565,6 +565,7 @@ abortController.abort(); // Abort file-type reading from the Blob stream.
565
565
- [` qcp` ](https://en.wikipedia.org/wiki/QCP) - Tagged and chunked data
566
566
- [` raf` ](https://en.wikipedia.org/wiki/Raw_image_format) - Fujifilm RAW image file
567
567
- [` rar` ](https://en.wikipedia.org/wiki/RAR_(file_format)) - Archive file
568
+ - [` rm` ](https://en.wikipedia.org/wiki/RealMedia) - RealMedia
568
569
- [` rpm` ](https://fileinfo.com/extension/rpm) - Red Hat Package Manager file
569
570
- [` rtf` ](https://en.wikipedia.org/wiki/Rich_Text_Format) - Rich Text Format
570
571
- [` rw2` ](https://en.wikipedia.org/wiki/Raw_image_format) - Panasonic RAW image file
Original file line number Diff line number Diff line change @@ -171,6 +171,7 @@ export const extensions = [
171
171
'potm' ,
172
172
'pptm' ,
173
173
'jar' ,
174
+ 'rm' ,
174
175
] ;
175
176
176
177
export const mimeTypes = [
@@ -341,4 +342,5 @@ export const mimeTypes = [
341
342
'application/vnd.ms-powerpoint.template.macroEnabled.12' ,
342
343
'application/vnd.ms-powerpoint.presentation.macroEnabled.12' ,
343
344
'application/java-archive' ,
345
+ 'application/vnd.rn-realmedia' ,
344
346
] ;
Original file line number Diff line number Diff line change @@ -273,6 +273,10 @@ const names = {
273
273
lz4 : [
274
274
'fixture' ,
275
275
] ,
276
+ rm : [
277
+ 'fixture-realmedia-audio' ,
278
+ 'fixture-realmedia-video' ,
279
+ ] ,
276
280
} ;
277
281
278
282
// Define an entry here only if the file type has potential
You can’t perform that action at this time.
0 commit comments