fix media api
Merge pull request #30 from BrandyMint/vadus/media_api

fix media api