Using Rygel and Lightmediascanner
Light Media Scanner
Lightweight media scanner has been created for embedded systems. It uses SQLite for storing data. The project started in 2007. The source code is available at GitHub under GNU Lesser General Public License 2.1.
The following articles explains how to manually use Rygel and LMS to scan for multimedia files, list and share them over Universal Plug and Play (UPnP). It has been tested with the Tizen distribution for i.MX6 built with Yocto/OE and meta-agl, the Yocto Layer of Automotive Grade Linux (AGL).