Add mediaprovider patch