thank you very much for the quick responds, i bought a external sound card with a line in and outputs. I'm trying to use the line in from an iPad that will take priority meaning that if the iPad is playing sound i want it to come through and if it's not playing then sound from shairport-sync will be able to come through. i don't know the exact chip set but its compatible alsa sound by default (but heres the link if that helps
https://www.amazon.com/Optimal-Shop-Ext ... B00Q4WQ7XW). i would like to use alsa sound just because i have the sound card working with alsa sound right now but i'm very willing to switch to another solution if needed. i really need the basics on how to handle line in. is there some python classes that i can just import to allow me to tunnel the line in to the line out? also for whatever solution if there a way to check is line is active or can i only check whether shairport-sync is playing? and a thought for a little down the road, does anyone know of a shairport-sync metadata decoder that is compatible with ios 12, it seems once i updated to ios 12 the decoder that is linked in their github gets much more warning flags than after about 20 secs stops. i think this is due to airplay being updated to airplay 2 or something to allow for stereo airplay devices. thanks again