Commit Graph
1868 Commits
Author SHA1 Message Date
Alexander Capehart 043bc22eea music: avoid absurd thread creation in indexing
Instead of running MetadataRetriever multiple times, creating possibly
thousands of threads, instead just have one thread that loads multiple
MediaItems at once on a rolling basis using a patched MetadataRetriever.
2024-06-22 12:47:48 -06:00
Alexander Capehart 5707aa1d31 Merge branch 'dev' of github.com:OxygenCobalt/Auxio into dev 2024-06-20 22:00:24 -06:00
Alexander Capehart e764e8b4e4 Merge branch '3.5.0' into dev 2024-06-20 22:00:00 -06:00
Alexander Capehart 296d9c3ca3 music: disable perceptual cover art keying
Too slow, need to aggressively optimize the music loader before even
THINKING about this, and if anything likely defer it.
2024-06-20 21:54:49 -06:00
Alexander Capehart d27e714ce6 Merge branch 'music-fixes' into 3.5.0 2024-06-20 21:08:58 -06:00
Alexander Capehart 5861d1db87 music: use both ogg/mp3 style mb tags at once
Apparently both can exist on both types of files, and grouping will
break as a result due to MBID mismatch.
2024-06-13 19:50:53 -06:00
Alexander Capehart 96d4a84f52 playback: fix parent restore
A single missed savedState access blew up parent restore silently, and
in some other cases with non-destructive queue restores would also not
restore the parent.
2024-06-12 20:32:32 -06:00
Alexander Capehart 5a36cfee67 music: disable timeouts
This isn't working right now due to how LONG it takes to actually load
images.
2024-06-12 19:12:20 -06:00
Alexander Capehart ba0d2cd879 playback: add tab icons 2024-06-09 20:25:33 -06:00
Alexander Capehart 4f71dba90e playback: fix various android auto issues
- Broken queue
- Unusable item details
2024-06-09 19:43:08 -06:00
Alexander Capehart a9e7ae398c playback: fix service memory leak 2024-06-09 16:52:27 -06:00
Alexander Capehart cff700231e playback: fix android auto queue crash 2024-06-09 16:52:16 -06:00
Alexander Capehart dbe7bdf1c3 music: fix m3u volume processing 2024-06-09 16:50:31 -06:00
Alexander Capehart d117f16081 image: prefer exoplayer over aosp covers
Will actually handle files with multiple covers. Could lead to more
performance concerns, but that's also the same with AOSP too.
2024-06-09 13:13:54 -06:00
Alexander Capehart b0703b4d0e playback: fix widget not resetting on service end 2024-06-08 21:44:48 -06:00
Alexander Capehart 111cb9688f tasker: completely remove 2024-06-08 21:44:15 -06:00
Alexander Capehart 643defd9e4 playback: fix play song by itself
Accidental misup led to it playing from all songs instead
2024-06-08 19:21:06 -06:00
Alexander Capehart d906b87d76 all: reformat 2024-06-08 19:20:18 -06:00
Alexander Capehart 8b2634df4d music: handle total absolute m3u paths
Some players like generating M3Us with paths starting with
/storage/.../..., so I need to handle those too.
2024-06-08 15:06:04 -06:00
Alexander Capehart c4a3d52903 playback: fix skip backward rewind w/enabled
New player setup accidentally broke rewind at beginning behavior when
rewind before skip is off.

