I build a TV-Box with a NUC7CJYH.
Here is how I did it:
Install 4 or 8GB RAM into the NUC7CJYH. DDR4-2400 (PC4-19200) CL17 SODIMM 260 pin.
Install a 2.5" SSD (128GB is ok) into NUC7CJYH. (not M.2!)
Download Ubuntu 17.10 and put it on an SD-CARD.
Boot the NUC from the SD-Card and install Ubuntu.
Install Linux-Kernel 4.16 from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/ /~kernel-ppa/mainline/v4.16 to have Wifi support.
Install libasound2-plugins-extra for AC3.
Install pavucontrol for sound control.
Install gstreamer multimedia codecs.
Install gnome-color-manager for ICC color profiles.
If you have a DTS or AC3-capable receiver, get a toslink (sp/dif) cable with a 3.5mm jack on one end.
In pavucontrol, set the output to Digital Stereo (IEC958) + Analog stereo input.
In kodi settings go to audio and set the output device to IEC958.
Allow passthru and AC3 encoding and AC3 capable receiver.
For more fun, buy a MX3 air mouse as a remote control.
Note: if you want to watch 4k movies, you should buy the NUC7PJYH, it has more cores.
Thank you very much for taking the time to share this information with the Intel Communities. This will be very helpful for other community users. We really appreciate it.
Something more: see https://help.ubuntu.com/community/DigitalAC-3Pulseaudio DigitalAC-3Pulseaudio - Community Help Wiki for Dolby AC3.
And install i965-va-driver-shaders instead of i965-va-driver.
i965-va-driver-shaders is not open source, but it contains codecs for VP9 and HEVC.