I've uploaded an update to google play, the big addition in this is audio playback. Now it still needs a lot of work as I will explain in a bit, but I've been using it for most of the last week, so please, read my comments below and give me lots of feedback. The other notable change is that I broke the image caching when I added online images by including the authToken in the string used for hashing, effectively making the cache only useful for the current session. You will want to go into the settings and clear the thumnail and image cache as those are all now junk files.
- Code:
==== Beta 6 ====
*Added #2: [Audio] - Support playback
*Fixed a bug that caused the image cache to re-fetch images after authToken changes
*Fixed #10: Entering a folder for the first time should show 'Loading...' rather than 'No content'
*Fixed #9: Missing metadata is shown as null in the audio view
*Added #14: Add option to hide empty folders
*Added a limit of 100 tracks to the Audio->Random view
First thing to decide is the actions (and the default one) that users can use to add tracks to the playlist to be played. Currently long clicking a track, or pressing the action item when in an album, or a folder with audio tracks, you have the following options:
1)Queue : Adds the tracks to the end of the playlist, and starts playback if nothing is playing at the moment
2)Play next: Adds the tracks after the current track, and starts playback if nothing is playing at the moment
3)Play now: Adds the tracks after the current track, and skips forward and startings playing it
Now I can change both the names, what they do and the options, so let me know which is most useful to you.
One limitation at the moment is you cannot add tracks from the parent, e.g. you have to move into the folder to add the tracks. Later version will fix this, for now the toast will say Queued 0 tracks.
Next thing is the music player itself and navigation etc. Its hard to explain so give it a go. To get to it, either click the notifcation that is shown during playback, or press menu and select the music player. As for as the now playing/playlist display. an option would be to move the current track from the title, and add it over the cover art. I want to avoid wasting space where possible. So I could also loose the tabs and have swipe left/right with maybe a button. Anyway the point is it isn't remotely finished.
Thirdly is playback, at the moment I let android download and play the track. It isn't great though as it quite often won't buffer enough of the track, and if you skip back before the buffer, it has a fit. This will be replaced in the next beta, and will also enable pre-loading of tracks to avoid the pause between them when on a low connection.