fixes for media api
Merge branch 'master' of https://github.com/sebastianvogel/yuma-server
bug fixes for media api