Alexander Capehart
ce5f0fa2c9
all: reformat
2025-02-26 16:58:02 -07:00
Alexander Capehart
2e4a147b55
musikr: fix custom covers not being obtained
2025-02-26 16:57:22 -07:00
Alexander Capehart
216d9802ef
all: reformat
2025-02-26 16:14:18 -07:00
Alexander Capehart
7906867a96
image: implement compat covers backport
...
For cover.jpg users
2025-02-26 16:14:06 -07:00
Alexander Capehart
25901a0f76
musikr: make cover creation more flexible
...
Enables some compat cover changes I need to make.
2025-02-26 14:52:13 -07:00
Alexander Capehart
6587d2259b
all: reformat
2025-01-06 11:44:13 -07:00
Alexander Capehart
298a30da6d
image: fix provider caching issues
...
- Covers would hypothetically not be updated in android auto
if the setting changed to off
- Cover fetching might fail in weird ways due to the current
error throwing
2025-01-06 11:32:03 -07:00
Alexander Capehart
bbc4db156e
musikr: fix equality issues
2025-01-06 11:23:55 -07:00
Alexander Capehart
3e54c032fe
app: fix cover provider authority conflict
...
Between release and debug builds
2025-01-06 08:26:13 -07:00
Alexander Capehart
3431e13cde
image: fix format problem
2025-01-04 12:55:27 -07:00
Alexander Capehart
07a0d01a06
image: fix bad coverprovider conventions
2025-01-04 12:54:24 -07:00
Alexander Capehart
b4a9f9af96
image: fix broken cover provider fetching
2025-01-04 12:52:27 -07:00
Alexander Capehart
a2e6bcbb7f
musikr: separate immutable/mutable subclasses
...
This makes it easier for me to centralize certain DI.
2025-01-01 14:37:01 -07:00
Alexander Capehart
194e6b1574
image: introduce cover provider
...
This will be used to expose image data to android auto.
2025-01-01 14:21:44 -07:00
Alexander Capehart
62e214039f
all: reformat
2025-01-01 13:59:40 -07:00
Alexander Capehart
75455b1b90
musikr: make cover files more concrete
...
This should allow me to implement a solid ContentProvider.
2025-01-01 13:58:52 -07:00
Alexander Capehart
64ce312976
image: reduce save space cover size
...
This gets the image storage size down to like 8 megs on my library,
seems solid enough.
2024-12-28 15:22:15 -06:00
Alexander Capehart
e78e71e3a7
image: fix broken cover module
2024-12-28 15:12:10 -06:00
Alexander Capehart
a1cd4f7b26
music: re-add configurable covers
2024-12-28 13:15:44 -06:00
Alexander Capehart
ff6d2fe228
music: move cover impl to image
2024-12-28 09:53:16 -05:00
Alexander Capehart
7768d98632
musikr.cover: refactor cover
...
Instead of using a weird sealed class, instead go for a
Cover/CoverCollection system instead that removes some implicit
design dependence in musikr.
2024-12-24 14:43:48 -05:00
Alexander Capehart
0f0b7a4a7d
all: reformat
2024-12-20 22:17:08 -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
63193809b0
image: remove unused null cover branch
2024-12-11 17:39:17 -07:00
Alexander Capehart
6d85f43304
image: connect cover back up
2024-12-11 17:38:42 -07:00
Alexander Capehart
0ce3a11f82
musikr: re-connect cover to model
2024-12-11 17:16:34 -07:00
Alexander Capehart
b53b7a0c6a
all: temp fix build issues
2024-12-11 13:18:22 -07:00
Alexander Capehart
df1faa11e4
musikr: fix various loading bugs
2024-12-09 13:06:25 -07:00
Alexander Capehart
2592aca4bf
musikr: refactor root module
2024-12-09 09:55:44 -07:00
Alexander Capehart
ced2adb2c6
all: cleanup
2024-12-09 07:15:32 -07:00
Alexander Capehart
abeabcb8df
musikr: split off from auxio
2024-12-07 09:51:16 -07:00
Alexander Capehart
7f7ee94f45
musikr: restructure loader into pipeline
2024-12-04 15:08:49 -07:00
Alexander Capehart
59652b2f9b
image: collapse cache into musikr
...
(Will be integrated into loader later)
2024-11-30 19:21:29 -07:00
Alexander Capehart
a22e972bd3
image: refactor transcoding
...
- Don't transcode into memory
- Make AppFiles (now CoverFiles) handle transcoding
- Don't bother transcoding if no work needs to be done
2024-11-29 14:58:50 -07:00
Alexander Capehart
6b8b147721
image: improve cover cache design
...
- Don't send around InputStreams when really we are extracting ByteArray
- Hash with MD5, which should be a good enough tm hash even if easily
collideable
- Split off cover identification into another object
2024-11-29 13:28:05 -07:00
Alexander Capehart
e061f7cb26
image: further improve cover caching
...
- Don't rewrite files if they already exist
- Use webp compression
- Downsize cover images to save memory
2024-11-29 13:17:06 -07:00
Alexander Capehart
c74c62d9b3
image: fix bitmapprovider covers
2024-11-29 13:16:43 -07:00
Alexander Capehart
3dbe06c0bc
music: use aosp covers by default
...
Less good, but it's also far more memory efficient.
2024-11-29 10:12:10 -07:00
Alexander Capehart
f57ee549f1
image: cleanup cache
2024-11-29 10:12:03 -07:00
Alexander Capehart
ab442f99c1
image: remove dead code
2024-11-29 10:06:26 -07:00
Alexander Capehart
1a3fe7c075
image: refactor module
...
- All old extractor stuff is now a module called coil
- Moved Cover out of the coil module
2024-11-29 09:59:31 -07:00
Alexander Capehart
b832ac8639
music: make caching thread safe
2024-11-29 09:50:09 -07:00
Alexander Capehart
c3f9f0d80e
image: use cover retriever in app
2024-11-29 09:49:45 -07:00
Alexander Capehart
7a7774a4db
image: implement extractors and new cover data
2024-11-27 20:12:11 -07:00
Alexander Capehart
37697abfce
music: introduce new image loader cache
...
This will be used with the new SAF-loaded music files to show covers.
2024-11-27 17:48:16 -07:00
Alexander Capehart
4d27c444de
all: reformat
2024-11-13 10:04:58 -07:00
Alexander Capehart
f783a9c32f
image: use coil3
2024-11-11 11:51:26 -07:00
Alexander Capehart
211b815a20
ui: handle round mode again
2024-11-07 13:38:54 -07:00