(AP)—Dish and Gannett say they have reached an agreement in a fee dispute that had threatened to leave more than 2 million Dish subscribers in 19 cities without access to local television stations owned by Gannett.

The companies said Monday that they reached a long-term agreement but didn't give further details.

Corp. had claimed that Gannett Co. was asking for a 300 percent increase in fees for the right to carry 22 Gannett stations affiliated with NBC, CBS, ABC and Fox. Gannett has said it was seeking a in line with market rates.

The two sides are also fighting over Dish's new , which allows customers to automatically skip commercials from the previous night's prime-time broadcasts.

Gannett's television markets include Denver, Atlanta and Washington.