---
title: MPMusicShuffleMode.albums
framework: mediaplayer
role: symbol
role_heading: Case
path: mediaplayer/mpmusicshufflemode/albums
---

# MPMusicShuffleMode.albums

The playlist is shuffled by album.

## Declaration

```swift
case albums
```

## See Also

### Constants

- [MPMusicShuffleMode.default](mediaplayer/mpmusicshufflemode/default.md)
- [MPMusicShuffleMode.off](mediaplayer/mpmusicshufflemode/off.md)
- [MPMusicShuffleMode.songs](mediaplayer/mpmusicshufflemode/songs.md)
