Commit Graph
2675 Commits
Author SHA1 Message Date
Alexander Capehart a22e972bd3 image: refactor transcoding
- Don't transcode into memory
- Make AppFiles (now CoverFiles) handle transcoding
- Don't bother transcoding if no work needs to be done
2024-11-29 14:58:50 -07:00
Alexander Capehart 6b8b147721 image: improve cover cache design
- Don't send around InputStreams when really we are extracting ByteArray
- Hash with MD5, which should be a good enough tm hash even if easily
collideable
- Split off cover identification into another object
2024-11-29 13:28:05 -07:00
Alexander Capehart e061f7cb26 image: further improve cover caching
- Don't rewrite files if they already exist
- Use webp compression
- Downsize cover images to save memory
2024-11-29 13:17:06 -07:00
Alexander Capehart c74c62d9b3 image: fix bitmapprovider covers 2024-11-29 13:16:43 -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 f57ee549f1 image: cleanup cache 2024-11-29 10:12:03 -07:00
Alexander Capehart ab442f99c1 image: remove dead code 2024-11-29 10:06:26 -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 94a580aaed build: update media 2024-11-29 09:50:27 -07:00
Alexander Capehart b832ac8639 music: make caching thread safe 2024-11-29 09:50:09 -07:00
Alexander Capehart c3f9f0d80e image: use cover retriever in app 2024-11-29 09:49:45 -07:00
Alexander Capehart ddfe10b869 home: fix no music indicator 2024-11-29 09:48:26 -07:00
Alexander Capehart 7a7774a4db image: implement extractors and new cover data 2024-11-27 20:12:11 -07:00
Alexander Capehart 37697abfce music: introduce new image loader cache
This will be used with the new SAF-loaded music files to show covers.
2024-11-27 17:48:16 -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 ffaff6f08e settings: fix broken count icon tints 2024-11-27 09:49:43 -07:00
Alexander Capehart c9d370048f playback: fix broken repeat one tint 2024-11-27 09:49:33 -07:00
Alexander Capehart b31562e250 home: make no music indicator follow edge-to-edge 2024-11-27 09:47:09 -07:00
Alexander Capehart e0bbb88e92 music: only compute song uid once 2024-11-27 09:46:59 -07:00
Alexander Capehart dd3b411beb home: fix no music indicator display 2024-11-27 09:46:46 -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
Alexander Capehart 144da8a3b5 music: temp strip down explorer & fix threading
Mostly for continued debugging
2024-11-26 20:13:04 -07:00
Alexander Capehart ba5f51dfe6 music: init loading progress at start 2024-11-26 20:12:44 -07:00
Alexander Capehart 6e4e818fd4 music: implement music locations dialog 2024-11-26 15:20:51 -07:00
Alexander Capehart 38ed432555 home: reflect no music state in tabs 2024-11-26 14:53:31 -07:00
Alexander Capehart 4618996fc5 music: integrate new loader into services 2024-11-26 13:55:37 -07:00
Alexander Capehart b0c6dd2b74 music: improve indexing progress 2024-11-26 13:11:08 -07:00
Alexander Capehart 0ba5ddce51 music: re-add library find functionality 2024-11-26 10:08:14 -07:00
Alexander Capehart 9d9f810356 music: re-add song deduplication 2024-11-26 10:05:17 -07:00
Alexander Capehart 3bf80073f4 music: fix indexing updates 2024-11-26 10:05:02 -07:00
Alexander Capehart 2f9ced2ac3 music: re-add event handling
Kinda scuffed, will probably split into low-level events
and do the MusicRepository interpret step in Indexer.
2024-11-26 09:54:52 -07:00
Alexander Capehart ba29905aa6 music: connect new loader to rest of app 2024-11-26 09:35:14 -07:00
Alexander Capehart e3d6644634 music: implement album linking 2024-11-25 20:24:21 -07:00
Alexander Capehart 608e249a87 music: fix extractor module 2024-11-25 20:24:13 -07:00
Alexander Capehart 9a990096da music: fix genre linker issues 2024-11-25 20:24:06 -07:00
Alexander Capehart c7f4f842f3 music: implement artist linking 2024-11-25 20:23:51 -07:00
Alexander Capehart db391da4b8 music: implement genre linking 2024-11-25 16:34:02 -07:00
Alexander Capehart d633a6b9f1 music: refactor tag extraction
- Include MediaMetadataRetriever use
- Separate interpretation into extension functions
- AudioFile is now immutable
- Removed any type of progressive AudioFile preparation
(like in the old loader)
2024-11-25 12:55:17 -07:00
Alexander Capehart 73ff7e2c7f music: connect stored playlists to loader 2024-11-25 10:19:16 -07:00
Alexander Capehart c4f4797028 music: build saf loader playlist boilerplate 2024-11-23 17:18:02 -07:00
Alexander Capehart ba9ab5a445 music: refactor new stack 2024-11-23 10:02:56 -07:00