Commit Graph
2004 Commits
Author SHA1 Message Date
Alexander Capehart ca6388b28d musikr: add date added support
Through a new `Tracker` interface.

Tracker is kind of a generic name. It's set up in the case that I have
to wind up associating more post-extraction metadata with songs.
2024-12-24 15:24:29 -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 a24d102a00 app: reformat 2024-12-24 14:26:18 -05:00
Alexander Capehart 0cfd6ddb67 music: cleanup old cover revisions 2024-12-24 09:54:28 -05:00
Alexander Capehart 9a7b970346 all: update todos 2024-12-23 17:13:55 -05:00
Alexander Capehart 001db620e3 all: reformat 2024-12-21 11:52:28 -05:00
Alexander Capehart 9a38877c2e musikr: hide cache database 2024-12-21 11:52:28 -05:00
Alexander Capehart 503a4854c3 musikr: hide playlist database 2024-12-21 11:52:28 -05:00
Alexander Capehart a4cca0ca79 all: remove log.d calls 2024-12-21 11:52:28 -05:00
Alexander Capehart 2ec3bbbe8c musikr: hide unstable internals
Hypothetically I'd open these up into a broader API once I can confirm
they are safely extensible.
2024-12-21 11:35:14 -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 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 7b1ccfc3fb all: reformat 2024-12-17 16:05:13 -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 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 6850a3443f detail: reimplement song details 2024-12-17 11:26:09 -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 00520f7fda musikr: api fixes 2024-12-16 15:15:30 -05:00
Alexander Capehart ed102d3414 all: format 2024-12-16 13:34:49 -05:00
Alexander Capehart e908d0e102 all: break off musikr 2024-12-16 13:09:08 -05:00
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 9ab4dc5595 musikr: replace mimetype w/format
First property now derived from taglib.
2024-12-13 19:23:42 -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 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 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 b53b7a0c6a all: temp fix build issues 2024-12-11 13:18:22 -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 2592aca4bf musikr: refactor root module 2024-12-09 09:55:44 -07:00