Set up continuous play in iTunes and then sit back and let the program play your entire catalog. Turn on the Shuffle feature in iTunes to enable continuous playback. Although Apple has slightly changed how you enable shuffle in iTunes 12, it remains similar to iTunes 11 and is still straightforward to set up.
Click "Controls" on the main menu, highlight "Shuffle" and verify that there is a check mark next to "Songs." You must enable Songs shuffling in order to play continuously from your entire music library, rather than from one album or category.
If you're using iTunes 11, click "Controls," highlight "Shuffle" and verify there is a check mark next to "By songs."
Click the "My Music" tab, click "Albums" in the top-right corner and select "Songs" to sort your library by songs. The My Music tab is located beneath the main window at the top of the screen in iTunes 12, where the song name and time are displayed.
Double-click any song to start playing. Click a column heading to sort songs by Name, Time, Artist, Album, Genre or Rating.
Click the "Shuffle" icon (resembling crossed arrows) located to the left of the song name at the top of the iTunes window.
You can also enable continuous play via the Controls menu. Click “Controls,” select “Shuffle” and then click “On.”
ITunes enables you to shuffle continuously by album and grouping. To select a different shuffle type, click “Controls” on the main menu, highlight “Shuffle” and then select either “Albums” or “Groupings.”
To play songs continuously from a single album in iTunes 12, hover your mouse over one of the album's songs in the main iTunes library, click the “…” icon and select “Go to album.” Alternatively, click the “Songs” drop-down menu in the top-right corner, select “Albums” to switch to Albums view and then click the album cover. Double-click a song to start it and then click the “Shuffle” icon. Click the “Shuffle” icon located next to the Play button to start continuous shuffled playback within that album.
If you're using iTunes 11, enable continuous playback by clicking “Controls” on the main menu, selecting “Shuffle” and then “Turn On Shuffle.”