Commit Graph
100 Commits
Author SHA1 Message Date
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
Alexander Capehart 00520f7fda musikr: api fixes 2024-12-16 15:15:30 -05:00
Alexander Capehart 5a65a6aa25 musikr: additional api cleanup 2024-12-16 14:49:24 -05:00
Alexander Capehart 47d5184e8d build: add dokka
Just to test API surface in the future.
2024-12-16 14:41:45 -05:00
Alexander Capehart 0d5abb6407 musikr: cleanup api 2024-12-16 14:33:31 -05:00
Alexander Capehart 14355a1005 musikr: extract out shared parse fns
Into the util module
2024-12-16 13:41:57 -05:00
Alexander Capehart 4d0465e012 info: update sponsors 2024-12-16 13:39:48 -05:00
Alexander Capehart ed102d3414 all: format 2024-12-16 13:34:49 -05:00
Alexander Capehart 18c5b3618c build: fix spotless config
- Missing NOTICE
- CPP format was going too deep
2024-12-16 13:34:30 -05:00
Alexander Capehart d4d00249df musikr: move tag tests away from auxio 2024-12-16 13:27:45 -05:00
Alexander Capehart 71667f378d musikr: merge ktaglib into musikr.metadata
No longer makes sense as an independent module.
2024-12-16 13:18:13 -05:00
Alexander Capehart ae44abc35a musikr: reduce taglib build parallelism
Likely unhealthy to run maximum thread count 4x over
2024-12-16 13:15:47 -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 479dca4452 musikr: decouple m3u from auxio 2024-12-14 15:58:48 -05:00
Alexander Capehart 31e092a649 musikr: indicate song name always known 2024-12-14 15:58:38 -05:00
Alexander Capehart b5657f0202 musikr: decouple volume from auxio 2024-12-14 15:52:58 -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 3da9e6c5b3 musikr: remove musictype auxio dependency 2024-12-13 19:50:45 -07:00
Alexander Capehart c70c27a7b4 musikr: standardize internal song data structure 2024-12-13 19:44:02 -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 a2498db6e5 musikr: use uppercase tag names
This reduces the amount of string processing I need to do in
ktaglib.
2024-12-13 16:20:46 -07:00
Alexander Capehart 65151e006f musikr: start using ktaglib 2024-12-13 13:06:19 -07:00
Alexander Capehart 2f98d67855 ktaglib: fix tag mapping
- TagLib apparently bundles description with a TXXX frame's field values.
- TagLib doesn't normalize to lowercase like Auxio does (Will change this
in the future to be uppercase instead to save on re-allocs)
2024-12-13 13:04:49 -07:00
Alexander Capehart 93a602b592 all: misc cleanup 2024-12-13 11:35:24 -07:00
Alexander Capehart 993dbbf8c1 musikr: fix missing import 2024-12-13 11:35:08 -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 76eb98c3af musikr: fix cover file reads
Turns out they were coming from the wrong place.
2024-12-13 11:15:23 -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 34217696c2 ktaglib: build with picture data 2024-12-12 19:22:54 -07:00
Alexander Capehart a60239c6f7 ktaglib: implement metadata builder 2024-12-12 19:22:35 -07:00
Alexander Capehart 29f82c0963 ktaglib: implement tag parsing scaffold 2024-12-12 18:39:50 -07:00
Alexander Capehart 44de732247 ktaglib: improve jvminputstream mem use 2024-12-12 18:39:35 -07:00
Alexander Capehart 34be5fb2a5 ktaglib: add missing source files 2024-12-12 18:39:24 -07:00
Alexander Capehart 5042d3f5f2 ktaglib: introduce tag map data structure 2024-12-12 18:39:11 -07:00
Alexander Capehart be54ee9c18 ktaglib: implement iostream/file shim 2024-12-12 14:26:17 -07:00
Alexander Capehart 55e77707ea ktaglib: scaffold jni impl 2024-12-12 13:17:03 -07:00
Alexander Capehart 7640292d7a ktaglib: fix package bugs 2024-12-12 12:53:27 -07:00
Alexander Capehart 8c865fb581 build: enable parallel builds 2024-12-12 12:41:30 -07:00
Alexander Capehart 1289922cd9 ktaglib: fix more build issues 2024-12-12 12:36:57 -07:00
Alexander Capehart c7dfae5262 ktaglib: use common shell only in build 2024-12-12 12:29:23 -07:00
Alexander Capehart a5d7d47aba ktaglib: fix more build issues 2024-12-12 12:23:18 -07:00
Alexander Capehart abb547aba3 ktaglib: fix package namespace 2024-12-12 12:14:29 -07:00
Alexander Capehart a85acceed6 ktaglib: autobuild taglib on gradle build 2024-12-12 12:11:18 -07:00
Alexander Capehart 1c85dc96e0 ktaglib: import taglib into project
This is getting out of hand. Anything for speed.
2024-12-12 12:05:22 -07:00
Alexander Capehart d3f75439fc musikr: create required dirs for cover files 2024-12-11 17:39:34 -07:00
Alexander Capehart 63193809b0 image: remove unused null cover branch 2024-12-11 17:39:17 -07:00
Alexander Capehart 88f43a7906 musikr: fix unpopulated presong cover 2024-12-11 17:39:06 -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 cf69b27134 musikr: add cover to evaluation process 2024-12-11 17:12:29 -07:00
Alexander Capehart 8b4672ea50 musikr: cleanup cache db 2024-12-11 17:10:12 -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
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