Files
auxio-fork/musikr
shapeshed 4546cda499 musikr: batch cache writes to reduce fsync overhead on cold scan (#1365)
Replace per-song Room inserts with chunked bulk inserts (500 songs per
transaction). Reduces ~3000 individual fsync calls to ~6 on a full
cold scan, cutting write time from seconds to milliseconds on typical
eMMC/UFS storage. Adds writeAll() to MutableCache with a default
fallback for external implementors, and unit tests for the chunking
behaviour.
2026-08-29 14:19:10 -06:00
..
…
2025-06-28 18:28:13 -06:00
2026-02-21 22:03:14 -07:00
2025-06-28 18:28:13 -06:00
2025-06-28 18:28:13 -06:00
2026-02-21 22:03:14 -07:00
2025-06-28 18:28:13 -06:00
2025-01-03 15:37:32 -07:00

musikr

Musikr is a highly opinionated multithreaded music loader that enables Auxio's advanced music functionality. It completely bypasses Android's MediaStore and uses the storage access framework (SAF) and taglib to replicate it's functionality with less bugs and more flexibility, further expanding it with an advanced music model that leverages the wide variety of tags available in modern extended specs.

Warning that the API surface is:

  • Extremely unstable, as it's a very thin shim on top of a constantly optimzied and updated music loader
  • Minimized to only what the rest of the app uses or builds on, so you will need to patch it to extend certain components

Feel free to use this library as long as you follow Auxio's GPLv3 license. Note that the license is viral, so if you wind up using this in a proprietary project, the entire project must be GPLv3 too.

If you want to generate some docs for the unstable API, you can run

./gradlew musikr:dokkaGeneratePublicationHtml

In the project root and it should produce a webpage in musikr/build/dokka/html