The thing GPM did that neither Apple Music nor Spotify do was cache played songs in an offline playlist. You could specify the size of the cache you wanted (e.g. 10GB), and each time you streamed a song it would thereafter be playable offline until dropped from cache.
You're dead on, though, that Apple Music is lightyears ahead of Spotify wrt local files.