skip sync/export if media==null