recognise media syntax only if EXT_MEDIA is set