Commit graph

919 commits

Author SHA1 Message Date
Alexander Capehart
f33377cf26
musikr: decouple releasetype from auxio 2024-12-16 12:11:28 -05:00
Alexander Capehart
e9c15bfbef
musikr: decouple date range from auxio 2024-12-14 15:51:52 -05:00
Alexander Capehart
cb84b2db17
musikr: decouple disc from auxio 2024-12-14 15:50:14 -05:00
Alexander Capehart
e3146647d3
musikr: decouple date from auxio 2024-12-14 15:48:05 -05:00
Alexander Capehart
c5cd404393
musikr: decouple name from auxio 2024-12-14 13:41:38 -07:00
Alexander Capehart
de1c091517
musikr: remove trivial auxio dependence
There's still some thorny resource use left over, but this is a good
starting point to start breaking off musikr from auxio.
2024-12-13 20:08:58 -07:00
Alexander Capehart
e16b23f34e
musikr: remove di 2024-12-13 18:02:39 -07:00
Alexander Capehart
a593f2874d
music: fix settings update insanity
For some reason StringSet updates will simply not go to the listener.
Despite it working just fine in previous versions.

I have to derialize all the location to a string and use that.
2024-12-13 11:34:16 -07:00
Alexander Capehart
5fae4601de
music: fix broken location updates 2024-12-13 10:54:14 -07:00
Alexander Capehart
59df1c3d57
musikr: start unwinding di use
Musikr is eventually going to be an entirely independent gradle module
with a DI-agnostic API, start removing some of the directives (but not
all since some are kinda thorny to untangle)
2024-12-13 08:32:30 -07:00
Alexander Capehart
f13c1e364b
musikr: add cover key to cache 2024-12-11 17:08:35 -07:00
Alexander Capehart
42390f4b3f
music: move cover parsing to indexing
This drastically slows music loading, but my hope is that in practice
most of the slowdown is actually in ExoPlayer's metadata extractor and
if I switch off of that things will actually improve. Maybe.
2024-12-11 16:55:37 -07:00
Alexander Capehart
530d8cc2b5
musikr: remove di requirement from tagcache 2024-12-11 06:58:42 -07:00
Alexander Capehart
45ead8253a
music: prepare new cover system 2024-12-10 07:02:37 -07:00
Alexander Capehart
8adda19d1a
musikr: add new storage config
Allowed TagCache to be configured alongside a new StoredCovers
(to be implemented later)
2024-12-09 16:06:53 -07:00
Alexander Capehart
df1faa11e4
musikr: fix various loading bugs 2024-12-09 13:06:25 -07:00
Alexander Capehart
3528392f95
musikr: rename indexer to musikr 2024-12-09 08:58:45 -07:00
Alexander Capehart
0f8294bf43
musikr: refactor fs
- Move MimeType back into fs
- Move DeviceFiles into a new query module
2024-12-09 08:55:48 -07:00
Alexander Capehart
501c79d23c
musikr: refactor model 2024-12-09 08:44:56 -07:00
Alexander Capehart
efceefc221
musikr: break apart storageutil 2024-12-09 07:17:40 -07:00
Alexander Capehart
ced2adb2c6
all: cleanup 2024-12-09 07:15:32 -07:00
Alexander Capehart
c270759dec
musikr: improve music location creation 2024-12-07 17:19:30 -07:00
Alexander Capehart
3eaa96ffda
music: split off music location into musikr 2024-12-07 11:46:38 -07:00
Alexander Capehart
abeabcb8df
musikr: split off from auxio 2024-12-07 09:51:16 -07:00
Alexander Capehart
970fdb2a8d
musikr: introduce new graphing system
This does all the required simpification steps as before, but now
creates mutual edges between parent and child items that removes
the finicky finalization logic in models.
2024-12-07 08:41:28 -07:00
Alexander Capehart
7f7ee94f45
musikr: restructure loader into pipeline 2024-12-04 15:08:49 -07:00
Alexander Capehart
7582c8c9cf
music: reorganize metadata/tag/model structure 2024-12-02 14:22:38 -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
49aa3c2891
music: collapse external into musikr 2024-11-30 17:28:33 -07:00
Alexander Capehart
43c05e7096
music: collapse metadata into musikr 2024-11-30 17:25:58 -07:00
Alexander Capehart
dfff01bd28
music: move other metadata into model 2024-11-30 17:24:17 -07:00
Alexander Capehart
523d3cdd30
musikr: flatten modules 2024-11-30 17:05:13 -07:00
Alexander Capehart
86a77bc19b
music: break off stack into musikr
Will become it's own separate module later.
2024-11-30 11:37:18 -07:00
Alexander Capehart
e647c31c56
music: use unlimited buffer for caching 2024-11-29 16:32:17 -07:00
Alexander Capehart
a3da28fb84
music: enable tag caching 2024-11-29 16:29:00 -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
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
7a7774a4db
image: implement extractors and new cover data 2024-11-27 20:12:11 -07:00
Alexander Capehart
b30aba4bdf
music: add last modified to song 2024-11-27 17:47:42 -07:00
Alexander Capehart
a30e6db71d
music: fix in-process grouping problems
Parent objects cannot process anything related to eachother until
finalize without causing set issues, fix that
2024-11-27 15:20:03 -07:00
Alexander Capehart
1b295934e0
music: use unlimited buffering in loader 2024-11-27 15:18:55 -07:00
Alexander Capehart
d52e301751
music: try to fix extractor thread starvation 2024-11-27 15:18:34 -07:00
Alexander Capehart
e0bbb88e92
music: only compute song uid once 2024-11-27 09:46:59 -07:00
Alexander Capehart
ae449ded45
music: emulate old music loading process 2024-11-27 09:40:59 -07:00
Alexander Capehart
c74b744aec
music: temp populate cover field
Again, will reimpl later
2024-11-26 20:19:08 -07:00
Alexander Capehart
c87ff7bb92
music: grant correct tree uri perms
Will refactor later just want stuff to work
2024-11-26 20:16:06 -07:00
Alexander Capehart
dba11a61b4
music: indicate interpreted song artists
Kind of stupid, but since I don't really have a good streaming
representation of interpreting progress yet this is what worksbest.
2024-11-26 20:14:36 -07:00
Alexander Capehart
1962fbe70a
music: emit indexing completion at end 2024-11-26 20:14:18 -07:00
Alexander Capehart
cc9bb167c4
music: fix device files uris 2024-11-26 20:13:53 -07:00
Alexander Capehart
ec19808cf1
music: use old chunked retriever in extractor 2024-11-26 20:13:24 -07:00