Commit Graph
94 Commits
Author SHA1 Message Date
Alexander Capehart 880967f8be all: fix formatting 2024-12-16 20:47:17 -05:00
Alexander Capehart 3d94ab67cf musikr: re-implement playlist graphing 2024-12-16 20:13:08 -05:00
Alexander Capehart 47d5184e8d build: add dokka
Just to test API surface in the future.
2024-12-16 14:41:45 -05:00
Alexander Capehart 18c5b3618c build: fix spotless config
- Missing NOTICE
- CPP format was going too deep
2024-12-16 13:34:30 -05:00
Alexander Capehart e908d0e102 all: break off musikr 2024-12-16 13:09:08 -05:00
Alexander Capehart 1c85dc96e0 ktaglib: import taglib into project
This is getting out of hand. Anything for speed.
2024-12-12 12:05:22 -07:00
Alexander Capehart f25c98aa7e build: bump deps 2024-11-07 13:12:05 -07:00
Alexander Capehart 6406b49501 build: upgrade gradle/agp 2024-10-24 09:13:37 -06:00
Alexander Capehart 0f4702c4dd all: fix logging & anim unification
Can't bisect this without spending way too much time on it.
2024-10-18 16:10:08 -06:00
Alexander Capehart a46fa85d67 build: update to kotlin 2.0.0 2024-10-17 21:07:15 -06:00
Alexander Capehart a9a35c8055 build: update deps
nav -> 2.8.3
lifecycle -> 2.8.6
activity -> 1.9.3
2024-10-17 19:45:47 -06:00
Alexander Capehart d540d6f14c build: initial android 15 upgrade 2024-10-14 14:35:33 -06:00
Alexander Capehart fcae1ebee9 build: update deps
agp -> 8.5.0
material -> 1.13.0-alpha04
2024-07-20 18:45:45 -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 b19283002f build: update deps 2024-04-17 22:07:38 -06:00
Alexander Capehart 7e07c11d3a build: update deps 2024-04-12 14:01:24 -06:00
Alexander Capehart 94e29c0a1b build: upgrade deps 2024-04-08 21:14:22 -06:00
Alexander Capehart 22a22a883f service: unify playback and indexer
Playback and indexing now occur in the same service through a new
bridge called AuxioService.

AuxioService contains the existing service instances as Fragment
implementations, and then forwards typical service events to them
(albeit this will drift more and more as I continue to deal with
lifecycle issues).

This should be the first step in enabling true service independence,
as it means that the service will now immediately initialize and load
music as soon as possible.
2024-04-07 23:25:52 -06:00
Alexander Capehart b1c48f13fd build: update agp
AGP -> 8.2.0

Requires me to enable Java 8 desugaring for some...reason.
2023-12-16 11:04:01 -07:00
Alexander Capehart f4518eb70f build: update deps
Forgot to update ksp.
2023-10-16 21:36:41 -06:00
Alexander Capehart 73ef51c8be build: update deps 2023-10-16 20:06:50 -06:00
Alexander Capehart 58989f8568 build: revert to navigation 2.5.3
I would have to duplicate the workaround for every fragment in the
project. Easier to just roll back until it's fixed.
2023-08-16 19:58:38 -06:00
Alexander Capehart b43e4695c0 build: update deps
fragment: 1.6.0 -> 1.6.1
preferences: 1.2.0 -> 1.2.1
room: 2.6.0-alpha02 -> 2.6.0-alpha03
material: 1.10.0-alpha05 -> 1.10.0-alpha06
media: 1.1.0 -> 1.1.1
2023-08-16 15:11:52 -06:00
Alexander Capehart 68a9ce7b09 build: update deps
I didn't fully keep track of what I did this time, mostly since I was
busy wrangling some of the insane build issues from this gradle update.
2023-07-25 14:35:26 -06:00
Alexander Capehart 97816e349a build: update deps
Media3 -> 1.1.0. Update project info accordingly to use Media3
ExoPlayer instead of standalone ExoPlayer.
Nav -> 2.6.0 once again, probably without the absurd bugs now
Kotlin -> 1.9.0
Kotlin Coroutines -> 1.7.2
LeakCanary -> 2.12
2023-07-11 10:30:41 -06:00
Alexander Capehart ff45380857 build: downgrade navigation to 2.5.0
Temporarily band-aids #492.
2023-07-04 21:46:43 -06:00
Alexander Capehart 6b43a65e56 build: update to api 34
Update the app to target API 34, alongside all dependencies that expect
such.

This finally fixes some long-standing issues in newer version of MDC,
thus allowing me to remove the divider backport as well.

More work is required for predictive back (don't even know where I
start with that...), but this is a good start.
2023-06-15 13:06:17 -06:00
Alexander Capehart 21a6b97bfa build: update deps
AGP -> 8.0.2
Coil -> 2.4.0
2023-05-25 12:59:45 -06:00
Alexander Capehart 049d2bc152 build: update deps 2023-05-20 20:14:00 -06:00
Alexander Capehart 5bf5687ccf build: update agp to 8.0.1 2023-05-12 16:30:18 -06:00
Alexander Capehart e68cc4d620 build: update deps
Update a huge amount of dependencies. Forgot specifically what I
did.
2023-05-11 15:42:47 -06:00
Alexander Capehart f0d62e8176 deps: update deps
Lifecycle -> 2.6.0
Spotless -> 6.17.0 (Allows file name field to be used)
2023-03-17 15:13:11 -06:00
Alexander Capehart 4f7ed359ae deps: update
kotlin -> 1.8.10
AGP -> 7.4.2
2023-03-04 22:11:35 -07:00
Alexander Capehart 83c5b85424 deps: update
Spotless -> 6.15.0
Core -> 1.9.0
2023-02-24 21:57:01 -07:00
Alexander Capehart 192b917904 music: actually remove dependence on dcoders
Actually remove dependence on the non-audio decoders in the music
(and image) modules.
2023-02-19 13:08:44 -07:00
Alexander Capehart 458f2a5d84 deps: upgrade deps
ExoPlayer -> 2.18.3
Dagger -> 2.45
Coil -> 2.2.2
AGP -> 7.4.1
Gradle -> 8.0
2023-02-19 10:24:54 -07:00
Alexander Capehart ccbd77918b all: add di framework
Add dagger/hilt dependency injection.

