Minidlna can successfully serve Photos, Music, and MPG video; however, when it attempts to share an AVI file - the TV reports that the format is not supported. Those same AVI files can be served to the TV by other DLNA implementations. I have an "A" series Samsung TV (A750) LCD. I tried the other large Samsung TV patch (for the "C" series) and unfortunately, it completely breaks all minidlna functionality with my model.
Upon investigating - ReadyDLNA/minidlna returns the mine type as video/x-msvideo; however, DLNA servers that worked with my TV set the mime type to video/mpeg – yet kept everything else as though it was an AVI (this turns out to be key). It was definitely an Xvid AVI file.
My first attempt was to address this by overriding the mime type the same way the Samsung MKV fix was already implemented; however, that changed too many things (not just the mime type on the actual file request) and did not end up working with my TV. Instead, I had to implement a similar fix but in a different spot in the source code. See attached file.
Log in to post a comment.