Alexander Capehart
f4589616be
music: simplify disc number resolution
...
Introduce a resolveDisc extension function to share disc name
resolution between detail/browser
2024-10-14 12:46:05 -06:00
Alexander Capehart
751cd94736
service: re-add attach pattern
...
Turns out I can't actually couple creation/attach without creating a
huge amount of variable issues.
2024-10-14 12:46:04 -06:00
Alexander Capehart
cbdad3fe39
all: reformat/fixes
2024-10-14 12:46:04 -06:00
Alexander Capehart
f4e1681044
all: reformat
2024-09-13 13:35:48 -06:00
Alexander Capehart
a3af24688a
playback: use factory pattern
2024-09-13 13:35:46 -06:00
Alexander Capehart
48568d2a1d
playback: fix mediasessionholder package
2024-08-29 21:05:48 -06:00
Alexander Capehart
3af81404ac
playback: fix mediasessionholder instantiation
2024-08-29 21:05:35 -06:00
Alexander Capehart
2bc4ed020b
playback: fix broken mediasession lifecycle
2024-08-29 21:03:26 -06:00
Alexander Capehart
bf50867b37
all: various cleanup
2024-08-29 09:31:27 -06:00
Alexander Capehart
889713d5e0
playback: improve queue item setup
...
- Use same media description code
- Make queue removal more reliable
2024-08-29 09:30:24 -06:00
Alexander Capehart
130d30c70d
playback: immprove search error cases
2024-08-28 16:38:39 -06:00
Alexander Capehart
a712a773b0
playback: correctly voice search for music
...
Completely misunderstood how "focus" worked.
2024-08-28 16:35:30 -06:00
Alexander Capehart
b2e7c1eb50
playback: basic play from search functionality
2024-08-28 15:52:42 -06:00
Alexander Capehart
cce33e1414
playback: improve published playback metadata
2024-08-28 14:09:27 -06:00
Alexander Capehart
ba5bccaa37
playback: remove specific queue item in android auto
2024-08-28 13:58:46 -06:00
Alexander Capehart
3dea060a28
all: cleanup
2024-08-28 13:29:48 -06:00
Alexander Capehart
44f9617307
playback: add missing session actions
2024-08-28 13:29:24 -06:00
Alexander Capehart
916c3c46df
playback: split up mediasession interface and holder
2024-08-28 13:26:52 -06:00
Alexander Capehart
f0dda6c43e
all: cleanup
2024-08-27 16:48:56 -06:00
Alexander Capehart
69070e7b13
playback: port basic media descriptions
2024-08-27 10:33:54 -06:00
Alexander Capehart
e43f55bc78
service: drop media3 session entirely
2024-08-26 17:53:03 -06:00
Alexander Capehart
c1e5adbc44
media: unwind tightly bound action handling
2024-08-23 13:55:49 -06:00
Alexander Capehart
cc7f9ba539
tasker: fix player main thread bugs on restore
2024-08-21 13:58:01 -06:00
Alexander Capehart
ea9c5d3c88
tasker: add start action
...
Add a tasker action to start AuxioService in a HIGHLY limited ammner.
Resolves #754 .
2024-08-17 18:21:39 -06:00
Alexander Capehart
3fa5628a1e
playback: introduce foreground-safe restores
...
- Allow DeferredPlayback.RestoreState to force-start playback
- Allow DeferredPlayback.RestoreState to specify a fallback action
guaranteed to succeed
2024-08-17 18:10:55 -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
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
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
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