The News Corporation and Time Warner Cable struck a deal just in time for the Sugar Bowl.

The two companies said Friday evening that they had agreed on new terms for a contract covering Fox stations in New York, Los Angeles, Orlando and other markets, averting a blackout of the weekend’s college bowl games in millions of homes. They did not disclose the terms.

The deal between the News Corporation and Time Warner caps weeks of sparring over the price that the cable company  and by extension its customers  should pay to watch Fox, ahead of an end-of-the-year contract expiration.

Analysts had expected that the deal would set a new high-water mark for local TV stations that want sizable subscriber fees in exchange for so-called retransmission rights.

In tense negotiations with Time Warner Cable, Fox had demanded about a dollar a subscriber per month, far more than other stations have received. Time Warner Cable thought 30 cents was more reasonable, said people briefed on the talks who insisted on anonymity because the specifics of the talks were confidential.