Inside the Mark Sweeney announcement.

The Dodgers announced Monday that Mark Sweeney was leaving his post as a special assistant to pursue another opportunity in baseball.

Although no official announcement has been made, Sweeney is expected to become the San Diego Padres’ television analyst this season. Tom Krasovic (formerly of the San Diego Union-Tribune) was the first to report the news on his “Inside the Padres” blog Saturday.

The reason no announcement has been made is that the Padres are changing broadcast affiliates, to Fox, but the deal hasn’t been formally approved. (Yes, there’s an unfortunate Frank McCourt connection.) The North County Times recently called it “the worst kept secret in town.” Basically, Fox is lining up its talent and that includes Sweeney.

Sweeney joined the Dodgers’ staff following a 14-year major league career that ended in 2008.