Unfortunately we haven’t integrated those inputs as selectable streams yet. However you can manually create a stream for the aux/optical inputs by following two steps.
First create the stream. Click on the API link at the bottom of the AmpliPi web UI, find the “Create Stream” section, click on the “Example” tab, and replace the text in the box with:
{"name": "Input Playback", "type": "fileplayer", "url": "alsa://plughw:cmedia8chint,0"}
The name can be whatever you’d like and you can change it later in the web UI. Once done click on the “Try” button. After refreshing the web UI page you should now be able to select a stream called “Input Playback” or whatever you called it.
Next switch the audio chip’s input to 3.5mm aux or S/PDIF optical. Only one of the two inputs can be used at a time. SSH into the AmpliPi and run the following command for setting the aux as input:
amixer -D usb71 set "PCM Capture Source" "Line"
or this command for selecting optical:
amixer -D usb71 set "PCM Capture Source" "IEC958 In"
In my initial testing the “PCM Capture Source” setting seems to persist even after power loss, so if you only need the aux input you can set it once and never have to SSH in again! And of course we will work on getting these inputs better integrated into the WebUI as soon as we can. An issue was recently added to GitHub regarding the aux/optical inputs: