add duration/sizes/medium for audio/video/art types
some small cleanups