(03-Dec-2016, 07:24)streamy Wrote: Take an AppleTV 2 or 3, connect it via Toslink to the Dialog or one of your Phantoms and you have Airplay, too. Aiplay however plays lossless only up to 24bit/48k.
Higher resolution music needs Spark, a Qobuz sublime subscription (and puchased hires albums) or hires music files stored on a PC or Mac accessible drive and Spark running on that PC or Mac. As alternative you can install a player like Moodeplayer on the RPi with hifiberry digi+ and play your music libraries that can contain music in almost any file format.
Better to get an Airport Express than an Apple TV ( 2 or 3 as you said because 4 does not have optical out). The ATV takes all Airplay input and resamples it to 48kHz before output on the optical port - the Airport Express leaves it at 44.1 which is what the Airplay limit is.