Hacky hack for minidlna. This is terrible. There is probably more to come.