Sunday, June 10, 2018

GMMP 3.0 Alpha 1d

Lots of fixes this update.  There are still some remaining but I think i address the majority of the major ones.  Whatever remains is either low priority, or bugs i cannot reproduce / unsure of the cause.  I will most likely start working on alpha 2 this upcoming week and circle back to the remaining bugs at a later time.


3.0 Alpha 1d (2018-06-10):
More 18:9 album art size tweaks
Sped up loading of the first song on startup (only an issue with very large libraries)
Browser root paths should now be sorted by whatever sort order is selected
Queue details should now load faster for large queues
Queue should now load data around the current position instead of the start when the queue view is opened
Auto pause / play on power plug is now disabled by default
Adjusted album details view when no album art is present
On Queue Completion is now applied when manually hitting next track at the end of the queue
Playing artist or genre shuffled will now enable shuffle mode
Fixed issue where album art in now playing would not update on track change
Notification album art will now be cleared when the playing track has no art
Fixed issue changing view mode after the screen has turned off and on again
Fixed issue where grid size menu option does not appear when switching to grid mode until reloading view
Album details should factor in disc no when sorting by track number
Fixed multiple of the same artist or genre being displayed in android auto
Album art should now always show up on startup in the mini player (hopefully)
Fixed incorrect color being used when scrolling the artist/genre details view
Fixed fast scroll letters for albumartist list view
Fixed where having the same track in the queue multiple times would mess the ordering
Album details view items not highlighting during multi select
Album details should now highlight the correct track after track change
Fixed issue with the scanner where songs and albums were added twice

http://gonemadmusicplayer.proboards.com/thread/941/gonemad-music-player-alpha-feedback

Thursday, May 31, 2018

GMMP 3.0 Alpha 1c

I made a bunch of fixes and did some UI tweaks to make the album art not get cut off nearly as much on a lot of devices.

Download link is in the forums: http://gonemadmusicplayer.proboards.com/thread/941/gonemad-music-player-alpha-feedback

3.0 Alpha 1c (2018-05-31):
Album art size tweaks should now be applied to all 18:9 devices
Adjusted metadata and media button heights in now playing for 18:9 devices
Fixed issue with multiple genres and artists where a empty space was placed before the artist or genre name
Fixed crash trying to share files on sdcard
Caught exceptions thrown by AudioEffect instead of crashing
Fixed crash trying to update metadata of a null track
Fixed issue with multiple artist tags not be separated
Fixed crash on some devices when changing orientation immediately after starting playback
Music Service should not get auto shutdown as easily anymore (drawer -> menu will always shut it down however)
Track sorting should now factor in Disc Number
Fixed a few of the album list sort options
Fixed crash related to the changelog
Fixed crash when failing to load album art
Fixed disappearing media button icons

New screen shots on 18:9 devices

18:9
16:9





Thursday, May 24, 2018

GMMP 3.0 Alpha 1 Released

After around a years worth of development, I finally have gmmp in a good enough state that I can release an alpha.  As I've mentioned in previous posts, this is a very early alpha and it is not feature complete.  Its missing a bunch of major features like search, smart playlists, tag editor, customizations, etc.  The UI has also not really be optimized for different devices and there are no transitions yet.  All these will come later.  I also have only been doing legit testing for the last week and a half.  During that time i have found a lot of bugs that still have not been fixed, however gmmp's current state should be good enough to use.  Probably not as your daily driver yet, but it still works as intended.  Most of the bugs are minor and can be addressed by just reloading the UI.

There have been a few changes since the last WIP update.  One being the complete split between artists and album artists.  They now have their own views.  The album artist views might be a little buggy since I just coded that all up last night, but from my testing today I have not seen any real issue.  I also added a few additional preferences: manual scan and keeping the screen on during playback.  The majority of the other changes in the last 2 weeks were bug fixes.


With this alpha, I do encourage feedback from everyone, however I do want to limit what type of feedback I am receiving.  Please restrain from giving feedback about missing features / capabilities.  I've already said a lot is missing.  If 3.0 gets to the beta stage and a feature you were waiting for is still not present, then feel free to ask me.  What I am looking for is: bugs/crashes and general feedback on how it feels to use the player.  As I said transitions are not there so going from screen to screen wont be to smooth depending on your device, but comments on the navigation in general would be appreciated.  I didnt spend too much time on that yet since I wanted to hear from the users.

If you are going to report a bug, first check out trello to see if its already been reported.  https://trello.com/b/JCyp2kas/gonemad-music-player-development   unders 3.0 - bugs.  As you can see there are already plenty reported by myself.

Moving forward I should be able to maintain a regular release schedule similar to how often I would post WIP updates.  So expect updates every 1-3 weeks.  Some may just be minor fixes, others include major additions.  Trello shows everything i am working on and what has been accomplished.  Right now things are split between alpha releases but that will most likely change (things listed for alpha 2 might end up in a few releases from now.. but they will be added before things listed for alpha 3).  Once 3.0 is stable enough I will move over to the play store.  For now the alpha will be a separate package and will be installable along side GMMP 2.x

Download link and feedback post is here:
http://gonemadmusicplayer.proboards.com/thread/941/gonemad-music-player-alpha-feedback

Edit: note if you have a very large library and are using 8.0 you will probably run into issues with having duplicate of each songs and the scan restarting a bunch of times.  Oreo will kill the scan when it goes into doze or takes longer than 10 minutes.  I have not seen any issues with large libraries on pre 8.0.  If some music appears to be missing you can run a manual scan in the settings

