Skip to content

Commit df064ad

Browse files
committed
feat: add missing raw image, text, and audio types
1 parent 31d205a commit df064ad

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/tagstudio/core/media_types.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ class MediaCategories:
129129
".aifc",
130130
".aiff",
131131
".alac",
132+
".caf",
132133
".flac",
133134
".m4a",
134135
".m4p",
@@ -297,10 +298,13 @@ class MediaCategories:
297298
".crw",
298299
".dng",
299300
".nef",
301+
".nrw",
300302
".orf",
301303
".raf",
302304
".raw",
303305
".rw2",
306+
".srf",
307+
".srf2",
304308
}
305309
_IMAGE_VECTOR_SET: set[str] = {".eps", ".epsf", ".epsi", ".svg", ".svgz"}
306310
_IMAGE_RASTER_SET: set[str] = {
@@ -365,6 +369,7 @@ class MediaCategories:
365369
".md",
366370
".mkd",
367371
".rmd",
372+
".text",
368373
".txt",
369374
"contributing",
370375
"license",

0 commit comments

Comments
 (0)