Does anybody knows how create an impex in order to add a new row in media item in hybris without creating or using MediaContainer?
Do you mean mime type? if yes, you create media like below
$catalog-id=testCatalog
$catalog-version=Online
$catalogversion=catalogversion(catalog(id),version)[unique=true,default=$catalog-id:$catalog-version]
INSERT_UPDATE Media ; $catalogversion[unique=true] ; code[unique=true] ; realfilename ; @media[translator=de.hybris.platform.impex.jalo.media.MediaDataTranslator] ; mime[default='text/plain']
; ; siteMapMedia ; sitemap.vm ; jar:de.hybris.platform.acceleratorservices.constants.AcceleratorServicesConstants&/acceleratorservices/test/sitemap.vm ;