Edit 2: it also appears that changing the primary dark theme color does nothing.. despite working fine earlier today.  I guess just leave the default theme for now.

Edit 3: themeing in general does not work.  When I create a release version of the app it ends up obfuscating a lot of the code and that appears to break a lot of the custom UI elements i wrote for the themeing.  For now keep the default theme and i'll work on getting a fix out this weekend

Bug fix posted for 64bit devices using the amazon version

Apparently removing crashlytics messed up loading gmmp's audioengine so I submitted a fix to amazon which should show up in the next day.  Anyway who happened to download the "all" version of 2.2.8 from this site should download the newly posted 2.2.9 using the same link.  That also suffers from the issue

http://www.mediafire.com/file/fxmmo1ecaoa21v5/gmmp-2.2.9-amazon.apk/file

Monday, May 21, 2018

2.2.8

Due to the upcoming enforcement of the GDPR, I decided to remove both google analytics and crashlytics in 2.x.  I honestly did not use the analytics data for anything, so there is no loss there.  Crashlytics was useful but over the years google has improved their crash reporting service enough that I can easily drop crashlytics in order to comply with the new EU law.

Release should go live on google play in the next few hours and on amazon by tomorrow.

Friday, May 11, 2018

3.0 WIP 21: Basic Preferences, Theme Builder, and Alpha 1 release date

Development for 3.0 Alpha 1 is wrapping up finally.  The last week or 2 I spent time fixing a lot of bugs and finishing off the initial preference UI.  The current preferences was kind of hacked up and only has a few options but I needed to make something to toggle a few of the crucial settings and build themes (and also show the changelog/licenses).  The majority of preferences for GMMP will require me to write some custom preference UI elements, so those will slowly be rolled out in future alphas.

There will be a video of the theme builder at the end of this post, but the only other visuals i have are for the changes to the FAB in the artist, album, and genre view.  The album details view will now default to playing the album when selecting the fab, but the artist and genre will play all the songs shuffled.  Eventually the defaults will be configurable but i think these are decent default settings for now.




The FAB will hide itself when you scroll down



For the theme selector, so far I have 4 things configurable.  Base theme (right now just material light and dark, but i will also add a white and black), primary color, primary dark, and accent color.  The changes to the UI are made instantly so you do not need to restart the UI or anything like that.


Finally, I have tentatively set the release date for the first alpha to be May 24th (EST).  This is right before memorial day weekend so i'll have plenty of time to hotfix any major issues that come along.  I have decided, that until most of the main GMMP functionality is in the alpha, it will be released as an apk outside of the playstore with a different package name.  This means you will be able to install it side by side with GMMP 2.x.  While I do think 3.0 right now is very usable, for most people it wont be enough to be their daily driver just yet.  This also gives me some time to fully test the upgrade process.  I ideally went to keep everyone's database and stats intact.  Also just a warning now, all the settings will be reset and not restore-able.  I have changed so much in the last year that a clean slate was needed (plus i renamed all the preference's keys to use a standard naming scheme that makes it much easier to deal with in code). 

Saturday, April 28, 2018

3.0 WIP 20: Light theme, list paging and highlighting the current song in all views

Light Theme

I spent some time making sure the light themes worked correctly and there was surprisingly a lot of work needed to get them looking good.



By default, the theme library GMMP uses lets the text to all of the views that are not the toolbar to be black.  The toolbar is smart enough to check the background color and choose the appropriate text color to display on top of that.  Since a large amount of GMMPs UI uses the primary color as the background, I had to create a lot of custom views to do something similar to the toolbar.



A dark background will give you light text and light button colors and vice versa for a light background.  Note: I still need to work on the button colors behind album artist.  Light colors on top of art is obviously preferred


Paging

In my opinion one of GMMP's strongest points has always been the ability to handle very large library, so I started testing 3.0 with a large library.  I put a 200 gb sdcard filled with music into my Moto e4 and began testing.  I quickly found out that what I had written started to struggle when throwing 20,000 songs at it.  The lists rendered fine and you can navigate through your music at a speed you would expect.. however the memory usage seemed to be very high causing random pauses when selecting items.  Fortunately google has something exactly for this in their Paging Library to handle this.  What this does is load data around where your list is current positioned.   In the case of having a list with 20000 songs, at any given time only a few hundred will be loaded into memory to be displayed in the list.

I am still in the process of working out all the kinks with the paging library, but my initial implementation seems to work pretty well.  The lists will show up almost immediately (vs taking a few seconds to load) and I no longer experience the random pauses when making selections.  Now some things do not play too well with this library like the fast scrolling, but I will either get things working with the fast scrolll library, write my own implementation of fast scroll, or come up with an alternative to navigate large lists fast (perhaps something like android auto does with the letter selection).

Song Highlighting


One of the most frequently requested features I received was the ability to show the current playing track in all the list views instead of just now playing / folder view / queue view.  Every view that shows track lists besides the bookmark view should now highlight the playing song if its in the visible list.  The video below shows that in action.



I also made a few other additions like syncing with the android media library and loading the entire list into the queue when selecting a song (this now includes the full track list view as well)

I am still targeting a late May release for the first alpha.  The player is in pretty good shape now but has not yet gone through any sort of significant testing, so there is the potential for a delay if I run into some bad issues.