In order for Sonos to display data from YouTube, the SMAPI implementation is used to act as a layer between YouTube and Sonos. To actually play the sound from a YouTube video, youtube-dl is used to download the audio. This audio is then passed on through ffmpeg to covert Dash audio ...