Archive for March, 2013

Just Playlists 5.2.3—Changes for Android 4.2.2: Album Artwork Look-up, Multiuser Partitioning

Saturday, March 30th, 2013

I decided it was time to upgrade my Galaxy Nexus from Android 4.1.2 to 4.2.2.  I’d been holding off due to reports of problems with Bluetooth.  All seems well, but, once again, Just Playlists was affected by under-the-hood changes in the Android OS.    The first problem was that album artwork wasn’t being found in the media database of such information built by the OS.  I appears that Android now stores the artwork keyed by the canonical path name of the media file.  I corrected for this, which is backward compatible to Android 2.3, Gingerbread.

Also, Android 4.2.x has introduced multiple user accounts for tablets.  This means that each user is given a separate partition on the device’s internal storage.  For single-user phones, this means that the partition scheme of internal storage also changes.  Though symbolic links are maintained to the new partitions for backward compatibility, the actual partition names are used internally and end up messing with how I store playlist names, leading to names not being found in JP’s history database or duplicate entries being created for the same playlist, coming from the different valid paths to the file from different partition names.

I was able to work around this using some hard-coded look-up tables for known valid internal and external storage paths.  It’s a bit of a hack, but I haven’t found a better way to handle it at this point.  The upside is that anyone upgrading from an older version of Android should find that all their existing playlists are found in JP’s history database.

Just Playlists 5.2.2—Fixed Playback of Playlists Created on Samsung Galaxy S III

Saturday, March 2nd, 2013

In turns out that playlists created on the Galaxy S III still had improper paths on tracks—which I thought I’d fixed in 5.2.1.  I really do believe it is fixed now, as confirmed by a friend who owns a Galaxy S III.