If you check the documentation, files that can't be played should not be shown. There are other issues about how Samsung caches the folders and directories but I can't give all the solutions to that. Most common are to flip on the TV from movies to MP3s and back. On the servers we unshare and then share the folder again.
Again, the supported list is usually in the docs and what folk discover is other encodings may work then someday not.