Posts by dyllan500

    I have been messing around to get the snapserver to get it to work the way I want. I got it to play to all streams kodi, spotify, and airplay at the same time, which @Mr.Tiptop you asked about. I get it to also play the kodi audio out to the hdmi output and send it to snapserver.


    To do this I edited the /storage/.kodi/addons/service.snapserver/bin/snapserver.start file.



    I added this line to combine the Snapserver audio sink and the sink that outputs the audio to hdmi. Allowing audio to be streamed from kodi and play out to hdmi. You can look @AllanK guide right above to get the alsa_output.1.hdmi-stereo sink.

    Code
    pactl load-module module-combine-sink sink_name=combined_sink_name slaves=Snapserver,alsa_output.1.hdmi-stereo



    I then removed all the if statements and made the each stream its own variable to add to the server separately.

    Code
    stream0="pipe://$file?name=Kodi"
    stream1="spotify:///librespot?name=Spotify&devicename=$ss_ln"
    #stream="$stream&params=--zeroconf-port%3D$ss_lp"
    stream2="airplay:///shairport-sync?name=AirPlay"


    Then I just add --stream.stream for each stream source.