Commit graph

419 commits

Author SHA1 Message Date
OxygenCobalt
5d72bfa09b
Move accent dialog to object
Move the dialog created in showAccentDialog to a dedicated object.
2021-03-09 08:01:49 -07:00
OxygenCobalt
f5f67a0b76
Add blacklist functionality
Add the ability to block directories from indexing. Will add a UI interface for this later.
2021-03-07 11:56:20 -07:00
OxygenCobalt
8de09cd880
Update PlaybackStateDatabase
Update PlaybackStateDatabase to use a new filename and the TEXT type whenever storing strings.
2021-03-07 11:18:36 -07:00
OxygenCobalt
a750100aff
Fix queue edge-to-edge issue
Fix a problem where the last queue item would display behind the navigation bar when edge to edge is on.
2021-03-07 08:26:15 -07:00
OxygenCobalt
391ca70822
Update playback system
Tweak some things in PlaybackService and PlaybackStateManager to make them more elegant.
2021-03-05 14:58:30 -07:00
OxygenCobalt
466629e43d
Update music loading init process
Change the loading process so that LoadingViewModel no longer requires an application instance to start. Also move the main music loading code to an internal function.
2021-03-05 13:45:43 -07:00
OxygenCobalt
2c93e3f362
Update code style
Heavily tweak the code style across the app, doing things such as fixing returns and giving names to lambda values.
2021-03-05 12:56:04 -07:00
OxygenCobalt
fab377eba4
Improve genre compatibility
Add a new range of Winamp 5.6+ genres to further improve compatibility with old genres.
2021-03-05 11:20:22 -07:00
OxygenCobalt
58ec1ce293
Improve mosaic quality
Change the mosaic bitmap config to ARGB_8888, which greatly improves quality.
2021-03-05 10:11:53 -07:00
OxygenCobalt
a4dc35c50d
Update music loading system
Do some simplification and optimizations to the music loading system in preperation for the blacklisting system.
2021-03-03 19:46:34 -07:00
OxygenCobalt
c9f86436c8
Fix scroll thumb visibility issue
Fix a problem where the scroll thumb would briefly show up when SongsFragment is first shown.
2021-03-03 16:02:45 -07:00
OxygenCobalt
fefe2d244d
Add tooltips to accent picker
Add tooltips to the accent picker that align with the content description.
2021-03-01 19:24:37 -07:00
OxygenCobalt
3f0331f1c9
Redo accents
Collapse amber and yellow into a single accent [Yellow], remove the neutral accent due to UI isuses, and darken light-mode accents across the board to be more visible.
2021-02-28 16:07:46 -07:00
OxygenCobalt
abd5b3ca8d
Remove NoLeakThumbView
Remove the old NoLeakThumbView class, apparently I didnt remove it before?
2021-02-28 15:01:38 -07:00
OxygenCobalt
917540e626
Refactor fast scroll
Completely write my own fast scroller thumb and also redo how the fast scroller is configured in SongsFragment.
2021-02-27 13:00:46 -07:00
OxygenCobalt
a9765d2ad6
Remove debug statement
Remove a frustrated logD call I made sometime last night. Why do I keep doing this.
2021-02-26 07:42:51 -07:00
OxygenCobalt
891d64b459
Fix service startup bug
Fix a problem where if playback was started by a file intent the ExoPlayer instance wouldn't actually begin playing.
2021-02-25 19:08:45 -07:00
OxygenCobalt
af9fac7de2
Fix play/pause bug
Possibly fix a bug where the play/pause button would get stuck in the play position when playing from a file intent.
2021-02-25 17:55:20 -07:00
OxygenCobalt
e9abee9f64
Update documentation
Completely update the documentation throughout the app.
2021-02-25 11:36:47 -07:00
OxygenCobalt
b9720286c3
Move play/pause animation code
Move the code responsible for the play/pause animation to the onCreateView function instead of onResume.
2021-02-23 15:16:15 -07:00
OxygenCobalt
7f0042fd2f
Refactor file intent system
Finally find a way to handle file intents without having to coordinate it across three different fragments in onResume.
2021-02-23 14:04:45 -07:00
OxygenCobalt
f04ffdb59b
Update codebase
Do a variety of small things across the codebase.
2021-02-23 13:22:09 -07:00
OxygenCobalt
8c107d66a0
Stop RecyclerView momentum on fast scroll
Prevent any unnessecary scrolling when using the fast scroll bar in SongsFragment.
2021-02-21 15:14:55 -07:00
OxygenCobalt
299c47e9c3
Scroll QueueFragment on shuffle toggle
Scroll QueueFragment to the top when shuffle is toggled so that it does not flip out as much as it would otherwise.
2021-02-21 15:03:17 -07:00
OxygenCobalt
5de45eea0e
Version 1.3.1
Ready for version 1.3.1 of Auxio.
2021-02-21 08:19:05 -07:00
OxygenCobalt
044f74b45b
Fix file intent crash
Keep tweaking this buggy system to fix another bug I caused where the app would crash if selecting a song while the app was inactive.
2021-02-20 21:29:20 -07:00
OxygenCobalt
89174b8011
Clean code
Do some codebase cleaning.
2021-02-20 16:35:36 -07:00
OxygenCobalt
4efbab8b05
Change file intent navigation structure
When a file intent is given, navigate to PlaybackFragment directly.
2021-02-20 13:47:06 -07:00
OxygenCobalt
cca80c65eb
Improve music loading system
Heavily improve the music loading system, hopefully fixing some edge-cases that people have been reporting.
2021-02-20 11:56:31 -07:00
OxygenCobalt
00e7af8f3d
Fix another file intent bug
Fix another bug where PlaybackService wouldn't show its notification/go into foreground if a song was played by a file intent.
2021-02-20 10:05:20 -07:00
OxygenCobalt
cc14648099
Fix file intent issue
Fix a problem where the file intent wouldnt work on any fragment that wasnt MainFragment.
2021-02-20 09:46:29 -07:00
OxygenCobalt
7a4b654222
Clean up PlaybackService
Clean up the code in PlaybackService.
2021-02-19 19:25:03 -07:00
OxygenCobalt
7524589969
Unify notification
Unify the notification extensions into a single PlaybackNotification object that does not rely on PlaybackStateManager and SettingsManager.
2021-02-19 15:54:58 -07:00
OxygenCobalt
ca4cabedbc
Change file intent to play
Change the file intent to play instead of view. I may add the view option back in at some point however if the play functionality angers me enough.
2021-02-19 14:47:00 -07:00
OxygenCobalt
2dfd916736
Add file intent
Add the ability to view a music file in auxio when selecting the file from another app. The ability to play it will be added later.
2021-02-19 14:22:58 -07:00
OxygenCobalt
e631ddd730
Make save playback state setting public
Make the ability to force-save the playback state public in the settings menu instead of in the debug menu.
2021-02-19 11:19:45 -07:00
OxygenCobalt
0a7fbeca6d
Fix music load failure [Resolves #4]
Remove the `check` statements from `applyAlbum` and `applyGenre` that could cause the music loading to fail on some devices. Now only the first album/genre applied will stick. This resolves issue #4.
2021-02-19 10:12:58 -07:00
OxygenCobalt
e3e0015237
Rewrite loading UI
Completely rewrite the loading UI to be far more understandable.
2021-02-19 09:33:49 -07:00
OxygenCobalt
2f8916117e
Update compact controls animation
Make the slide animation on the compact controls look better.
2021-02-18 19:08:49 -07:00
OxygenCobalt
1d1da1fac2
Update exoplayer
Bump exoplayer to 2.12.3
2021-02-17 10:39:15 -07:00
OxygenCobalt
cccf6ba9f8
Fix memory leak with PlayPauseButton
Fix a memory leak in PlayPauseButton that occured from not clearing an animation listener when done with it.
2021-02-16 20:41:55 -07:00
OxygenCobalt
2203018947
Fix issue where seams should show up on play icon
Fix a bug where a seam would display on the play icon on certain displays.
2021-02-16 20:31:37 -07:00
OxygenCobalt
1d8aeb16c2
Further streamline coil usage
Simplify how coil is used even further.
2021-02-16 09:27:41 -07:00
OxygenCobalt
6fa698d7eb
Prevent search box from scrolling the toolbar
Prevent the search TextView from being able to scroll the toolbar when there are no results.
2021-02-15 15:07:39 -07:00
OxygenCobalt
118172b7c8
Fix song selection bug
Fix a bug where if a song is selected while shuffling it would not move that song to the beginning of the queue.
2021-02-15 14:27:03 -07:00
OxygenCobalt
b6ac897314
Add ko [Korean] translations
Add partial translations for korean.
2021-02-14 10:35:22 -07:00
OxygenCobalt
62572e7e52
Add po [Polish] translations
Add partial translations for Polish
2021-02-13 16:41:03 -07:00
OxygenCobalt
a4801bdf2f
Redo controls view
Redo the controls view to support a slide enter/exit animation, along with fixes to elevation problems on certain devices.
2021-02-13 14:49:57 -07:00
OxygenCobalt
f1245d7d40
Improve layout responsiveness
Make layouts better on all screen sizes.
2021-02-13 10:20:48 -07: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
ed10bd1898
Rewrite ARCHITECTURE.md
Redo the structure of ARCHITECTURE.md to make more sense with its intended purpose.
2021-02-07 19:57:52 -07:00
OxygenCobalt
26dd1036ec
Add actionmenu extension function
Simplify menu creation by using a Fragment extension to create a new ActionMenu.
2021-02-07 18:54:04 -07:00
OxygenCobalt
eb5292d083
Add architecture document
Add a document describing the high-level auxio architecture.
2021-02-07 16:07:16 -07:00
OxygenCobalt
cef4cb68da
Update BaseViewHolder
Change the name of BaseViewHolder to BaseHolder and make the click listener arguments optional.
2021-02-07 14:00:48 -07:00
OxygenCobalt
a34850b9cb
Update codebase
Do a bunch of minor codebase changes that have accumulated.
2021-02-04 16:10:12 -07:00
OxygenCobalt
7fc0bcc56d
Update tablet detail layouts
Update the tablet detail layouts to look better.
2021-01-30 13:26:49 -07:00
OxygenCobalt
67c177ccf3
Create parent abstraction
Create a BaseModel variant for albums, artists, and genres to simplify on alot of code that should only run on those.
2021-01-30 11:18:29 -07:00
OxygenCobalt
ec310a5b93
Fix playing album display bug
Fix an issue where an album will not immediately show up as playing if you play it from the artist UI.
2021-01-30 10:29:46 -07:00
OxygenCobalt
15dbe59db5
Minor fixes
Fix some ordering & display issues. Also slightly increased the play/pause icons size on PlaybackFragment.
2021-01-29 21:21:57 -07:00
OxygenCobalt
d98d41102d
Add ru [Russian] translations
Add partial translations for Russian, along with some new translations for other languages.
2021-01-27 18:58:35 -07:00
OxygenCobalt
c9d7193bd7
Use integer format strings
Use %d in certain format strings instead of %s
2021-01-25 19:11:04 -07:00
OxygenCobalt
35551e3dba
Improve german translations
Fix alot of problems with the german translations
2021-01-25 14:45:21 -07:00
OxygenCobalt
3ab5671319
Add de [German] translations
Add some [Likely broken] german translations using a mix of other sources, my own knowledge, and a english-deutsch dictionary. Ill try to improve these as I go along as theyre the only ones that I'm really able to translate.
2021-01-24 19:13:27 -07:00
OxygenCobalt
27d39a1364
Spin off audio focus into seperate object
Move the code responsible for audio focus into a seperate object to reduce the amount of code in PlaybackService.
2021-01-24 14:35:38 -07:00
OxygenCobalt
3851c59f4b
Update UI code
Make some misc changes to the code that runs behind the UI.
2021-01-24 11:48:55 -07:00
OxygenCobalt
f779904c0c
Update markdown
Update the markdown documents for Version 1.2.0.
2021-01-19 16:00:16 -07:00
OxygenCobalt
ab2da7a5a4
Make artist IDs unique
Fix an issue where the artist IDs would not be unique in the context of the other items.
2021-01-19 14:54:12 -07:00
OxygenCobalt
0bbcff35eb
Fix compact playback visibility issues
For some reason the new system I implemented for compact playback visibility suddenly stopped working! Revert to the old system.
2021-01-19 14:39:09 -07:00
OxygenCobalt
942e1fc740
Reenable constant bitrate seeking
Turns out it didnt fix the problem, was probably some fluke bug or bit flip.
2021-01-19 11:52:22 -07:00
OxygenCobalt
2c435b25a7
Disable constant bitrate seeking
Turns out constant bitrate seeking caused problems. Ill add an option to re-enable it.
2021-01-18 17:13:25 -07:00
OxygenCobalt
627553344c
Update shuffling system
Finally collapse all usage of shuffle into setShuffling, instead of the mix of checks that used to be throughout PlaybackStateManager.
2021-01-18 16:53:10 -07:00
OxygenCobalt
554a0f28b2
Fix more playback display issues
Fix some other problems with the way playback is displayed.
2021-01-18 14:03:32 -07:00
OxygenCobalt
6687dbc2f6
Improve playback fragment styling
Fix some issues with the styling/icon usage on PlaybackFragment.
2021-01-18 11:13:22 -07:00
OxygenCobalt
bfa8a6d8f2
Improve tablet layouts
Make the tablet layouts look much better
2021-01-18 10:27:54 -07:00
OxygenCobalt
c4bc86cb05
Completely refactor accents
Completely refactor the accent system to be much more understandable.
2021-01-18 09:28:31 -07:00
OxygenCobalt
2889e6fdfd
Fix LoadingFragment memory leak
Fix an issue where a memory leak would occur in LoadingFragment if it exited before it was visible to the user.
2021-01-18 08:22:05 -07:00
OxygenCobalt
1e102e9d5d
Fix theme bug
Fix an issue where setting the theme from AuxioApp will make the theme default to Theme.Base for...some reason...
2021-01-17 07:49:08 -07:00
OxygenCobalt
fc33e01b89
Update ViewHolder long-click structure
Make a minor change to the viewholder long-click arguments.
2021-01-16 15:46:27 -07:00
OxygenCobalt
7de02af86f
Clean code
Make some minor changes to the codebase.
2021-01-16 09:17:10 -07:00
OxygenCobalt
929ef0a1b4
Fix rewinding issues
Fix a problem where rewinding wouldnt cause the playback to start again.
2021-01-15 19:36:56 -07:00
OxygenCobalt
d86e5f1414
Revert to old playback shuffling system
The new shuffling system wasnt working out the best, so just revert to the previous and fix the issues with it.
2021-01-15 15:01:26 -07:00
OxygenCobalt
9ab8b4e018
Added elevation to detail covers
Added some elevation to the images on the detail fragments.
2021-01-14 19:26:19 -07:00
OxygenCobalt
1ae4d21b18
Create dedicated app object
Create a dedicated app object to fix issues with settings initialization & image loading.
2021-01-14 07:42:56 -07:00
OxygenCobalt
60af5f8656
Heavily refactor navigation
Make how navigation to the detail fragments much simpler/easier to maintain compared to previously.
2021-01-13 16:11:59 -07:00
OxygenCobalt
fafaa0bf1f
Improve navigation
Finally make parent navigation possible from artist albums and the like, along with heavily streamlining the main navigation code.
2021-01-12 17:50:06 -07:00
OxygenCobalt
e236eff997
Change library sort menu to checkable behavior
Switch to a checkable behavior for the library sorting menu instead of manually highlighting the menu items
2021-01-12 16:26:37 -07:00
OxygenCobalt
eab260a9c1
Add filtering to SearchFragment
Add the ability to filter items to SearchFragment
2021-01-12 16:15:46 -07:00
OxygenCobalt
2cfe0211a5
Fix EditText memory leak
Fix a leak that occurs from having a focused edit text even after a fragment is destroyed.
2021-01-12 15:09:53 -07:00
OxygenCobalt
8f5e6621ad
Create dedicated search tab
Move all searching to a tab of its own.
2021-01-11 20:17:22 -07:00
OxygenCobalt
e029785181
Fix playing item highlighting issue
Fix an issue if one plays a song from all songs and then attempts to play a song from its genre/album, the song will not highlight despite it supposely playing.
2021-01-11 12:28:13 -07:00
OxygenCobalt
4f8ddb793f
Fix issue with song display
Fix a bug where playing a song with remember shuffle on would cause the song display to look wrong.
2021-01-11 12:17:39 -07:00
OxygenCobalt
d507b77d32
Fix shuffle bug with ALL_SONGS
Fix an issue where if a song was played with KEEP_SHUFFLE on the queue wouldnt actually be shuffled.
2021-01-11 07:15:49 -07:00
OxygenCobalt
6ecfd0daa0
Minor changes
Update some things here and there.
2021-01-10 17:29:02 -07:00
OxygenCobalt
bf24199158
Make remember shuffle on by default
Make the remember shuffle option on by default.
2021-01-10 08:43:58 -07:00
OxygenCobalt
e46e9a26c2
Fix keyboard issues
Fix an issue where the keyboard will stay visible even after navigating away from the search UI. May also fix a memory leak, unsure.
2021-01-07 11:26:38 -07:00
OxygenCobalt
6627de4b62
Add filtering to library search
Add filtering to the library search bar.
2021-01-07 10:40:10 -07:00
OxygenCobalt
406ba212f8
Update library searching
Reorder how library items are displayed when searching, no longer hiding genres/artists depending on the DisplayMode.
2021-01-07 09:25:58 -07:00
OxygenCobalt
22ab5ad255
Move song search to SongsFragment
Move the ability to search for songs to SongsFragment for better consistency. May switch to a dedicated search tab in the future but I generally like how this looks.
2021-01-06 15:54:33 -07:00
OxygenCobalt
332d1d0170
Update shuffling system
Optimize the shuffling system in PlaybackStateManager.
2021-01-05 09:42:36 -07:00
OxygenCobalt
35db7792bb
Update album artist navigation
Make it so that when an album is navigated to from an artist, navigation to the parent artist is disabled.
2021-01-05 08:29:29 -07:00