We calculate the Sommerfeld precursor that results after transmission of a generic electromagnetic plane wave pulse with transverse electric polarization, through a one-dimensional rectangular N-layer photonic crystal with two slabs per layer. The shape of this precursor equals the shape of the precursor that would result from transmission through a homogeneous medium. However, amplitude and period of the precursor are now influenced by the spatial average of the plasma frequency squared instead of the plasma frequency squared for the homogeneous case.