'Returns a Media object that only contains media of the given type'

def __getitem__(self, name):

    if (name in MEDIA_TYPES):
        return Media(**{str(name): getattr(self, (u'_' + name))})
    raise KeyError((u'Unknown    media    type    "%s"' % name))
