Roman Josi scored the shootout winner to lift the Nashville Predators to a 4-3 win over the Philadelphia Flyers on Thursday night.

Josi beat Flyers goalie Steve Mason for the last of a combined five shootout goals to give the Predators the needed road win as they chase a playoff spot.

Shea Weber scored a go-ahead goal and had two assists in his first game against Philadelphia since the Flyers made him a $110 million, 14-year offer in the summer of 2012. The Predators matched the deal, keeping him in Nashville. They had to be glad they had their captain against the Flyers.

Weber snapped a tie game with a power-play goal early in the third period. Wayne Simmonds tied the game 3-all with a power-play goal with 1:24 left in regulation to send the game into OT.

Eric Nystrom and David Legwand also scored in regulation for Nashville. Brayden Schenn and Andrej Meszaros scored for the Flyers.

Carter Hutton made the dazzling save of Nashville’s season on a sliding, sweeping stop of Michael Raffl’s shot in the second.

Nashville dug deep into the pocketbook and decided to pay Weber the $110 million over 14 years offered by the Flyers. The Flyers were looking for someone to fill the void left in defenseman Chris Pronger’s absence. Instead, they were left scrambling without the former All-Star and Olympic gold medalist. Even with their captain in the fold, the Predators are fighting for a playoff spot in the Western Conference.

They can thank Weber’s 12th goal for setting up this win — and one incredible save by Hutton.

The Predators acquired Oilers goaltender Devan Dubnyk this week, but went with Hutton in front of another sold out Philadelphia crowd.

Hutton was behind the net as he chased a puck that knocked off the boards and back to a charging Raffl, who had an open look at the net and fired for the seemingly easy goal. Hutton hustled like an All-Star shortstop and made a diving grab to snatch the puck. Raffl could only shake his head in disbelief.

That was just the break the Predators needed.