Commit Graph
24 Commits
Author SHA1 Message Date
OxygenCobalt b5b8767f46 playback: fix crash with state restore [#89]
Fix an esoteric crash with queue synchronization during the playback
restore process.

Auxio will attempt to re-synchronize the queue index whenever it is
desynchronized, however during the check for if it's desynchronized,
Auxio would do a direct index of the queue, which could result in a
crash in situations where the desynchronized index is outside of the
queue bounds.

Fix this by replacing that unprotected access with a protected access,
which not only fixes the crash but also still correctly detects
desynchronization in that case.

Resolves #89.
2022-03-06 19:25:48 -07:00
OxygenCobalt 87035805d2 ui: general cleanup
Clean up a bunch of UI issues that have accumulated.
2022-02-23 15:26:40 -07:00
OxygenCobalt d9e2d7f07a docs: rework contribution info
Update the contribution information and templates.

The contribution information and templates were growing a bit stale,
given that they haven't gotten a refresh since ~1.3.0. This commit
reworks them to be more thorough and straightfoward.
2022-02-06 14:33:36 -07:00
OxygenCobalt 0209e526e1 all: general cleanup
Do some general code cleanup.
2022-02-06 09:01:51 -07:00
OxygenCobalt 43e01e839d playback: misc changes
I just spent 5 days trying to implement gapless playback using
ExoPlayer and Hopium. That's 5 days I'm never getting back. Heres
what I did add in the process though.
2021-12-27 18:34:43 -07:00
OxygenCobalt 25dd276bd8 playback: use single-queue system
Switch auxio to a single-queue system. "Play next" adds songs to the top
of the queue, similar to before, and then "Add to queue" adds songs to
the bottom of the queue. This enables many more enhancements to be made
to the playback experience, at the cost of a feature I preferred.

Resolves #44.
2021-12-22 16:37:07 -07:00
OxygenCobalt 282933fb37 docs: update docs
Update general user-facing documentation in preperation for 2.0.0.
2021-11-01 17:08:12 -06:00
OxygenCobalt 9ce7dc598d playback: improve queue ui
Make the queue UI follow the liftOnScroll idiom that is already used
in the detail views. This also tweaks the edge-to-edge behavior so
that this view properly works.
2021-08-24 20:04:32 -06:00
OxygenCobalt 64c9a4a4a7 all: add license boilerplate
Actually bother to add license boilerplate. Even though I've written
the entirety of Auxio, the boilerplate will be under "Auxio Project"
instead, as I don't want to share my real name.
2021-08-07 17:00:28 -06:00
OxygenCobalt 6d9c9f65c2 recycler: improve fast-scroller truncation
Make fast-scroller truncation more aggressive, mostly because on my new
ROM it seems like display calculations become a little wonky and cause
slight indicator cutoff. May as well add padding then so that
indicators [and the thumb by extension] actually fit and won't get
clipped.
2021-07-29 11:31:21 -06: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 e0485ebad9 Refactor coil
Completely refactor coil and how its used so that it centers around data objects instead of a hodgepodge of URIs and Song data.
2021-02-12 22:28:41 -07:00
OxygenCobalt 55af5790b8 Reformat code/markdown
Make some changes to the code formatting & the markdown documents
2021-01-30 10:25:51 -07:00
OxygenCobalt a5100b31ab Version 1.2.0
Ready for version 1.2.0 of Auxio.
2021-01-19 17:10:12 -07:00
OxygenCobalt f779904c0c Update markdown
Update the markdown documents for Version 1.2.0.
2021-01-19 16:00:16 -07:00
OxygenCobalt 7a54b0a79f Update markdown
Change some things in the ADDITIONS & README documents.
2020-12-27 15:59:14 -07:00
OxygenCobalt 940746f248 Make state restore use names instead of ids
Make it so that PlaybackStateDatabase stores the item data for PlaybackState/QueueItems as strings instead of ids, as ids are too volitaile if the music library changes.
2020-12-24 11:30:23 -07:00
OxygenCobalt 79756f36c7 Version 1.0.0
The initial release of Auxio, a sensible and customizable music player for android.
2020-12-20 08:52:51 -07:00
OxygenCobalt 5deea0c11e Finishing Touches
Do some final touch-ups with my README and ADDITIONS documents.
2020-12-20 07:56:15 -07:00
OxygenCobalt d4d40c97ad Fix compat issues
Fix some issues on older versions.
2020-12-19 15:43:07 -07:00
OxygenCobalt f85bd85c92 Add contribution templates
Add contribution templates for this project.
2020-12-19 12:23:10 -07:00
OxygenCobalt 953e1291b6 Document code
Heavily document code that wasnt documented before.
2020-12-19 11:22:15 -07:00
OxygenCobalt ed33813112 Add proper README
Add a proper readme and other documents for this project.
2020-12-18 17:15:57 -07:00