Commit Graph

435 Commits

Author SHA1 Message Date
Travis Abendshien
ad12d64f1e (fix): catch ffmpeg errors in file tester 2024-07-25 11:54:44 -07:00
Travis Abendshien
c6a5202c91 fix(ui): hide previous thumbnail before resizing 2024-07-22 07:33:49 -07:00
Travis Abendshien
39324142f1 feat(ui): add dynamic file thumb icons 2024-07-21 08:40:19 -07:00
Travis Abendshien
196c1ba7f3 fix(ui): hide gif preview in multi-selections 2024-07-20 12:53:34 -07:00
Travis Abendshien
91ee2428ca feat(ui): use system accent color for thumb selections 2024-07-20 09:48:59 -07:00
Travis Abendshien
ad53f10ecc fix: missing audio files properly handled 2024-07-20 08:24:26 -07:00
Travis Abendshien
ef8cc6cc85 fix: mkv files with "[0][0][0][0]" codec load properly 2024-07-20 08:21:09 -07:00
Travis Abendshien
086fc1e522 feat(ui): add resizable thumbnail options 2024-07-19 23:43:50 -07:00
Travis Abendshien
3bfeb3c409 fix(ui): blender previews follow app theme 2024-07-19 21:04:49 -07:00
Travis Abendshien
ffdfd6ccdf fix(ui): large font previews follow app theme 2024-07-19 20:25:14 -07:00
Travis Abendshien
598aa4f102 feat(ui) center and color small font previews 2024-07-19 10:06:34 -07:00
Travis Abendshien
c0e56dc7c8 feat(ui): add UI color palette dict 2024-07-19 10:04:48 -07:00
Travis Abendshien
c582f3d370 ruff format 2024-07-19 08:02:30 -07:00
Travis Abendshien
05a486048c Match additional UI to color scheme 2024-07-19 07:58:52 -07:00
Travis Abendshien
d2b5e31792 Fix most theme UI legibility issues 2024-07-19 07:58:26 -07:00
Travis Abendshien
15297140c3 Fix ItemThumb label text color in light mode 2024-07-19 07:55:40 -07:00
Travis Abendshien
3e00a771db Tweak waveform color and size 2024-07-19 07:55:39 -07:00
Travis Abendshien
32257f662f Add final return statement to _audio_waveform() 2024-07-19 07:55:39 -07:00
Travis Abendshien
127fed7aa9 Add final return statement to _album_artwork() 2024-07-19 07:55:39 -07:00
Travis Abendshien
cee42545f7 Improve and style waveform previews 2024-07-19 07:55:38 -07:00
Travis Abendshien
087176edae Add ".psd" to IMAGE_TYPES; Handle ID3NoHeaderError 2024-07-19 07:55:38 -07:00
Travis Abendshien
10d81b3fa1 Add readable video tester 2024-07-19 07:55:38 -07:00
Travis Abendshien
dc135f7b0e Add ".plist" to PLAINTEXT_TYPES 2024-07-19 07:47:55 -07:00
Travis Abendshien
d339f868a9 Add rough check for invalid video codecs 2024-07-19 07:47:54 -07:00
Travis Abendshien
3144440365 Add GIF preview support 2024-07-19 07:42:48 -07:00
Travis Abendshien
c1cd96f507 Add # type: ignore to fromstring method 2024-07-19 07:39:48 -07:00
Travis Abendshien
ff17b93119 Rename "audio_tags" variables for MyPy + typing 2024-07-19 07:39:48 -07:00
Travis Abendshien
6b892ce2bb Rename "cover" variables for MyPy 2024-07-19 07:39:48 -07:00
Travis Abendshien
7ce35192b5 Add support for waveform + album cover thumbnails 2024-07-19 07:39:48 -07:00
Travis Abendshien
3c27b37b56 Use chardet for character encoding detection 2024-07-19 07:39:47 -07:00
Travis Abendshien
34f347bf55 Fix text and RAW image handling
- Fix RAW images not being loaded correctly in the preview panel
- Fix trying to read size data from null images
- Refactor `os.stat` to `<Path object>.stat()`
- Remove unnecessary upper/lower conversions
- Improve encoding compatibility beyond UTF-8 when reading text files
- Code cleanup
2024-07-19 07:39:01 -07:00
Theasacraft
e463635cc0 Add font thumbnail preview support (#307)
* Add font thumbnail preview support

* Add multiple font sizes to thumbnail

* Ruff reformat

* Ruff reformat

* Added Metadata to info

* Change the way thumbnails are structured

* Small performance improvement

* changed Metadata display structure

* added copyright notice to added file

* fix(ui): dynamically scale font previews; add .woff2, .ttc

---------

Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
2024-07-19 07:22:15 -07:00
Creepler13
aa0aad4300 Copy and Paste + Shortcuts (#79)
* Fixed merge conflicts

* fixed format?

* Improve readability (Apply suggestions from code review)

Co-authored-by: yed podtrzitko <yedpodtrzitko@users.noreply.github.com>

* bug fix: Copy last selected not first

* Fix copy entanglement; Fix paste overwriting

* Change multi-selection copy to merge data

- Multi-selection copy now merges fields of all selected entries
- Action states are now handled

---------

Co-authored-by: yed podtrzitko <yedpodtrzitko@users.noreply.github.com>
Co-authored-by: Travis Abendshien <46939827+CyanVoxel@users.noreply.github.com>
2024-07-18 23:33:52 -07:00
yed
bebca634de use list widget for selecting fields to add (#134)
* use list widget for selecting fields to add

* fix(ui): allow list widget resizing
2024-07-18 21:40:17 -07:00
Travis Abendshien
92a6e1130c Merge branch 'main' into Alpha-v9.4 2024-07-18 18:23:16 -07:00
Travis Abendshien
c79086f715 Fix collation data not clearing on library close v9.3.2 2024-07-04 17:40:19 -07:00
Travis Abendshien
9ce07bd369 Bump version to 9.3.2 2024-07-03 17:41:21 -07:00
Theasacraft
33ee27a84f Fix small bug (#306) 2024-07-03 17:02:59 -07:00
Ethnogeny
883354b263 Blender thumbnail support (#273)
* Update thumb_renderer.py

Included support for rendering blender thumbnails

* Add files via upload

Add functions that get the thumbnail's data

* Update thumb_renderer.py

* Update blender_thumbnailer.py

* Update thumb_renderer.py

* Update thumb_renderer.py

Changed where imports are according to feedback

* Update thumb_renderer.py

Changed blender thumbnail function name to reduce ambiguity

* Update blender_thumbnailer.py

Updated function name

* Update blender_thumbnailer.py

* Update blender_thumbnailer.py

Ruff format

* Update thumb_renderer.py

Ruff format

* Update constants.py

Add .blend1, 2, 3 etc file support

* Update blender_thumbnailer.py

Refactor to follow requested changes

* Update thumb_renderer.py

More refactoring

* Update blender_thumbnailer.py

Ruff format

* Update thumb_renderer.py

Ruff format
2024-07-03 16:50:59 -07:00
Travis Abendshien
6862f89d1a Merge branch 'main' into Alpha-v9.4 2024-07-03 16:47:16 -07:00
Travis Abendshien
1204d2b7b5 Fix search ignoring case of extension list 2024-06-21 11:28:12 -07:00
Travis Abendshien
501ab1f977 Update issue templates to ask for title 2024-06-16 19:54:56 -07:00
Theasacraft
b3c01e180a Update to pyside6 version 6.7.1 (#223)
* Update to pyside6.7.1

* Fix Ruff

* Fix MyPy

* Update mypy job to also use PySide6 6.7.1

* Remove unused imports

* Add Description to class

* Ruff format

* Fix Warning in pagination.py

* Probably fix Pyside app test

* Rename CustomQPushButton to QPushButtonWrapper
also renamed custom_qbutton.py to qbutton_wrapper.py
2024-06-16 16:53:38 -07:00
Jiri
4c6ebec529 refactoring: centralize field IDs (#157)
* use enum with named fields instead of ad-hoc numbers

* move tag ids into constants file
2024-06-16 14:24:48 -07:00
Travis Abendshien
5c25666e67 Fix TypeError in folders_to_tags.py
- Additionally use proper comparison syntax
2024-06-15 13:19:28 -07:00
Lennart S
fae65bd9e9 docs: Fixed broken markdown doc link (#291) 2024-06-15 13:10:55 -07:00
Jiri
8e065ca8ac create testing library files ad-hoc (#292) 2024-06-14 10:11:00 -07:00
Hayden Andreyka
888b674f05 fix: backslashes in f-string error on file drop dupe widget (#289)
* fix: python complaining about backslashes inside f-string expressions
refactor excessively long f-string into separate variables

* fix: missing f on f-string

* Format with Ruff
2024-06-13 18:34:44 -07:00
Travis Abendshien
82946cb0b8 Update CONTRIBUTING.md with PyTest info 2024-06-13 15:39:13 -07:00
Jiri
aa2925cde0 add pytest to CI pipeline (#286) 2024-06-13 15:29:22 -07:00