Spotify and Warner Music Group have signed a new, multi-year agreement, which covers both recorded music and publishing.