Commit Graph
2953 Commits
Author SHA1 Message Date
Alexander Capehart 7c2dd3ed2e info: fix typo 2024-02-12 08:05:37 -07:00
Alexander Capehart 46e98b84ed info: update changelog 2024-01-28 21:40:47 -07:00
Alexander Capehart 6730766504 music: increase music load timeout
TagExtractor can take longer than 10 seconds to load, increase it to 60
seconds.
2024-01-28 21:38:45 -07:00
Alexander Capehart ced462e718 playback: dont apply state mirror w/no song
Otherwise, the StateHolder will crash.
2024-01-28 21:38:45 -07:00
Alexander Capehart fbd8d4b361 info: update sponsors 2024-01-23 19:41:46 -07:00
Alexander Capehart 40fdf59a66 build: bump to 3.4.0-dev
Decided dev is a better suffix.
2024-01-21 20:04:45 -07:00
Alexander Capehart d0817dd83b build: bump to 3.4.0
Bump to a testing version of 3.4.0.
2024-01-21 20:03:27 -07:00
Alexander Capehart 8dc0be4a52 all: cleanup 2024-01-21 20:01:26 -07:00
Alexander Capehart b53a96f574 playback: fix crash when song cannot be restored
The index is -1, which is not a valid position to seek through
normally. In this case we should just ignore it.
2024-01-21 19:33:49 -07:00
Alexander Capehart 588b6e9abd info: explicitly declare notification perm
Some OEMs might be looking for this before approving even media
or foreground service notifications.
2024-01-18 19:29:46 -07:00
+5 bbe0042281 Translations update from Hosted Weblate (#657)
* Translated using Weblate (Czech)

Currently translated at 100.0% (305 of 305 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (305 of 305 strings)

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

* Translated using Weblate (Hindi)

Currently translated at 100.0% (305 of 305 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (305 of 305 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (305 of 305 strings)

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

* Translated using Weblate (Punjabi)

Currently translated at 100.0% (305 of 305 strings)

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

* Translated using Weblate (Hebrew)

Currently translated at 100.0% (305 of 305 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (305 of 305 strings)

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

* Translated using Weblate (Belarusian)

Currently translated at 100.0% (305 of 305 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Hindi)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Punjabi)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Korean)

Currently translated at 98.7% (307 of 311 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Russian)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Belarusian)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (311 of 311 strings)

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

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (313 of 313 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (313 of 313 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (313 of 313 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (313 of 313 strings)

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

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (313 of 313 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 100.0% (42 of 42 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 98.7% (309 of 313 strings)

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

---------

Co-authored-by: Fjuro <ifjuro@proton.me>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: ShareASmile <aapshergill@gmail.com>
Co-authored-by: BMT[UA] <weblate@yopmail.com>
Co-authored-by: Eric <zxmegaxqug@hldrive.com>
Co-authored-by: Ron Shabi <ron@ronsh.net>
Co-authored-by: Макар Разин <makarrazin14@gmail.com>
Co-authored-by: Сергій <sergiy.goncharuk.1@gmail.com>
Co-authored-by: qwerty287 <qwerty287@posteo.de>
Co-authored-by: min7-i <postly+github_min@mailbox.org>
Co-authored-by: Yurical <yurical1@outlook.com>
Co-authored-by: Vaclovas Intas <vaclovas1999@gmail.com>
Co-authored-by: 大王叫我来巡山 <hamburger2048@users.noreply.hosted.weblate.org>
Co-authored-by: Milo Ivir <mail@milotype.de>
2024-01-17 03:05:26 +00:00
Alexander Capehart 5ab05b75d9 widgets: fix default cover icon 2024-01-16 14:27:32 -07:00
Alexander Capehart 6c427185ee widgets: fix default cover icon 2024-01-16 13:25:26 -07:00
Alexander Capehart e6141b12e6 playback: fix state restore
Wasn't using the corrected shuffle mapping
2024-01-16 13:25:03 -07:00
Alexander Capehart ec61ba50ec playback: re-add semi-circular queue w/no repeat 2024-01-16 12:48:32 -07:00
Alexander Capehart 76eb693fb5 all: reformat 2024-01-15 20:51:08 -07:00
Alexander Capehart 881df0fc02 widgets: add 1x3/1x4 widget
Add a 1x3/1x4 widget that displays the cover and controls

Also requires another widget type that just displays controls to
accomodate landscape devices.

Resolves #420.
2024-01-15 20:49:35 -07:00
Alexander Capehart 195498879a info: update changelog 2024-01-15 16:47:24 -07:00
Alexander Capehart 3e79f31792 playback: add remember pause setting
This setting allows you to remain playing/paused when you move in the
queue or edit the queue. Useful for some people who like this behavior
more than always playing.

Resolves #568.
2024-01-15 16:45:44 -07:00
Alexander Capehart a44f0bce35 playback: stop playback on task removal if paused
This is apparently the standard behavior that media apps should use to
allow the foreground state to be exited. I personally don't want to
make it really unilateral like that, so if playback is already ongoing
I'll keep the foreground state going.
2024-01-15 16:25:42 -07:00
Alexander Capehart 1766283cd2 playback: save playback state on every change
Prior, I was saving when the service was closed, which is a stupid
decision and caused a lot of unreliability.

Resolves #404.
2024-01-15 16:19:27 -07:00
Alexander Capehart b2d9b244e5 playback: redocument/refactor gapless playback
Should complete this feature, save regression fixes.

Resolves #110.
2024-01-15 16:02:47 -07:00
Alexander Capehart 48ab83f6de playback: handle deferred action on startup
Dropped this when I ripped out the code prior.
2024-01-15 16:01:53 -07:00
Alexander Capehart 68443dc337 Merge branch 'dev' into gapless-playback 2024-01-14 12:12:49 -07:00
Alexander Capehart 0ea6ea6725 Merge pull request #676 from OxygenCobalt/dev
Version 3.3.3
2024-01-14 11:47:21 -07:00
Alexander Capehart 8ca63047d7 info: add changelog entry 2024-01-14 11:45:34 -07:00
Alexander Capehart 8b623b40ff info: update changelog 2024-01-14 11:40:53 -07:00
Alexander Capehart 4f42695812 info: bump to 3.3.3
Bump the app version to 3.3.3 (40).
2024-01-14 11:19:41 -07:00
Alexander Capehart 07acb4f5b9 music: fix data selector creation
More or less, the paths being selected for were extremely malformed,
stuff like storage/emulated/0Music. This completely broke music folders
below API 29.
2024-01-14 11:00:52 -07:00
Alexander Capehart a3176fc66f Merge pull request #675 from OxygenCobalt/dev
Version 3.3.2
2024-01-14 10:05:21 -07:00
Alexander Capehart 3d1fa6e4ff info: bump to 3.3.2
Bump to version 3.3.2 (39).
2024-01-14 09:58:42 -07:00
Alexander Capehart f1a6b77d30 music: fix other music loading failure from dirs
Turns out there are two ways the selector can go malformed. One was the
complicated issue where you can't resolve a directory, the other was me
*missing a character* and not even building the selector right.
2024-01-14 09:55:43 -07:00
Alexander Capehart 7be1d265ec Merge pull request #671 from OxygenCobalt/dev
Version 3.3.1 (Real)
2024-01-13 22:28:07 -07:00
Alexander Capehart 4234f5b8f1 music: update cache db 2024-01-13 22:23:42 -07:00
Alexander Capehart 7a5ba6b20d Merge pull request #670 from OxygenCobalt/dev
Quick opus gain fix
2024-01-13 22:17:36 -07:00
Alexander Capehart b4833918cf music: fix opus base gain extraction
I have no idea how it ended up this mangled.
2024-01-13 22:16:13 -07:00
Alexander Capehart 7b01e59519 Merge pull request #669 from OxygenCobalt/dev
Version 3.3.1
2024-01-13 21:36:07 -07:00
Alexander Capehart dea0ee1432 info: bump to 3.3.1
Bump to version 3.3.1 (38).
2024-01-13 21:14:26 -07:00
Alexander Capehart 3267ae98be playback: readd service reinit
Make sure the service is properly re-initialized when it dies and is
then restarted.
2024-01-13 20:43:51 -07:00
Alexander Capehart 9652fb0221 info: update changelog 2024-01-13 20:28:46 -07:00
Alexander Capehart f525abdba3 playback: fix marquee on playback screen 2024-01-13 20:28:34 -07:00
Alexander Capehart b2d71f8903 playback: reattach settings to player
It's mostly identical to prior, albiet pausing on repeat now leaves the
player position at the end of the song rather than the beginning.
That's the only regression I couldn't figure out how to resolve.
2024-01-13 20:26:02 -07:00
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