@jareeq You're not "hacking" anything, it's the way it's supposed to work. It is true that the "supported" line must match "exactly", if it doesn't match the line isn't used.
There are some confusion regarding what codec "codes" to use, I don't remember exactly what applies in UMS, but I'm pretty sure that "aac|aac-he|aac-lc" isn't necessary. HE-AAC and AAC-LC are both AAC, they are just more specific. I doubt that the "aac" entry does anything, although I'm not sure. The same goes for "mp4" under video codec. There are no video codec that can be identified as MPEG-4, the MPEG-4 standard describes two different video codecs, one is MPEG-4 Visual and the other is AVC/H.264. MPEG-4 visual is sometimes called "mp4v", sometimes "mp4sp" or "mp4asp" (which are really just different profiles of MPEG-4 Visual, "Simple Profile" and "Advanced Simple Profile"). In any case, just specifying "mp4" seems unlikely to match anything. Most people aren't familiar with MPEG-4 Visual, but DivX and XVid are implementations of this codec.
The codes are defined here:
https://github.com/UniversalMediaServer ... #L590-L695
If we assume that it is to be trusted, it seems like "mp4" is indeed valid as a video codec, and I can only assume that it means MPEG-4 Visual, although AVC/H.264 is "just as much" MPEG-4. "aac" on the other hand is not listed.
"aac-he" doesn't seem to be valid either, it's supposed to be "he-aac".
Regarding codecs you don't know if is supported, you should either find out in a manual or online, or you should test it. Leaving something as "supported" that really isn't supported will just lead to no playback if you encounter such a file. You don't have to add codecs (like EAC-3) to get anything to work unless you have files using that codec. If you have files using that codec and playback works, with subtitles and all when specified like this, then you in fact know that your TV does support it. Otherwise the file wouldn't play.
Edit. I can't understand how this line can make SRT work with MKV's though, as you're missing the "se" spec:
Code: Select all
Supported = f:mkv v:h264 a:aac|aac-he|aac-lc|mpa|ac3|dts|eac3 m:video/x-matroska