Commit Graph
115 Commits
Author SHA1 Message Date
Alexander Capehart ed3e0845d6 musikr: more debug logging
Trying to track down this thorny segfault.
2025-01-07 18:31:59 -07:00
Alexander Capehart 7b9c14a118 musikr: add temp logging 2025-01-07 13:05:32 -07:00
Alexander Capehart 605800e9a5 musikr: handle possible null pointers in id3v2 2025-01-07 10:02:28 -07:00
Alexander Capehart 2b46774215 musikr: fix internal frame parsing 2025-01-06 14:12:24 -07:00
Alexander Capehart 1d84ba23b4 build: update submodules 2025-01-06 13:54:22 -07:00
Alexander Capehart fdf71cedd2 musikr: fix formatting 2025-01-06 13:17:27 -07:00
Alexander Capehart 5e168860e7 musikr: bundle cleanup into api
Prevents as much footguns.
2025-01-06 13:16:31 -07:00
Alexander Capehart b328a6ea03 musikr: add temp logging
To debug metadata issues.
2025-01-06 11:41:01 -07:00
Alexander Capehart bbc4db156e musikr: fix equality issues 2025-01-06 11:23:55 -07:00
Alexander Capehart 9952579cc4 musikr.tag: fix correction creating empty tag lists 2025-01-06 08:28:56 -07:00
Alexander Capehart 6be97943bc musikr: fix broken minification 2025-01-06 08:15:28 -07:00
Alexander Capehart 9fe508a906 all: fix formatting 2025-01-04 17:51:40 -07:00
Alexander Capehart 710e279d8f musikr: tweak api 2025-01-04 17:43:09 -07:00
Alexander Capehart 32b152e155 musikr: reformat 2025-01-04 15:57:03 -07:00
Alexander Capehart a4d7b54db7 musikr: add back tag whitespace fixes
Requires me to rejig the JNI integration, but it's overall good since
it allows me to strip away a lot of the logic.
2025-01-04 15:56:19 -07:00
Alexander Capehart fddd527975 musikr.tag: handle compilation flag 2025-01-04 13:42:28 -07:00
Alexander Capehart b0faad6380 build: bump to version 4.0.0-beta1 2025-01-04 12:14:37 -07:00
Alexander Capehart 0c7adc9d17 Update README.md 2025-01-03 15:37:32 -07:00
Alexander Capehart c3ccb8519e musikr: add empty library check 2025-01-01 16:10:34 -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 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 04e81916f7 all: fix formatting 2025-01-01 13:14:06 -07:00
Alexander Capehart 68098b97ed music: move automatic reloading to musikr 2025-01-01 13:08:53 -07:00
Alexander Capehart 7497ff2514 musikr: fix crash when no mbids used 2024-12-28 15:11:28 -07:00
Alexander Capehart d964df4616 musikr: fix broken cover cleanup 2024-12-27 15:49:26 -05:00
Alexander Capehart b05d668b5e musikr: close cover output streams 2024-12-27 15:39:31 -05:00
Alexander Capehart 292ea9d8a1 musikr: fix broken siloed covers
Caused by a missing param equality.
2024-12-27 15:38:49 -05:00
Alexander Capehart ebcedb49eb musikr: fix broken cache pruning 2024-12-27 15:38:23 -05:00
Alexander Capehart 8b3d7cae9c musikr: handle missing covers on recaching
Now that we have effectively two caches (The main cache and the covers),
we have to handle the case where we have cached data, but the cover data
is missing. This is a real-world edge case once album covers are made
configurable as they were previously.
2024-12-27 15:11:09 -05:00
Alexander Capehart 32156f23b2 music: introduce siloed covers
Will allow me to dynamically configure cover quality by user settings.
2024-12-27 10:38:38 -05:00
Alexander Capehart 8b58f357cb musikr: introduce cover cleanup
Helps reduce overall memory use.
2024-12-27 10:06:04 -05:00
Alexander Capehart 0dc72b67af musikr: introduce cover params 2024-12-26 20:26:04 -05:00
Alexander Capehart 80c97cbea1 musikr: separate cover files/format 2024-12-26 19:54:31 -05:00
Alexander Capehart b8178056f5 musikr: simplify cover storage boundaries 2024-12-26 19:23:48 -05:00
Alexander Capehart 5e7d575efd build: fix cpp formatting 2024-12-26 18:53:24 -05:00
Alexander Capehart 75612dd1eb all: cleanup 2024-12-26 14:04:15 -05:00
Alexander Capehart 61fd11fe04 musikr: refactor cache api
To make the pruning system more agnostic and "extendable"
2024-12-26 13:58:23 -05:00
Alexander Capehart 3f364dc5c6 musikr: add cache pruning
Helps remove dead entries, and additionally makes date added values more
accurate over time.s
2024-12-26 13:36:56 -05:00
Alexander Capehart 4f920e922d musikr: add date added support w/cache
This allows me to replicate something resembling date added
support while reducing query load.
2024-12-26 10:33:50 -05:00
Alexander Capehart da76a03298 Revert "musikr: add date added support"
This reverts commit ca6388b28d.
2024-12-26 09:04:18 -05:00
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 c42ac644eb musikr: compute uid on presong creation 2024-12-24 15:08:49 -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 8409a93c4e musikr: reformat 2024-12-23 20:53:01 -05:00
Alexander Capehart 258418578a musikr.tag: parse artist sort name 2024-12-23 17:13:45 -05:00
Alexander Capehart bdce83f047 musikr.tag: fix incorrect artist name placeholder 2024-12-23 17:04:12 -05:00
Alexander Capehart 75ca315b9b musikr.tag: fix broken tag field 2024-12-23 17:01:07 -05:00
Alexander Capehart 518b80bdf2 musikr.metadata: add missing log header 2024-12-23 16:50:54 -05:00
Alexander Capehart c379174ffe musikr.metadata: wrap exceptions into log
Not ideal, but avoids a total catastrophic crash on failed metadata
extractions.
2024-12-23 16:48:32 -05:00