hop of those help? Your playlistsCursor is against android.provider.MediaStore.Audio.Playlists.Members whereas you then proceed to get values from playlistsCursor but against android.provider.MediaStore.Audio.Media The returned structure for a playlist is:
To fix the issue you can do When you start iterating with each(), every item you manipulate inside the closure is "off the traversal" -- that is, you're working with an Edge object, not an GraphTraversal object. Edge has a value() method similar to the GraphTraversal, but it does not have a valueMap() method. You could use ElementHelper.propertyValueMap() instead.