Commit Graph

332 Commits (74d35e40654c51112eac83a3af7b673578c6cd1f)

Author SHA1 Message Date
Tomáš Mládek 74d35e4065 chore: log instrumenting 2022-10-23 13:46:06 +02:00
Tomáš Mládek 5c5d9d0f04 feat: add --allow-hosts CLI option 2022-10-23 13:30:58 +02:00
Tomáš Mládek 709fd9eb12 fix: .mp3 override in media extractor 2022-10-23 11:39:33 +02:00
Tomáš Mládek 4c0d352bd3 chore: change extractor error level to debug, add extractor markers 2022-10-23 10:54:52 +02:00
Tomáš Mládek b7eb4d6048 chore: enable tracing span for extractors 2022-10-23 10:51:24 +02:00
Tomáš Mládek 33565fdc27 fix: continue with other extractors when one fails 2022-10-23 10:50:36 +02:00
Tomáš Mládek ea3fc015f5 feat: add media (duration) extractor 2022-10-22 20:05:48 +02:00
Tomáš Mládek 2f74c15553 chore: 32 max port retries 2022-10-22 12:51:21 +02:00
Tomáš Mládek f200ea824f chore: --ui-enabled actually does something 2022-10-22 12:50:52 +02:00
Tomáš Mládek 639d83f9ad fix: forgot to denote `TYPE` as denoting to types 2022-10-21 16:23:02 +02:00
Tomáš Mládek 833fd8903a chore: switch from `built` to `shadow_rs` 2022-10-21 14:02:16 +02:00
Tomáš Mládek 9061d32c89 fix: update tests to handle Skipped paths 2022-10-18 21:00:10 +02:00
Tomáš Mládek 11a62b274f fix: skip empty files on vault update 2022-10-18 18:29:23 +02:00
Tomáš Mládek c87304602d feat: add cli option to open executable files 2022-10-18 18:19:01 +02:00
Tomáš Mládek 5950685bdf chore: put config into its own struct 2022-10-18 18:10:17 +02:00
Tomáš Mládek 5991bd13ab fix: no spurious "Database locked" on startup 2022-10-16 16:13:39 +02:00
Tomáš Mládek 3b4378dfed fix: actually remove objects on rescan 2022-10-01 22:16:59 +02:00
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 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 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 5f9eb24c76 chore: allow CORS from localhost 2022-09-08 21:41:18 +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 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 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 41d0e55ca7 fix: add global locks to db, fix sqlite errors (?) 2022-07-31 22:53:24 +02:00
Tomáš Mládek 38e6d6b6df chore: add logging to fs tests 2022-07-31 22:53:18 +02:00