Resolves #785
2024-06-08 12:22:08 -06:00
Alexander Capehart 1c74f05222 all: fixes/reformat 2024-06-08 11:58:18 -06:00
Martin K 5767094519 ui: disable swiping on overridden overflow menus 2024-06-05 21:54:52 +03:00
Alexander Capehart 27e39b6c10 music: interpret m3u paths as relative & absolute
Resolves #673
2024-05-26 21:51:12 -06:00
Alexander Capehart 4e86a2f703 home: tune speed dial anim 2024-05-20 14:22:20 -06:00
Alexander Capehart b824ef40fb playback: fix album/artist marquee 2024-05-20 12:13:20 -06:00
Alexander Capehart d293cc86b0 ui: clean out self-rolled dimens
Lots of cruft has built up with my dimensions, partially collapse them
into a more consistent set of re-usable dimens (within reason) and try
to delegate to MDC as much as possible.
2024-05-20 12:08:32 -06:00
Alexander Capehart f742aa7592 ui: use material transitions on some shapes
These look a lot better than the old ones.
2024-05-18 23:16:09 -06:00
Alexander Capehart 5b2985fd6b service: remove tasker stuff 2024-05-18 22:30:34 -06:00
Alexander Capehart d5086fc3e6 Merge branch 'media3' into dev 2024-05-18 22:16:01 -06:00
Alexander Capehart 0f691ee65b tasker: remove
Can't do this right now, lifecycle is broken.
2024-05-18 17:35:04 -06:00
Alexander Capehart b955e2f3ab playback: re-add notif content intent 2024-05-18 11:35:30 -06:00
Alexander Capehart 3a24116b53 about: remove yrliet sponsor 2024-05-17 22:05:17 -06:00
Alexander Capehart 51309ebabb tasker: plugin tweaks 2024-05-17 21:07:41 -06:00
Alexander Capehart d21a7eee93 playback: more coherent notif action setup 2024-05-17 19:32:03 -06:00
Alexander Capehart e1e1e63dbb playback: basic tasker plugin
No idea if this works. Should be helpful for testing more service
independence stuff.
2024-05-17 19:02:08 -06:00
Alexander Capehart 8e5d061af5 playback: re-add old swap move
Turns out this did have a reason to exist, ExoPlayer doesn't have intrinsic
capabilities to update the shuffle order on moves.
2024-05-17 16:18:39 -06:00
Alexander Capehart 66db61899c playback: remove custom bitmap loading
Media3 simply will not tolerate me doing this. I am basically stuck
at the mercy of the Android OS now, until I can have my own unified
source of truth with cover loading.
2024-05-17 15:38:12 -06:00
Alexander Capehart 9087ad5e45 playback: remove custom bitmap loading
Media3 simply will not tolerate me doing this. I am basically stuck
at the mercy of the Android OS now, until I can have my own unified
source of truth with cover loading.
2024-05-17 13:38:12 -06:00
Alexander Capehart 0a3382cafd Merge branch 'media3' into dev 2024-04-29 11:10:03 -06:00
Alexander Capehart aec08bb48b all: reformat/fixes 2024-04-22 10:46:44 -06:00
Alexander Capehart a4838cefaa image: properly differentiate cover types
- If we could find an embedded cover, then we can treat it as a
per-song cover
- Otherwise, just do our old album-based behavior.
2024-04-22 10:44:03 -06:00
Alexander Capehart e687658874 image: properly handle uniqueness of non-embedded covers
Use a UID instead. This is non-ideal but all we can do.
2024-04-22 08:36:59 -06:00
Alexander Capehart b4cf6a9563 Merge branch 'media3' into dev 2024-04-20 15:04:51 -06:00
Alexander Capehart 657b8267f1 list: clamp item drag speed
Resolves #686
2024-04-20 14:56:45 -06:00
Alexander Capehart 51406deaa7 image: complete per-song album covers
- Implement perceptual hashing algorithm to efficiently cache images
- Efficiently pre-sort cover sources to make cover images load without
freezing and look more pleasing

Resolbes #342.
2024-04-20 14:31:38 -06:00
Alexander Capehart bd330f0c71 image: basic per-song album covers
Without any good caching support, so this will immediately break down.
2024-04-19 22:16:50 -06:00
Alexander Capehart 8b7b916489 playback: fix notif issues on older devices
- Slight coroutine delay in cover fetch causes the notif to flicker
- Default play/pause actions look absolutely hideous
2024-04-19 19:08:30 -06:00
Alexander Capehart b99cd96726 playback: fix task removal 2024-04-19 16:08:37 -06:00
Alexander Capehart 823e04b073 playback: resize elements
- Center toolbar fully to look better w/o text spacing
- Move more button back to song info since it's semantically closer there
2024-04-19 13:19:54 -06:00
Alexander Capehart 9990e00a4a playback: make bottom sheet behavior more in-spec
Don't gradually fade out until the very end, reduce the corner radii
at the very end, fix elevation, delift elevation at the very end.

More tweaks are probably needed here to make it look good.
2024-04-19 11:04:24 -06:00