Commit Graph

935 Commits (5a6390e8f37a28c655cc628f0fefaf4e49140478)

Author SHA1 Message Date
Tomáš Mládek 5a6390e8f3 chore: fix typo 2022-09-19 22:58:07 +02:00
Tomáš Mládek 2756d7993b perf: add checks to avoid duplicate metadata extraction 2022-09-19 22:58:02 +02:00
Tomáš Mládek 9ea1eea3ea feat: if `audiowaveform` is present, generate & cache peaks on backend
requires https://github.com/bbc/audiowaveform/ to be installed and on $PATH
2022-09-19 22:27:34 +02:00
Tomáš Mládek b31ca05fdf fix: image thumbnails of audio (size query arg collision) 2022-09-19 22:27:34 +02:00
Tomáš Mládek f1315ae7c4 chore: add logging 2022-09-19 22:27:34 +02:00
Tomáš Mládek ac0b4d4a9d fix: don't run an initial full-hash update every start 2022-09-19 22:21:01 +02:00
Tomáš Mládek f584aec97c fix: create store dir if not exists 2022-09-18 15:27:37 +02:00
Tomáš Mládek 3eadde0b23 chore: lower default size&quality of image previews 2022-09-18 13:24:07 +02:00
Tomáš Mládek 8e3ea0f574 feat: add options to previews
video: position
image: size, quality
audio: size, color

TODO: make options an actual struct to be Deserialized?
2022-09-18 13:23:40 +02:00
Tomáš Mládek b04a00c660 fix: previews are cached re: mimetype as well 2022-09-18 13:21:55 +02:00
Tomáš Mládek 0bb4639859 fix: limit previews to NUM_CPU/2 at a time, avoid brown lock-ups 2022-09-16 17:18:15 +02:00
Tomáš Mládek d671640c04 chore: fix vault/db path semantics, previews in db path, `--clean` param 2022-09-16 16:49:25 +02:00
Tomáš Mládek 5704be7975 fix: restore store stats functionality somewhat 2022-09-16 16:26:58 +02:00
Tomáš Mládek 7ce7615b3a perf: SQLite NORMAL mode on fs vault connections 2022-09-16 15:34:22 +02:00
Tomáš Mládek fc27936acc perf: remove `valid` index on files 2022-09-16 15:34:07 +02:00
Tomáš Mládek b7d2cbb816 Merge branch 'feat/vaults' into develop 2022-09-15 20:55:30 +02:00
Tomáš Mládek 7f519d9de8 perf: implement speed-ups for vault db
have a pool; WAL journal mode; PRAGMA SYNCHRONOUS
2022-09-15 20:27:06 +02:00
Tomáš Mládek 0b0c6f2ec3 fix: reenable initial quick vault scan 2022-09-15 20:22:06 +02:00
Tomáš Mládek e17431bb3f fix: reenable locks 2022-09-15 19:25:08 +02:00
Tomáš Mládek 5152675bad refactor: use trait objects instead of FsStore directly
also fix most clippy hints
2022-09-15 19:25:08 +02:00
Tomáš Mládek 4a988acdad chore: no default debug output in tests 2022-09-15 19:24:19 +02:00
Tomáš Mládek 7c9d0717c2 feat!: multiple vaults
incomplete, but passes tests
2022-09-15 19:24:19 +02:00
Tomáš Mládek ebd11657ac feat!: switch from k12 to sha256, use proper multihash /base impl 2022-09-13 16:44:18 +02:00
Tomáš Mládek 327b87a18a perf: correct `ffmpeg` params for efficient video previews
-ss before -i ("When used as an output option (before an output url), decodes but discards input until the timestamps reach position. ")
discard all non-keyframes
turn off accurate seek
2022-09-11 20:33:41 +02:00
Tomáš Mládek e48e007617 fix: VideoViewer vertical thumbnails 2022-09-11 16:18:17 +02:00
Tomáš Mládek f98f3b2fdb perf: lower seek time for thumbnails 2022-09-11 16:18:08 +02:00
Tomáš Mládek 160cf59d4a perf: first check for files in /raw/ 2022-09-11 13:03:07 +02:00
Tomáš Mládek da5d3ad0c2 fix: consistent font sizing of timecode 2022-09-08 22:22:24 +02:00
Tomáš Mládek 5f9eb24c76 chore: allow CORS from localhost 2022-09-08 21:41:18 +02:00
Tomáš Mládek 136d38faac chore: extract all API URLs into a global variable 2022-09-08 19:32:36 +02:00
Tomáš Mládek 1e970bcba8 fix: lint due to `NodeJS` types 2022-09-08 19:23:46 +02:00
Tomáš Mládek 8566bb70d0 feat: add timecode display to VideoViewer during previewing 2022-09-08 08:15:22 +02:00
Tomáš Mládek e0a9ee1c96 fix: limit thumbnail generation to 1 thread per image 2022-09-07 22:28:14 +02:00
Tomáš Mládek 457242c9a9 fix: VIdeoViewer size in detail 2022-09-06 00:12:20 +02:00
Tomáš Mládek 1608c3db3d chore: fix svelte warnings 2022-09-06 00:10:24 +02:00
Tomáš Mládek 5fff81db85 fix: VIdeoViewer play after click 2022-09-06 00:06:15 +02:00
Tomáš Mládek e9f30c3904 chore: VideoViewer preview optimization 2022-09-05 23:50:05 +02:00
Tomáš Mládek 423ec7b03a fix: .avi previews as video 2022-09-05 23:50:05 +02:00
Tomáš Mládek 86b36d6619 fix: HashBadge display in Chrome* 2022-09-05 23:05:04 +02:00
Tomáš Mládek 3bb2d7e3e1 fix: video loading state in VideoViewer 2022-09-05 23:00:16 +02:00
Tomáš Mládek 91596b284d fix: only get() connection in UpEndConnection when necessary
makes the interface actually respond during rescans, helps improve throughput in general
2022-09-05 21:51:44 +02:00
Tomáš Mládek 4018cae840 fix: remember atttributeview state in search 2022-09-05 00:07:23 +02:00
Tomáš Mládek ce3420007d fix: use Gallery in Search, order by match order 2022-09-05 00:04:44 +02:00
Tomáš Mládek 7bfb4f86ca chore: refactor widgets + gallery 2022-09-04 23:29:41 +02:00
Tomáš Mládek 49b21cfd7a chore: note to self about detail animations 2022-09-04 22:53:23 +02:00
Tomáš Mládek 0ec87126da fix: do not needlessly trigger drop handler UI 2022-08-07 17:03:23 +02:00
Tomáš Mládek bc77c993a9 hotfix: disable transactions for now 2022-08-07 14:16:07 +02:00
Tomáš Mládek 600918a27e chore: log failed path updates immediately 2022-08-07 12:35:49 +02:00
Tomáš Mládek 3f6d239686 chore: switch from log to tracing 2022-08-07 12:13:12 +02:00
Tomáš Mládek 6eecf1cde0 chore: missing types, fix (some) Svelte check warnings 2022-08-04 20:14:02 +02:00