Commit graph

2612 commits

Author SHA1 Message Date
Alexander Capehart
45c3d3f4bc
build: silence dokka v2 warning 2024-12-20 22:28:20 -05:00
Alexander Capehart
c4a4b69cd1
musikr.pipeline: parallelize cache writes 2024-12-20 22:21:24 -05:00
Alexander Capehart
2842bd57b1
build: use dokka v2 2024-12-20 22:17:53 -05:00
Alexander Capehart
0f0b7a4a7d
all: reformat 2024-12-20 22:17:08 -05:00
Alexander Capehart
5ff949c49c
home: ratelimit textual progress updates
A la the notification, except on a shorter time internal since
it's more for efficiency rather than avoiding system rate limits.
2024-12-20 22:15:46 -05:00
Alexander Capehart
6bad9e719d
musikr.pipeline: parallelize cache reads 2024-12-20 22:12:01 -05:00
Alexander Capehart
9f68f59504
musikr.pipeline: disable extraction shuffling
No longer needed now that jpeg writes are extremely quick. Will
re-introduce in the case that I introduce webp parsing again.
2024-12-20 22:06:41 -05:00
Alexander Capehart
a598f39dea
musikr.cover: use jpeg for covers
Way faster to encode and the artifacts are minimal at 1kx1k and 100
compression.

Still not fully ideal, but webp is so flow to encode.
2024-12-20 22:05:51 -05:00
Alexander Capehart
1843986f75
music: implement revisioned covers 2024-12-20 21:57:16 -05:00
Alexander Capehart
8b69042288
Revert "musikr: bundle cover resolution with key"
This reverts commit 8cc939b58d.
2024-12-20 15:28:25 -05:00
Alexander Capehart
8cc939b58d
musikr: bundle cover resolution with key
This is a partial refactor, I'm still trying to find a good approach to
a revisionable system.
2024-12-20 12:41:14 -05:00
Alexander Capehart
249d2fad67
musikr.pipeline: shuffle songs to extract
This helps avoid the entire tag parsing flow from getting blocked up
by several tracks that are blocking trying to write a single cover.
2024-12-19 16:13:16 -05:00
Alexander Capehart
a77dd3ff7a
musikr.pipeline: redo extract pipeline
Try to separate opening FDs, extracting metadata, parsing tags/writing
covers, and cache writes.

This makes it slower, but now I know the bottleneck is covers. Gotta
figure out how to offload that work.
2024-12-17 20:31:04 -05:00
Alexander Capehart
7e8764d6d4
musikr.metadata: dont expose file name
Not needed.
2024-12-17 20:03:35 -05:00
Alexander Capehart
c431e90af8
musikr: output stack trace in pipeline error 2024-12-17 16:30:53 -05:00
Alexander Capehart
03ee8d299d
musikr: dont produce tag maps w/empty values 2024-12-17 16:27:25 -05:00
Alexander Capehart
7b1ccfc3fb
all: reformat 2024-12-17 16:05:13 -05:00
Alexander Capehart
acd4dab74c
musikr: include context in pipeline errors 2024-12-17 16:01:44 -05:00
Alexander Capehart
a1188b8d4b
music: introduce library revisions
Will be used to maintain image loading consistency even during loads.
2024-12-17 15:40:05 -05:00
Alexander Capehart
7df5c5973e
musikr: use dokka v2 2024-12-17 15:26:01 -05:00
Alexander Capehart
3fbb33e3e4
musikr: share more versions with app 2024-12-17 15:25:30 -05:00
Alexander Capehart
993060212b
build: temporarily disable app testing
Not needed right now.
2024-12-17 15:24:48 -05:00
Alexander Capehart
973c940042
actions: dont install clang 2024-12-17 15:24:24 -05:00
Alexander Capehart
7bd7b01a0b
build: bump media 2024-12-17 12:48:31 -05:00
Alexander Capehart
93da4a69a9
musikr: re-add playlist deletion 2024-12-17 12:19:36 -05:00
Alexander Capehart
7e45812411
all: reformat 2024-12-17 12:18:18 -05:00
Alexander Capehart
3ad2fd2fc0
musikr: fix playlist graphing 2024-12-17 12:17:28 -05:00
Alexander Capehart
b3a598c558
musikr: re-add playlist rewriting 2024-12-17 12:12:09 -05:00
Alexander Capehart
744097694f
musikr: re-add playlist adding 2024-12-17 12:11:20 -05:00
Alexander Capehart
f4822a4e40
musikr: re-add playlist renaming 2024-12-17 12:04:24 -05:00
Alexander Capehart
9f657adf94
musikr: re-add playlist creation 2024-12-17 11:48:17 -05:00
Alexander Capehart
bdfd9d6e23
musikr: move storage/interpretation dependence to construction
This makes some testing and certain code more ergonomic.
2024-12-17 11:45:04 -05:00
Alexander Capehart
f3913b148a
all: reformat 2024-12-17 11:27:25 -05:00
Alexander Capehart
8bbb7497a6
musikr: fix stuck evaluate step 2024-12-17 11:27:14 -05:00
Alexander Capehart
6850a3443f
detail: reimplement song details 2024-12-17 11:26:09 -05:00
Alexander Capehart
50b7c24c03
musikr: expose bitrate and sample rate 2024-12-17 10:42:54 -05:00
Alexander Capehart
880967f8be
all: fix formatting 2024-12-16 20:47:17 -05:00
Alexander Capehart
7fab7f7eeb
musikr: add full playlist evaluation 2024-12-16 20:45:26 -05:00
Alexander Capehart
3d94ab67cf
musikr: re-implement playlist graphing 2024-12-16 20:13:08 -05:00
Alexander Capehart
a50b55cf70
actions: install clang
So spotless can use clang-format.
2024-12-16 19:12:54 -05:00
Alexander Capehart
11a4d6a720
name: fix name token constructor 2024-12-16 19:07:50 -05:00
Alexander Capehart
ac1c31cacb
actions: improve format/test checks
- Only test musikr since it's the only thing with tests
- Check formatting rather than autoformatting on build
2024-12-16 19:02:31 -05:00
Alexander Capehart
ee0c643115
all: reformat 2024-12-16 19:01:22 -05:00
Alexander Capehart
ad183bdbfd
music: add musikr injects 2024-12-16 19:00:22 -05:00
Alexander Capehart
d0845ef325
playback: move pre-amp from music back to rg 2024-12-16 18:47:27 -05:00
Alexander Capehart
b6f6213ac4
all: reformat 2024-12-16 18:46:54 -05:00
Alexander Capehart
6e3b03d4c6
musikr: re-implement playlist loading 2024-12-16 18:46:06 -05:00
Alexander Capehart
50bfe9926b
musikr.model: use genre core 2024-12-16 15:50:10 -05:00
Alexander Capehart
4421f4f56d
musikr.graph: dont simplify size-1 clusters
Creates very hard to trace bugs.
2024-12-16 15:47:59 -05:00
Alexander Capehart
9d1978850b
musikr: update classpaths in native code 2024-12-16 15:20:46 -05:00