If you’re a Spotify user you’ll probably be well acquainted with the sorcery that is the Discover Weekly playlist.

Each and every Friday you’re served up with a brand new playlist of seemingly random tunes that are *almost* always perfectly suited to your weird and wonderful music tastes.

Okay, so we know this isn’t exactly magic but some complex system of algorithms that us mere mortals will never understand. That is, until now.

Thanks to the guys behind The Science Of Everything YouTube channel, who brought us such educational videos as why gymnasts are so small, or how you’re related to Kevin Bacon, have broken down the mystery behind the infamous playlist.

Basically, it’s a combination of your listening habits + the thousands (millions? who knows) of playlists out in the wide Spotify world that select the artists and the tracks it thinks you will like. Okay that’s not a great explanation, so watch the video below