Commit graph

2372 commits

Author SHA1 Message Date
OxygenCobalt
ec4ca16658
app: upgrade to android 12
Add preliminary compat for android 12 [API 31]. More changes may be
needed as time goes on, but its close enough to platform stability
to the point where its needed.
2021-07-29 10:49:18 -06:00
OxygenCobalt
cd0167405e
Version 1.4.1
Ready for version 1.4.1 of Auxio.
2021-07-29 10:02:16 -06:00
OxygenCobalt
9d04799345
prefs: make black theme default to off
The black theme's defaultValue attribute was set to true accidentally.
Fix that.
2021-07-29 09:56:26 -06:00
OxygenCobalt
cf67612042
chore: upgrade deps
Gradle -> 7.0.2
Android -> 7.0.0
Coil -> 1.3.0
Activity -> 1.3.0
Kotlin -> 1.5.21
2021-07-29 09:43:28 -06:00
OxygenCobalt
814232484d
Merge pull request #31 from qwerty287/fix-translation
Fix German translations
2021-07-23 15:54:28 +00:00
qwerty287
44570309ad
Fix German translations 2021-07-23 08:52:06 +02:00
OxygenCobalt
2e278aef8a
behavior: add option to pause when a song repeats
Add a new option to pause playback whenever a song loops [e.g while in
LoopMode.TRACK]. This does mean that we can no longer use exoplayer's
native looping system, but it doesn't seem to be that much of an issue.

Resolves #29.
2021-07-22 17:00:51 -06:00
OxygenCobalt
33332dbf6b
chore: upgrade deps
androidx activity -> 1.2.4
androidx fragment -> 1.3.5
androidx media -> 1.4.0
exoplayer -> 2.14.2
coil -> 1.3.0
2021-07-22 13:38:18 -06:00
OxygenCobalt
20d9951074
Merge pull request #28 from Poussinou/patch-1
Remove the IzzyOnDroid button from the README.
2021-07-16 22:04:57 +00:00
Poussinou
370e8042ec
Update README.md 2021-07-16 17:30:26 +02:00
OxygenCobalt
85081c385f
chore: upgrade dependencies
Yet another dependency upgrade churn:
Android Plugin -> 4.2.2
Material -> 1.4.0
Androidx Core -> 1.6.0

