get media metadata (java ver)