The Andre agreement had been for three years and related to the Peter Andre: The Next Chapter series and Here To Help.
The Andre series initially concerned his marriage to the model Katie Price, formerly known as Jordan, and then his life in the aftermath of their divorce.
Mr H TV claimed that ITV had wrongfully terminated the production agreement and claimed damages estimated to be between £6 million and £7 million.
ITV2 disputed the claim.
Sources estimated that ITV2 could be left with lawyers' bills of more than £10 million.
An ITV spokesman said: “We are disappointed in the judgment and will be carefully considering all our options with a view to a possible appeal.”