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

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.

Comments are closed.