Apparently material deprecated a bunch of BottomNavigationView's stuff
for no good reason. Okay.
2021-07-12 10:43:05 -06:00
OxygenCobalt
07b16ec902
fastlane: add icon
It turns out F-Droid can't determine the icon of an app if it's
adaptive [#25]. Add an icon to the fastlane metadata so thats fixed.
2021-07-08 16:20:06 -06:00
OxygenCobalt
b88628f558
strings: reformat spanish translations
Reformat the new spanish [es] translations to line up with the rest of
the translation files.
2021-07-07 13:10:55 -06:00
OxygenCobalt
977deeef32
Merge pull request #23 from Tesphil/patch-1
Updated Spanish strings.
2021-07-07 17:04:29 +00:00
OxygenCobalt
5502b96c49
Merge branch 'offa-fdroid' into dev
Add an F-Droid link to the README
2021-07-06 19:46:38 -06:00
offa
2987f7c02e F-Droid link added. 2021-07-06 22:21:54 +02:00
Tesphil
60aafc6e4c
Updated Spanish strings.
I just... Updated the Spanish strings, I don't know if I did it right, it's my first time.
2021-07-05 20:26:20 -06:00
OxygenCobalt
eca8a992c5
Merge pull request #22 from offa/permission_doc
Add permission documentation to the README.md.
2021-07-02 08:59:43 -06:00
OxygenCobalt
fef5e4d9f9
style: improve black theme colors
Improve the black theme selection color by merging it with the dark
theme selection coler. This makes the selection color both more
noticable and reduces the style complexity that came from having to
manage two different selection colors.
2021-07-02 08:56:03 -06:00
OxygenCobalt
cb74196155
docs: remove access_network_state
Remove ACCESS_NETWORK_STATE from the README document, as it was
disabled in f1f2fcf.
2021-07-02 08:38:13 -06:00
OxygenCobalt
f1f2fcf41d
meta: remove access_network_state perm [#22]
ExoPlayer's online functionality will cause the library to request the
ACCESS_NETWORK_STATE permission. We don't need this since we use
ExoPlayer for local playback only. For simplicity [and to remove a
weird suspicious permission, we just disable it]
2021-07-02 08:32:38 -06:00
offa
f17bc00a00 docs: permission documentation 2021-07-01 21:18:06 +02:00
OxygenCobalt
7b5e817d3b
all: cleanup code
Cleanup the codebase in general:
- Remove useless resources
- Upgrade kotlin to 1.5.2
- Upgrade coil to 1.2.2
2021-06-26 19:53:57 -06:00
OxygenCobalt
d82952d88d
md: update project information
Update the README to update the current state of Auxio, uodate the
ADDITIONS document to reflect which features have been rejected,
and remove the black mode question from the FAQ.
2021-06-23 09:37:33 -06:00
OxygenCobalt
e25c91b49c
library: remove default sort option
Remove the default [a.k.a SortMode.NONE] option from the library view.
It was effectively useless in every single library mode and was
functionally equivelent to SortMode.ALPHA_DOWN. Other SortModes might
come to take it's place, but likely only for albums.
2021-06-19 10:10:28 -06:00
OxygenCobalt
5131db5383
library: add fast-scroller
Add a fast-scroller to the library view. This makes long lists of
items such as albums easier to scroll through, but also requires
pre-sorting of artists to make sure that unintended behavior does
not occur. A future commit may improve the sort options here so that
this does not need to occur.
2021-06-19 10:03:35 -06:00
OxygenCobalt
7adfb921fa
recycler: make fast scroller respond to changes
Make the fast scroller respond to changes in the RecyclerView data.
This again prepares it for use in the library with it's sorting and
item configuration.
2021-06-18 15:19:15 -06:00
OxygenCobalt
aebe279e95
about: re-add tagline to the about screen
Re-add the app tagline to the about screen. At some point during the
redesign it was lost.
2021-06-18 15:09:47 -06:00
OxygenCobalt
2f29950725
recycler: use article sort everywhere
Use the native MediaStore sort of using the characters after an article
[if present] everywhere when sorting is done. Yes, this is still dumb
and non-local, but if I want to add fast-scrolling to the library view
I will have to keep consistency across each sort.
2021-06-18 14:55:01 -06:00
OxygenCobalt
e7d3dd0a98
deps: upgrade deps
Dependency Upgrade Chore:
Fragment -> 1.3.5
ExoPlayer -> 2.14.1
RecyclerView -> 1.2.1
2021-06-16 13:00:52 -06:00
OxygenCobalt
5dc7b52fc3
style: add dialog black theme support
Make dialogs properly follow the black theme. This should complete the
black theme addition as now all parts of Auxio follow the new theme.
2021-06-11 13:54:54 -06:00
OxygenCobalt
381c0f0944
style: add popupmenu black theme support
Tack on some more themes to make popupmenu styles follow the new black
theme introduced in 68bdd0.
2021-06-11 13:33:16 -06:00
OxygenCobalt
68bdd0d929
style: add basic black theme
Finally add black theme support to Auxio. This is abit of a janky
implementation since I had to add an extra set of accents, but it
shouldn't be as big of a problem after the styles refactoring.
Support for black android components is not implemented yet, but
will be eventually.
2021-06-11 09:13:20 -06:00
OxygenCobalt
dc2157904a
styles: refactor styles
Completely refactor styles once again to improve resource sharing and
styling maintainability.
2021-06-11 08:13:52 -06:00
OxygenCobalt
9d39a2aaeb
songs: fix fast-scroll indicator bug
Fix an issue with fast-scroll indicator creation where titles that
began with "An" would not use the second word at the proper sort title.
2021-06-10 09:13:34 -06:00
OxygenCobalt
8eb301f983
ui: use new artist icon
Choose a new default artist icon that looks more functional and lines
up with the rest of the icons.
2021-06-05 14:52:01 -06:00
OxygenCobalt
c54790e24c
about: redesign ui
Completely redesign the about UI to remove its dependency on
bottomsheetdialogfragment. That object is such a hassle to deal with an
is the epitome of everything wrong with this horrible platform. This
design will enable further about extensions in the future.
2021-06-05 14:40:50 -06:00
OxygenCobalt
9aabfe2294
playback: make mediasession rely on exoplayer
Make PlaybackSessionConnector also take events from ExoPlayer as it
used to with MediaSessionConnector. This improves reliability
somewhat at the cost of making the code even more hideous.
2021-06-03 09:28:47 -06:00
OxygenCobalt
58eee7a891
playback: improve mediasession reliability
Fix some issues with PlaybackSessionConnector that resulted in the
position being stuck when a new song was played, alongside simplifying
the connector code to an extent.
2021-06-01 10:44:37 -06:00
OxygenCobalt
ab28fb6323
playback: add event handling to mediasession
Add event handling to the MediaSession. This completes the new
PlaybackSessionConnector class and possibly addresses the issue raised
in #20.
2021-06-01 10:16:30 -06:00
OxygenCobalt
1ddff8c6d3
playback: create custom mediasession connector
Create a custom session connector that connects between
PlaybackStateManager and MediaSession. The previous session connector
that was part of the exoplayer library turned out to cause bugs that
could cause the covert art not to show on the lock screen and to not
be recognized as proper player controls. This new connector
[once complete] should fix these issues.
2021-05-30 16:42:45 -06:00
OxygenCobalt
cd930554bf
deps: update androidx/kotlin
Upgrade deps chore:
core -> 1.5.0
fragment -> 1.3.4
kotlin -> 1.5.10
2021-05-30 16:42:13 -06:00
OxygenCobalt
804c38d7ce
style: Use colorSurface everywhere
Instead of using @color/background directly, use ?attr/colorSurface
so that changes can be made to the theming easier. This also
resolves some more minor issues regarding certain widget's
backgrounds.
2021-05-24 19:33:54 -06:00
OxygenCobalt
9974bd32eb
style: Use colorControlHighlight everywhere
Change most of the external layout/drawable code to use
colorControlHighlight instead of selection_color so that control
over which kind of selection color is used is more fine-grained.
2021-05-24 18:07:02 -06:00
OxygenCobalt
55dfc681ad
Upgrade dependencies
Routine dependency upgrade chore:

Android Gradle Plugin -> 4.2.1
ExoPlayer -> 2.14.0
2021-05-17 18:39:03 -06:00
OxygenCobalt
373c54e28c
Add elevation to play/pause button
Add some elevation to the play/pause button for visual flair.
2021-05-17 18:34:29 -06:00
OxygenCobalt
1b91930621
Update key/action constant formatting
Use a more consistent APP_ID + .action/.key + NAME structure for key and action constants.
2021-05-10 16:46:17 -06:00
OxygenCobalt
ec3e388071
Version 1.4.0
Ready for version 1.4.0 of Auxio.
2021-05-09 14:41:42 -06:00
OxygenCobalt
3e86c96989
Update screenshots
Remove superfluous screenshots that don't add much to the app.
2021-05-08 08:50:23 -06:00
OxygenCobalt
0ba1048ead
Fix problems from plugin update
Remove the fixAnimInfoLeak hack since it seems that issue was fixed in the new android plugin, and once again modify with the styles to get the dialogs to use the correct style again.

Another day another magic flag I need to fiddle with to get this busted android app working. This platform sucks so much.
2021-05-08 08:38:09 -06:00