Minor fixes for clang-tidy warnings
the same patch with (hopefully) fixed coding style.
readbyte() speedup for common cases
Fix type mismatch
Thanks for the hint, mime_to_ext is a lot simpler and works as well, updated patch attached. Pictures and audio work without this quirk.
Add media extension to titles for Hyundai TVs