Alexander Capehart
106194fa52
playback: add split screen playback form factor
2024-07-20 16:06:56 -06:00
Alexander Capehart
294c558b93
playback: fix brief pause when adding songs to playlists
2024-07-05 12:12:14 -06:00
Alexander Capehart
e035d81ee0
ui: try band-aiding bottom sheet flickering
...
Use an assumed peekHeight close to the real one and reduce the
jumpiness that appears in some cases.
Resolves #631 .
2024-07-04 11:44:36 -06:00
Alexander Capehart
e764e8b4e4
Merge branch '3.5.0' into dev
2024-06-20 22:00:00 -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
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
b0703b4d0e
playback: fix widget not resetting on service end
2024-06-08 21:44:48 -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
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
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
d5086fc3e6
Merge branch 'media3' into dev
2024-05-18 22:16:01 -06:00
Alexander Capehart
b955e2f3ab
playback: re-add notif content intent
2024-05-18 11:35:30 -06:00
Alexander Capehart
d21a7eee93
playback: more coherent notif action setup
2024-05-17 19:32:03 -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
b4cf6a9563
Merge branch 'media3' into dev
2024-04-20 15:04:51 -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
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
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
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
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
7503accada
playback: handle media item playback
2024-04-09 15:17:24 -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
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
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
Alexander Capehart
6d6b1665e5
all: reformat
2024-04-07 23:25:52 -06:00
Alexander Capehart
dbfe9927bf
playback: fix broken state restore
...
That didn't properly handle when the index was invalid and kept stale
song entries.
Resolves #723 .
2024-04-07 23:25:52 -06:00