Skip to content

Commit 7dd0f3d

Browse files
CyanVoxel050011-codeThesacraftSupKittyMeowFavroiteGamers
authored
feat: port thumbnail (#390) and related features to v9.5 (#522)
* feat: port v9.4 thumbnail + related feats to v9.5 Ports the following thumbnail and related PRs from the `Alpha-v9.4` branch to `main` (v9.5+): - (#273) Blender thumbnail support - (#307) Add font thumbnail preview support - (#331) refactor: move type constants to new media classes - (#390) feat(ui): expanded thumbnail and preview features - (#370) ui: "open in explorer" action follows os name - (#373) feat(ui): preview support for source engine files - (#274) Refactor video_player.py (Fix #270) - (#430) feat(ui): show file creation/modified dates + restyle path label - (#471) fix(ui): use default audio icon if ffmpeg is absent - (#472) fix(ui): use birthtime for creation time on mac & win Co-Authored-By: Ethnogeny <111099761+050011-code@users.noreply.github.com> Co-Authored-By: Theasacraft <91694323+Thesacraft@users.noreply.github.com> Co-Authored-By: SupKittyMeow <77246128+supkittymeow@users.noreply.github.com> Co-Authored-By: EJ Stinson <93455158+favroitegamers@users.noreply.github.com> Co-Authored-By: Sean Krueger <71362472+seakrueger@users.noreply.github.com> * remove vscode exceptions from `.gitignore` * delete .vscode directory * style: format for `ruff check` * fix(tests): update `test_update_widgets_not_selected` test * remove Send2Trash dependency * refactor: use dataclass for MediaCateogry * refactor: use enums for UI colors * docs: add file docstring for silent_Popen * refactor: replace logger with structlog * use early return inside `ResourceManager.get()` * add `is_ext_in_category()` method to `MediaCategory` Add method to check if an extension is a member of a given MediaCategory. * style: fix docstring style, missing type hints, rename `afm` * fix: use structlog vars in logging * refactor: move platform-dependent strings to PlatformStrings * refactor: move `parents[2]` path to variable * fix: undo logger regressions --------- Co-authored-by: Ethnogeny <111099761+050011-code@users.noreply.github.com> Co-authored-by: Theasacraft <91694323+Thesacraft@users.noreply.github.com> Co-authored-by: SupKittyMeow <77246128+supkittymeow@users.noreply.github.com> Co-authored-by: EJ Stinson <93455158+favroitegamers@users.noreply.github.com> Co-authored-by: Sean Krueger <71362472+seakrueger@users.noreply.github.com>
1 parent e075282 commit 7dd0f3d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3936
-485
lines changed

.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,11 @@ compile_commands.json
232232

233233
### VisualStudioCode ###
234234
.vscode/*
235-
!.vscode/settings.json
236-
!.vscode/tasks.json
237-
!.vscode/launch.json
238-
!.vscode/extensions.json
239-
!.vscode/*.code-snippets
235+
# !.vscode/settings.json
236+
# !.vscode/tasks.json
237+
# !.vscode/launch.json
238+
# !.vscode/extensions.json
239+
# !.vscode/*.code-snippets
240240

241241
# Local History for Visual Studio Code
242242
.history/

.vscode/launch.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ line-length = 100
44

55
[tool.ruff.lint.per-file-ignores]
66
"tagstudio/tests/**" = ["D", "E402"]
7+
"tagstudio/src/qt/helpers/vendored/**" = ["B", "E", "N", "UP", "SIM115"]
78

89
[tool.ruff.lint.pydocstyle]
910
convention = "google"

requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,8 @@ pillow-heif==0.16.0
1212
chardet==5.2.0
1313
structlog==24.4.0
1414
SQLAlchemy==2.0.34
15+
pydub==0.25.1
16+
mutagen==1.47.0
17+
numpy==1.26.4
18+
ffmpeg-python==0.2.0
19+
vtf2img==0.1.0
18.1 KB
Loading
10.3 KB
Loading
12.3 KB
Loading
10.9 KB
Loading
8.65 KB
Loading
8.98 KB
Loading

0 commit comments

Comments
 (0)