Commit Graph
2961 Commits
Author SHA1 Message Date
Alexander Capehart bd240f967e playback: reimplement state saving 2024-01-13 18:34:17 -07:00
Alexander Capehart 1d63ad5b7b playback: mirror state internally
Mirror the last playback state of the holder inside
PlaybackStateManager.

This is generally more efficient and will enable better handling of
when state holders attach and detach.
2024-01-09 15:04:32 -07:00
Alexander Capehart 6a0fd76636 music: fix selector error with malformed folders
Forgot that i is not a good indicator of if we need to begin a selector
or not since we may discard certain music folders.
2024-01-09 13:50:47 -07:00
Alexander Capehart d5622895d0 playback: fix more gapless issues 2024-01-09 13:49:00 -07:00
Alexander Capehart 26d14ec6e1 playback: ramshack initial gapless playback impl 2024-01-07 16:05:03 -07:00
Alexander Capehart 5d5356e46e all: cleanup 2024-01-06 21:02:40 -07:00
Alexander Capehart b6703a178e info: update changelog 2024-01-06 20:56:38 -07:00
Alexander Capehart 319eeb07b8 playback: add shuffle order impl
Add a currently-unused ShuffleOrder implementation with fixes for media
item insertion.

This will be used as the basis of the new gapless playback system,
assuming all else goes well.
2024-01-06 20:53:08 -07:00
Alexander Capehart 82952a204f about: add donation link
Add donation link to the about page.
2024-01-06 19:07:40 -07:00
Alexander Capehart 2af90c2427 detail: add replaygain values to song properties
This should allow for clearer debugging.
2024-01-06 18:46:13 -07:00
Alexander Capehart 5c85001b0c music: add opus base gain support
OPUS has another volume adjustment field on top of the existing R128
adjustments. I was under the impression this was handled by the android
system, but apparently not. This commit applies the base gain to files
by just adding them onto the existing ReplayGain values.

Resolves #521.
2024-01-06 18:26:53 -07:00
Alexander Capehart cdd08e7f99 home: clean up hacky overlay impl
Should have a lesser likelihood of crashing outright, hopefully.
2024-01-05 13:09:24 -07:00
Alexander Capehart c4143e7d95 music: log when volume cannot be found
Mostly for debugging purposes.
2024-01-05 12:36:51 -07:00
Alexander Capehart 19bfd758a6 Update README.md 2024-01-05 00:06:12 +00:00
Alexander Capehart ccee1e87ce Update README.md 2024-01-05 00:06:01 +00:00
Alexander Capehart 25d7a8cf07 Update README.md 2024-01-05 00:04:59 +00:00
Alexander Capehart 55ee0cab91 Add alanorth link 2024-01-04 18:51:55 +00:00
Alexander Capehart 95a2a3fb47 Add sponsor info to README 2024-01-04 18:51:17 +00:00
Alexander Capehart 3202660449 music: add check to playlist export dialog 2024-01-03 18:51:29 -07:00
Alexander Capehart 4e2e6f66b6 Merge pull request #659 from OxygenCobalt/dev
Version 3.3.0
2024-01-03 14:30:35 -07:00
Alexander Capehart 43af2d866d home: fix shuffle not working on rotate 2024-01-03 09:26:28 -07:00
Alexander Capehart b74e622923 info: add missing fastlane changelog 2024-01-02 17:22:56 -07:00
Alexander Capehart 2b55caadd1 home: fix more speed dial touch problems
Handle back presses gracefully without finicky behavior when doing back
gestures.

I've spent far too much time trying to make this sensible. I'm going to
take a break.
2024-01-02 17:19:10 -07:00
Alexander Capehart 7537d135f2 ui: remove redundant sheet content inset 2024-01-02 15:38:34 -07:00
Alexander Capehart 8a75295d99 home: reimplement speed dial overlay
The stock overlay is not sufficient for our needs, as:
1. It seemingly cannot be set up without missing certain touch areas or
disabling the touch area of the speed dial itself
2. The scrim can't be evenly applied everywhere in the app due to the
nested expore UI.

So, modify the speed dial to work without a scrim and reimplement the
overlay touch behavior manually.
2024-01-02 15:38:23 -07:00
Alexander Capehart afa73a2319 music: fix playlist import naming 2024-01-01 21:38:39 -07:00
Alexander Capehart e500286b8b music: support paths in documents
Apprently these only report their IDs, frustratingly.
2024-01-01 21:38:21 -07:00
Alexander Capehart 32432b18b6 music: fix m3u windows volume detection 2024-01-01 21:36:46 -07:00
Alexander Capehart 399237d2fe build: bump to 3.3.0
Bump the app version to 3.3.0 (36).
2024-01-01 20:37:05 -07:00
Alexander Capehart 0675ce8a03 music: rename playlist when reimporting
When reimporting an M3U file into a playlist, if the name differs, then
initiate a rename dialog so the user has a choice on whether they want
to use the new name or not.

This does kinda desecrate the "Rename" decision a bit, but it's still
to the user the same.
2024-01-01 20:21:39 -07:00
Alexander Capehart 9ad11ec5aa music: allow renaming playlist before import
When you import a playlist, Auxio will now always display the
"New Playlist" dialog so you can change whatever name Auxio has picked
for the imported playlist.