Does nothing right now, will actually add modules later.
2023-01-29 19:55:53 -07:00
Alexander Capehart f27215a4be playback: use room for persistence
Finally give up and use Room to persist the playback state.

This should make dependency injection much easier, and the
implementation isn't exactly the *worst*, as I was already using
"raw" data structures for the old queue database.
2023-01-23 12:45:55 -07:00
Alexander Capehart c32b31cd2e build: upgrade deps
Kotlin -> 1.7.21
ExoPlayer -> 2.18.2
Fragment -> 1.5.5
2022-12-16 08:48:32 -07:00
Alexander Capehart 42aba9e556 music: add artist count to genres
Add an artist count to genres.

This should make genres more unique from future playlists. A list of
artists will be added later on.
2022-11-12 19:18:48 -07:00
Alexander Capehart df435a12b8 playback: fix detail remember shuffle
Fix remember shuffle not working in the detail views.
2022-10-18 19:09:33 -06:00
Alexander Capehart 5c76838f69 build: upgrade deps
Upgrade the dependencies I can without breaking the app:
core -> 1.9.0
activity -> 1.6.0
fragment -> 1.5.3
nav -> 2.5.2
2022-09-23 10:35:16 -06:00
Alexander Capehart 62ee46cfe6 music: add multi-artist support
Add semi-complete support for multiple artists.

This changeset completely reworks the music linker to add the following
new behaviors:
1. Artists are now derived from both artist and album artist tags,
with them being linked to songs and albums respectively
2. Albums and songs can now have multiple artists that can be distinct
from eachother
3. Previous Genre picking infrastructure has been removed and replaced
with artist picking infrastructure. "Play from genre" has been retired
entirely.

This is a clean break to the previous artist model and may not work
with all libraries. Steps to migrate the music library will be added
to the changelog.

Resolves #195.
2022-09-23 10:15:28 -06:00
Alexander Capehart 09823d7829 all: reformat code
Simultaniously reformat code using ktlint and ktfmt.
2022-09-08 21:04:51 -06:00
Alexander Capehart 4d02dfb578 playback: rework controller into InternalPlayer
Rework the Controller interface into a standalone interface called
InternalPlayer.

This is mostly preparation for further changes.
2022-08-29 09:13:37 -06:00
Alexander Capehart cafead8a88 deps: upgrade to android 13 [#129]
FINALLY upgrade to android 13.

I cannot believe it had to take until the release of the version to
finally update the SDK version, but of course it had to. For some
insane reason that I have no idea why it passed QA, the 33 SDK had
a crippling issue where attributes were not recognized. The only
way to fix this was to:

1. Upgrade to the newer studio version (Chipmunk Patch 2)
2. Upgrade to AGP 7.3.0-beta05.

Funny thing though. AGP 7.3.0 IS NOT COMPATIBLE WITH CHIPMUNK. Okay,
so we can upgrade to Dolphin then and then we can use AGP, right?
HAHAHA NOPE! Dolphin hasn't patched out the XML issue yet despite
every other release channel having a release on August 3rd. Did
some engineer at google just forget to make a release? What?

Okay, so I guess I'm forced to use Electric Eel, the UNSTABLE CANARY
VERSION that IS FILLED WITH BUGS. But oh wait, Electric Eel doesn't
like AGP 7.3.0 EITHER! It wants AGP 7.4.0, which IS ALSO IN ALPHA.
So, I'm forced to use the ALPHA studio and the ALPHA AGP version just
to use the android 13 SDK in a way that is not completely unbearable.

The android SDK, everyone.

(This is not a cry for help, I just want to write down my infinite
frustration with this stupid goose chase somewhere)
2022-08-15 19:54:37 -06:00
OxygenCobalt f6429a878a build: upgrade deps
Upgrade dependencies

AGP -> 7.2.2
Activity -> 2.5.1
Fragment -> 2.5.1
Lifecycle -> 2.5.1
Navigation -> 2.5.1
2022-08-04 11:52:57 -06:00
OxygenCobalt 41ff92a587 deps: upgrade
Update deps:
Kotlin -> 1.7.10
Navigation -> 2.5.0
Lifecycle -> 2.5.0
Activity -> 1.5.0
Fragment -> 1.5.0
2022-07-07 12:08:17 -06:00
OxygenCobalt 9b13b4c94e music: revamp excluded into music dirs
Completely rework the excluded directory system into a new
"Music Folders" system.

This is implemented alongside a new "Include" mode. This mode
allows the user to restrict music indexing to a parsicular folder.
I've been reluctant to add this feature, as having two separate
options seemed bad. This resolves it by effectively packing whether
to include/exclude directories into a single option.

Resolves #154.
2022-06-12 15:55:25 -06:00
OxygenCobalt f34ea7f863 deps: upgrade deps
Once again
Gradle -> 7.4.2
Spotless -> 6.6.1
Ktfmt -> 0.67
2022-05-26 10:29:41 -06:00