Commit graph

1839 commits

Author SHA1 Message Date
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
f1e1152e21
music: make compat more menu
This way we can make sure that external providers never truncate our
MediaItem count.
2024-08-28 10:13:36 -06:00
Alexander Capehart
e23ac33b85
music: reformat 2024-08-28 09:21:23 -06:00
Alexander Capehart
66c31f4318
playback: apply missing extras 2024-08-28 09:21:03 -06:00
Alexander Capehart
30b3603cf1
music: move search/notif out of service fragment
Generally cleaner this way
2024-08-28 08:42:59 -06:00
Alexander Capehart
f30c426c77
music: apply headers to all mediaitems 2024-08-27 16:52:22 -06:00
Alexander Capehart
35646d6a2d
playback: re-add headers to search 2024-08-27 16:51:31 -06:00
Alexander Capehart
f0dda6c43e
all: cleanup 2024-08-27 16:48:56 -06:00
Alexander Capehart
924e3d1801
music: re-add search browsing 2024-08-27 16:46:44 -06:00
Alexander Capehart
b1e871c6e1
music: re-add music browsing 2024-08-27 16:46:34 -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
d91343070a
build: bump to 3.5.3
Bump the version to 3.5.3 (49)
2024-08-23 13:44:00 -06:00
Alexander Capehart
2c976374f3
tasker: use translated tasker action description 2024-08-21 13:58:19 -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
aa140bebaa
all: reformat 2024-08-14 18:58:59 -06:00
Alexander Capehart
dad0d75d97
music: avoid foreground crash from early loading 2024-08-14 18:53:04 -06:00
Alexander Capehart
67e51ab54c
widgets: decrease bitmap reduction 2024-08-14 18:49:56 -06:00
Alexander Capehart
ba46895ad1
widget: increase bitmap reduction 2024-08-14 18:49:48 -06:00
Alexander Capehart
d10f84efa8
widgets: move size fixing into a transform 2024-08-14 18:49:37 -06:00
Alexander Capehart
7a00c3c6aa
music: parse singular spaced artist tags
On ID3 and Vorbis.
2024-08-14 18:47:51 -06:00
Alexander Capehart
f0bf7af7b4
Merge branch 'playback' into dev 2024-07-29 21:38:36 -06:00
Alexander Capehart
86d9d957a2
music: propose file name as playlist name 2024-07-29 21:38:13 -06:00
Alexander Capehart
9299e03e95
widget: mitigate bitmap size calculation bug 2024-07-29 19:10:19 -06:00
Alexander Capehart
e351a91a9c
playback: do not leak indexerservicefragment 2024-07-29 18:28:05 -06:00
Alexander Capehart
9bc27a49eb
music: start indexing after bind/start command 2024-07-29 18:27:42 -06:00
Alexander Capehart
b020285e9f
main: simplify speed dial management 2024-07-22 19:06:39 -06:00
Alexander Capehart
a2d4b6e50b
all: cleanup 2024-07-20 21:39:32 -06:00
Alexander Capehart
2ecb94c97e
widgets: reduce cover size limit
Some double whammy of non-1:1 album cover support and new widget forms
apparently blew the bitmap memory capacity of widgets on some devices.

Reduce the threshold further in the hope that it'll work. Really hope
this isn't that Android 12 bug where the bitmap size calculation is
duplicated across all RemoteView persisting in these devices too.
2024-07-20 19:46:07 -06:00
Alexander Capehart
609a5f18bf
playback: fix broken queue sheet scroll 2024-07-20 18:33:23 -06:00
Alexander Capehart
7a7843f7f9
playback: fix stuck corner radius on window resize 2024-07-20 18:19:35 -06:00
Alexander Capehart
af1ec40dbe
detail: fix issues on small form factors 2024-07-20 16:29:04 -06:00
Alexander Capehart
106194fa52
playback: add split screen playback form factor 2024-07-20 16:06:56 -06:00
Alexander Capehart
95469a554c
ui: fix multitoolbar animation error
Was misusing the material animation, this should be in line w/spec
2024-07-20 15:21:51 -06:00
Alexander Capehart
dc1fe604c4
detail: fix no divider rendering w/artist albums 2024-07-20 15:01:23 -06:00
Alexander Capehart
f3b73a5196
home: extract fab system to home 2024-07-20 14:52:03 -06:00
Alexander Capehart
80dac7d9e9
detail: eliminate dead code 2024-07-20 13:52:13 -06:00
Alexander Capehart
2f21b12beb
ui: make multitoolbar transition m3 2024-07-20 13:32:06 -06:00
Alexander Capehart
d909f2d98e
detail: make playlist view use collapsing toolbar 2024-07-20 13:13:56 -06:00
Alexander Capehart
6ea7233626
detail: make genre view use collapsing toolbar 2024-07-20 13:13:21 -06:00
Alexander Capehart
0eb3ede8ec
detail: make artist view use collapsing toolbar 2024-07-20 12:54:04 -06:00
Alexander Capehart
04265d5285
home: remove logging spamming the console 2024-07-20 11:21:24 -06:00
Alexander Capehart
86e2fd7a89
detail: make album view use collapsing toolbar 2024-07-20 11:19:18 -06:00
Alexander Capehart
24dbd04ca6
music: fix broken name comparator 2024-07-10 06:51:32 -06:00
Alexander Capehart
82a015c1e1
music: handle null mediastore album name
Mostly a band-aid to make null album names correspond to a folder name
(the standard MediaStore behavior).
2024-07-05 17:32:39 -06:00
Alexander Capehart
294c558b93
playback: fix brief pause when adding songs to playlists 2024-07-05 12:12:14 -06:00
Alexander Capehart
a959933036
ui: use z transitions everywhere
Semantically correct, and now reasonable since the UI is no longer
clipped.

Will do shared element at some point once they have predictive
back support.
2024-07-04 22:26:59 -06:00
Alexander Capehart
3d177b05f1
all: cleanup 2024-07-04 15:44:15 -06:00
Alexander Capehart
b89499fb36
ui: only offset bottom sheet content via insets 2024-07-04 15:24:50 -06:00
Alexander Capehart
ec5aca0b4c
home: hide fab when bottom sheet expands 2024-07-04 15:23:05 -06:00
Alexander Capehart
b09237c914
playback: more standard queue sheet fading 2024-07-04 15:07:39 -06:00
Alexander Capehart
0b8c3abd7f
playback: add predictive back to queue 2024-07-04 14:01:53 -06:00
Alexander Capehart
deaed1fb79
playback: add predictive back to playback sheet 2024-07-04 13:14:12 -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
27fb1d1823
Merge branch 'master' into dev 2024-07-04 10:10:02 -06:00
Alexander Capehart
a6716293cd
music: reformat 2024-07-03 21:55:54 -06:00
Alexander Capehart
baaf30ff2f
list: add name sort fallback 2024-07-03 21:45:54 -06:00
Alexander Capehart
c761544eb7
list: fix sort regressions 2024-07-03 20:41:47 -06:00
Alexander Capehart
4c92ac0f85
list: dont abuse comparators for sort
Likely causing crashes with how they are set up.
2024-06-29 19:25:59 -06:00
Alexander Capehart
c8fa389267
music: add stack trace to async load task error 2024-06-28 20:23:29 -06:00
Alexander Capehart
368c8cf00f
music: sort songs by individual date first
While still falling back to the album date for libraries that have the
same date for all songs (like mine)

Resolves #797.
2024-06-22 13:44:42 -06:00
Alexander Capehart
5f73201c9c
home: disable progress indicator on home
Likely consuming too much CPU given the frequency of updates
2024-06-22 12:55:02 -06:00
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