IOS – Shuffle by album on iOS-devices

iosiphoneipoditunesplaylist

In iTunes and on iPods (excluding the most recent Nano) there is an option to playback a playlist shuffled by album. This option does not exist in "Music.app" on iOS-devices. However, since you can play a playlist in order I was thinking that it would be possible to emulate the shuffle by album-behaviour if you somehow managed to sort the playlist in a random by album order and then just play it from the first track with shuffle disabled. This raises two questions:

  1. What determines the sorting order for a playlist on an iOS-device?
  2. Can you somehow (maybe with an Applescript) sort a playlist in iTunes in a shuffle by album order?

Best Answer

This is not possible in music.app.

From this Apple Discussion:

The Foobar2000 music player app available in the App Store respects albums and supports 'Shuffle Albums'. It is a competent, comfortable and convenient music player with full Gain Management and many other useful features. It will work with your iTunes library as well as many other music file formats (via iTunes App File Folders). At time of writing it is free.