Good suggestions. I used to Apple Music fans but now I prefer to use Spotify.
And It is also convenient to transfer songs from Apple Music to Spotify by using DRmare Spotify to MP3 Converter.
I guess the tool works in a similar way as yours. It can download Spotify music to MP3 and save them on the device for local playback.