Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added various file formats to constants.py #231

Merged
merged 3 commits into from
Jun 4, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tagstudio/src/core/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
".j2k",
".jpg2",
]
RAW_IMAGE_TYPES: list[str] = [".raw", ".dng", ".rw2", ".nef", ".arw", ".crw", ".cr3"]
RAW_IMAGE_TYPES: list[str] = [".raw", ".dng", ".rw2", ".nef", ".arw", ".crw", ".cr3", ".cr2"]
PossiblePanda marked this conversation as resolved.
Show resolved Hide resolved
VIDEO_TYPES: list[str] = [
".mp4",
".webm",
Expand Down Expand Up @@ -86,8 +86,8 @@
]
SPREADSHEET_TYPES: list[str] = [".csv", ".xls", ".xlsx", ".numbers", ".ods"]
PRESENTATION_TYPES: list[str] = [".ppt", ".pptx", ".key", ".odp"]
ARCHIVE_TYPES: list[str] = [".zip", ".rar", ".tar", ".tar", ".gz", ".tgz", ".7z"]
PROGRAM_TYPES: list[str] = [".exe", ".app"]
ARCHIVE_TYPES: list[str] = [".zip", ".rar", ".tar", ".tar", ".gz", ".tgz", ".7z", ".s7z", ".dmg"]
PROGRAM_TYPES: list[str] = [".exe", ".app", ".jar", ".msi"]
PossiblePanda marked this conversation as resolved.
Show resolved Hide resolved
SHORTCUT_TYPES: list[str] = [".lnk", ".desktop", ".url"]

ALL_FILE_TYPES: list[str] = (
Expand Down
Loading