The Apple Music app on Apple TV is easier to work with than using a phone, (although of course you need a TV to manage it) - it outputs digital over a HDMI cable, but reduces any higher res streams to 48kz
Almost all stereo tracks are 'lossless'.
I find the quality fine for everyday listening.