KODI without GUI on Headless Raspbian

Dear all,

I searched a lot but I didn’t found any usefull/working information.

First of all, what do I want to achive:
Currently I am running minidlna on a RPI3 (with attached USB HDD). Works fine, but handling playlists is horrible.

I heard that Kodi can also be used aas DLNA-Streaming-Server, but offers also a Webfronted where I could manage my playlists. Will this playlists stored as M3U file on the harddrive and then be available as Playlist on the Streaming-Clients?

If yes, is there a guide on how to install Kodi on a headless Raspbian (Jessie)?

Br,
Johannes