add metadata support for fileplayer (based on martii)