This also prevents the creation of two playlists with the same names.
2024-01-01 16:12:01 -07:00
Alexander Capehart 68584ba426 music: fix file document path extraction
Apparently on Android 14 you need to reassemble the document URI and
then extract it's ID to get a path object. Really not sure why.
2024-01-01 16:10:11 -07:00
Alexander Capehart bf9667f545 music: fix working directory in m3u export 2024-01-01 16:07:50 -07:00
Alexander Capehart 244373e2af info: update changelog 2024-01-01 14:39:03 -07:00
Alexander Capehart 53870cd31b music: fix reloads not cancelling prior ones
Caused by a dumb mistake in the cancellation code.
2024-01-01 14:36:26 -07:00
Alexander Capehart 28ff2b416a home: make add speed fab consistent with shuffle
Was using color secondary prior since the code was derived from
MaterialFiles.
2024-01-01 14:35:59 -07:00
Alexander Capehart 574e129f34 music: cleanup and document 2024-01-01 14:08:47 -07:00
Alexander Capehart 538533bf3f music: discard songs w/o volumes 2024-01-01 13:38:26 -07:00
+2 673629dd26 Translations update from Hosted Weblate (#635)
* Translated using Weblate (Russian)

Currently translated at 100.0% (292 of 292 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/ru/

* Translated using Weblate (Italian)

Currently translated at 100.0% (38 of 38 strings)

Translation: Auxio/Metadata
Translate-URL: https://hosted.weblate.org/projects/auxio/metadata/it/

* Translated using Weblate (French)

Currently translated at 99.6% (291 of 292 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/fr/

* Translated using Weblate (French)

Currently translated at 100.0% (38 of 38 strings)

Translation: Auxio/Metadata
Translate-URL: https://hosted.weblate.org/projects/auxio/metadata/fr/

* Translated using Weblate (Korean)

Currently translated at 99.6% (292 of 293 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/ko/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (293 of 293 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/zh_Hans/

* Translated using Weblate (Korean)

Currently translated at 100.0% (38 of 38 strings)

Translation: Auxio/Metadata
Translate-URL: https://hosted.weblate.org/projects/auxio/metadata/ko/

* Translated using Weblate (Czech)

Currently translated at 100.0% (293 of 293 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/cs/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/zh_Hans/

* Translated using Weblate (Czech)

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/cs/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/es/

* Translated using Weblate (Russian)

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/ru/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/uk/

* Translated using Weblate (Belarusian)

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/be/

* Translated using Weblate (German)

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/de/

* Translated using Weblate (Hindi)

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/hi/

* Translated using Weblate (Croatian)

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/hr/

* Translated using Weblate (Punjabi)

Currently translated at 100.0% (294 of 294 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/pa/

* Translated using Weblate (Czech)

Currently translated at 100.0% (301 of 301 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/cs/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (302 of 302 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/zh_Hans/

* Translated using Weblate (Czech)

Currently translated at 100.0% (304 of 304 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/cs/

* Translated using Weblate (Russian)

Currently translated at 100.0% (304 of 304 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/ru/

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (304 of 304 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/uk/

* Translated using Weblate (Belarusian)

Currently translated at 100.0% (304 of 304 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/be/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (304 of 304 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/es/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (304 of 304 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/zh_Hans/

* Translated using Weblate (Hindi)

Currently translated at 100.0% (304 of 304 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/hi/

* Translated using Weblate (Punjabi)

Currently translated at 100.0% (304 of 304 strings)

Translation: Auxio/Strings
Translate-URL: https://hosted.weblate.org/projects/auxio/strings/pa/

---------

Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Co-authored-by: atilluF <110931720+atilluF@users.noreply.github.com>
Co-authored-by: cwpute <collan+weblate@free.fr>
Co-authored-by: Yurical <yurical1@outlook.com>
Co-authored-by: Eric <zxmegaxqug@hldrive.com>
Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: BMT[UA] <weblate@yopmail.com>
Co-authored-by: qwerty287 <ndev@web.de>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
2024-01-01 20:04:05 +00:00
Alexander Capehart 4a3beafc77 music: indicate volume components checked 2024-01-01 12:52:01 -07:00
Alexander Capehart 17939f6b2a music: correctly propagate error 2024-01-01 12:36:08 -07:00
Alexander Capehart b10caaef54 music: more path interpreter guards 2024-01-01 12:25:49 -07:00
Alexander Capehart 77f0bbe614 util: correctly throw channel errors
Wasn't being properly handled before, leading to weird behavior.
2024-01-01 12:02:38 -07:00
Alexander Capehart ed519eeccc music: refine new mediastoreextractor impl
- Make the interpreters use a more conventional naming structure
- Remove the redundant file name extraction that is largely an artifact
of older versions
2024-01-01 12:02:38 -07:00
Alexander Capehart 6b9f6862af music: correctly parse data with new paths
Accidental regression appeared due to inconsistent trailing slashes, so
we need to reimplement this using the path datatype itself.
2024-01-01 12:02:38 -07:00
Alexander Capehart ec8e598d3b Create FUNDING.yml 2024-01-01 18:18:24 +00:00
Alexander Capehart 2af8d8b4bd music: remove old deadlock check
No longer needed and likely causing bugs
2024-01-01 10:06:36 -07:00
Alexander Capehart c7f8b3ca6d music: refactor mediastoreextractor internals
Split the version-specific components into "Interpreters" that are then
composed into MediaStoreExtractor. This is both a nicer design and also
allows me to resolve an evil Huawei bug that prevents me from using the
new path fields.

Resolves #592
2023-12-31 23:34:00 -07:00
Alexander Capehart 6956ca5915 music: fix m3u windows path importing
Forgot that Regex always matches the entire string, so I have to tack
on a wildcard.
2023-12-24 11:35:59 -07:00
Alexander Capehart 480b1b28e5 music: display correct message on new playlist
The context of the "New Playlist" dialog can differ depending on the
action performed, such as adding to a playlist or importing a playlist.
We need to make sure we're still showing the right message once this
is done.
2023-12-24 11:34:55 -07:00