I have Lidarr on Steroids to automate downloads. It uses Deemix to download automatically. Deemix will download in MP3 with a free Deezer subscription, but if you want FLAC you need the premium suscription, or the month trial.
In Lidarr you can import a spotify playlist and it will add all the artists for you, which then downloads through Deemix. You can even download the entire discography if you like. Plus extras like album art.
For streaming I use Airsonic from my PC, then the Substreamer app on my android for the front end. You can create playlists in here and can also download songs on your device for offline play.
When I’m done downloading the majority of my playlists Artists and want to get rid of the Deezer subscription, I’ll probably switch to Usenet and Soulseek to download.
It payed off today, we had a mobile/internet outage for most of the day and I was still able to stream music.
For Lidarr I use Lidarr on Steroids (there is also Lidarr extended and a plug in script but I couldn’t get those going). Probably on me because I can’t get nginx going either.
I connected Deemix to it (you need a Deezer account) you can get MP3 for free, and with premium Deezer you can get lossless. All the music you want there.
There is also Soulseek for rare stuff but it’s manual and I cant find a way to connect it to Lidarr.
I second this but I use Lidarr on Steroids, as that’s the one I could get working. I also chose to subscribe to Deezer for a month or two so I can download everything in lossless/FLAC using my own arl. Then I’ll cancel it. After that I’ll probably go to soulseek and manually download.