How have you found DLNA? I tried it briefly with the built-in PS4 client and MiniDLNA/ReadyMedia on a headless Ubuntu machine and I found it to be awful— the server side needed to be rebooted in order to discover new media in the folder, the PS4 client was clunky to use (missing obvious stuff like picking up playing a file where you left off), and iTunes instances on the same network would do weird stuff like suddenly peg the processor and burn themselves to the ground, apparently due to something in the protocol.
I haven't yet circled back, but my conclusion was to give up on it and instead pursue an end-to-end solution like Plex or Jellyfin.