Commit Graph
1951 Commits
Author SHA1 Message Date
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
Alexander Capehart fc90d460dc image: use shapeappearance in coverview 2024-04-19 10:26:53 -06:00
Alexander Capehart 6c640909f7 ui: clean up material3.1 changes 2024-04-18 14:04:43 -06:00
Alexander Capehart c90b9e5827 playback: standardize tints 2024-04-17 22:30:31 -06:00
Alexander Capehart 6c919ccd8b widget: fix corner radius on default 2024-04-17 22:26:44 -06:00
Alexander Capehart 7995d3ac98 ui: material 3.1 (first draft)
I'm mostly cowboying through patching things to look nice. I'll re-add round mode
configs and actually try to migrate to standard spacing later.
2024-04-17 22:07:50 -06:00
Alexander Capehart b19283002f build: update deps 2024-04-17 22:07:38 -06:00
Alexander Capehart 754762b24d ui: new app icon
The first march towards material design 3.1.
2024-04-17 19:50:44 -06:00
Alexander Capehart f04e05ad50 playback: immediately ack index moves
Handling them later in the callback is no longer needed now that we have
the MediaSession shim, and it caused desyncs in ReplayGain support.
2024-04-17 19:50:44 -06:00
Alexander Capehart a3e74cbd1e music: update search results when library changes 2024-04-14 12:59:31 -06:00
Alexander Capehart c8571a4df3 playback: fix broken play actions 2024-04-14 12:16:38 -06:00
Alexander Capehart 02b7acd1c5 music: update search results as well 2024-04-14 12:15:16 -06:00
Alexander Capehart 583e984c70 playback: hide exoholder save impl 2024-04-12 14:04:51 -06:00
Alexander Capehart aac39b771d music: sort mediaitems sent in browser 2024-04-12 14:04:28 -06:00
Alexander Capehart 7e07c11d3a build: update deps 2024-04-12 14:01:24 -06:00
Alexander Capehart 07b17caf8f music: fix mediaitem library update logic 2024-04-12 13:58:53 -06:00
Alexander Capehart 3a4ddb43b9 service: handle non-native start
Restore the state by default when another app starts the service.

A simple first step to ensure service independence (no clue if it's
enough)
2024-04-12 13:57:11 -06:00
Alexander Capehart be23208f72 service: break into components 2024-04-11 23:48:45 -06:00
Alexander Capehart 24097af28c playback: cleanup 2024-04-11 15:09:44 -06:00
Alexander Capehart 0ca928a477 playback: tweak media3 command surface 2024-04-11 15:09:25 -06:00
Alexander Capehart fb15791c2f playback: backfill
Forgot to add these to other commits
2024-04-11 15:09:00 -06:00
Alexander Capehart 33916deb5c playback: remove joined uids from parents
Not needed.
2024-04-11 15:08:34 -06:00
Alexander Capehart 3b14c35c2d music: fix mediaitem pagination 2024-04-11 15:07:36 -06:00
Alexander Capehart 43a8041d0a build: update media to 1.3.1 2024-04-11 15:06:55 -06:00
Alexander Capehart c69d3cac54 info: flag android auto support
Technically possible now, have not been able to test.
2024-04-11 15:06:16 -06:00
Alexander Capehart 1e0c7cebcf service: fix search endlessly loading 2024-04-11 14:37:57 -06:00
Alexander Capehart 9b09572382 playback: properly play media items from command
By default it actually routes them to add them
2024-04-11 14:36:56 -06:00
Alexander Capehart 1f9f62b0da playback: fix wraparound with repeat once 2024-04-10 19:48:28 -06:00
Alexander Capehart bd890880a3 playback: restore repeat modes again 2024-04-10 19:47:56 -06:00
Alexander Capehart 74551e83ab playback: fix being unable to exit fg 2024-04-10 19:30:49 -06:00
Alexander Capehart 99a527983b service: break up
Break up the monster AuxioService into sub-classes, keeping just the
major lifecycle and music stuff in AuxioService for now (which will
likely be split out itself eventually)
2024-04-10 19:18:04 -06:00
Alexander Capehart 5b8518a567 playback: move most ops to player
This allows me to handle foreign MediaItem events easily. Not tested,
don't have time.
2024-04-10 10:05:20 -06:00
Alexander Capehart 05101c0e08 service: implement onGetItem
Should round out the rest of the MediaSession interface I need. Now
just have to hook up to Android Auto.
2024-04-09 22:44:30 -06:00
Alexander Capehart 48275c4698 service: add search functionality
I cannot tell if this actually works yet.
2024-04-09 22:28:32 -06:00
Alexander Capehart e9a4b99aa5 service: dead code removal 2024-04-09 15:35:36 -06:00
Alexander Capehart 62d3c2dfb1 service: unify foreground management 2024-04-09 15:27:56 -06:00
Alexander Capehart 7503accada playback: handle media item playback 2024-04-09 15:17:24 -06:00
Alexander Capehart 64b9557793 playback: always enable skipping 2024-04-08 21:15:15 -06:00
Alexander Capehart 08e00c7fb1 playback: use custom service lifecycle 2024-04-08 21:15:04 -06:00
Alexander Capehart 94e29c0a1b build: upgrade deps 2024-04-08 21:14:22 -06:00
Alexander Capehart 04ea6834fb playback: rearchitecture around media3 (prototype)
Nowhere near complete in any capacity.
2024-04-07 23:25:53 -06:00
Alexander Capehart 6491dddc2b build: bump to 3.4.3
Bump to version 3.4.3 (44).
2024-04-07 23:25:53 -06:00
Alexander Capehart da07be26f4 playback: re-add replaygain off mode
It was honestly foolish for me to recommend retagging.

Resolves #746.
2024-04-07 23:25:53 -06:00
Alexander Capehart dc51c84c54 home: handle playback decision event
Forgot to add this.

Resolves #734.
2024-04-07 23:25:53 -06:00
unrenowned b075f8ec51 playback: fix playNext wraparound with Repeat All
ExoPlayer method for fetching next media item respects Repeat All, which
on the last song of a queue causes playNext to wrap around and insert
the songs at the start of the queue. New code fetches next song as if
repeat were turned off, so the songs will always be added to the end of
the queue.
2024-04-07 23:25:53 -06:00
unrenowned e0352a105a playback: fix playNext crash on last song of queue
Fixes OxygenCobalt/Auxio#735. ExoPlayer method for fetching next media
item returns C.INDEX_UNSET (-1) when used on the last song of a queue,
which is not a valid index for ExoPlayer.addMediaItems(). New code just
adds songs to the end of the queue if there isn't a next song.
2024-04-07 23:25:53 -06:00
Alexander Capehart 8221e98401 playback: fix add to queue again 2024-04-07 23:25:53 -06:00
Alexander Capehart f5bc31a00f home: fix crash on music updates 2024-04-07 23:25:53 -06:00
Alexander Capehart 2a0624f860 playback: fix more state restore issues
They just keep coming. I hate how complicated this system is.
2024-04-07 23:25:53 -06:00