following discussions between Miller and the club hierarchy; they would have preferred him to give up playing and focus solely on the managerial role, which he was not prepared to do at that time. Livingston said that they had asked Miller to focus on his tasks as manager, but Miller had been unwilling to end his playing career. The following week, Miller's former Scotland teammate Gary Holt was appointed his successor at Livingston. Dundee Miller signed a two-year playing contract with Dundee on 29 August 2018. He failed to score in his first seven matches for the club but then scored five in three games, including a hat-trick at home to relegation rivals Hamilton Academical on 5 December. Dundee finished in bottom position in the Premiership table and were relegated to the Scottish Championship, with Miller leaving the club 'by mutual consent' during the summer off-season. Partick Thistle On 26 June 2019, Miller signed for Partick Thistle on a one-year contract. Miller scored his first goal for Thistle in the League Cup v Queen's Park in a 2–1 win. Miller was released from his Thistle contract in January 2020, having scored 10 goals in all competitions for the club. He announced his retirement from playing football soon afterwards. International career Miller made his under-21 debut for Scotland in a 2–0 defeat to France at Rugby Park in March 2000. It was the first of a total of seven appearances at under-21 level, in which Miller registered two goals. Miller made his international debut, under the management of Craig Brown, on 25 April 2001. He was an 80th-minute substitute for Scott Booth during a 1–1 friendly match against Poland. He had to wait nearly two years for his second appearance when he was selected for a Euro 2004 qualifier by the then manager Berti Vogts in March 2003. Miller started the match at home to Iceland and scored within the first ten minutes to give Scotland the lead. From then until his international retirement in 2013, Miller was almost always first-choice, playing either on his own or as part of a two-man attack. He scored goals in important games against several teams, including Germany and Ukraine. In 2005, Miller scored four goals in three internationals, against Austria, Italy, and Norway. Miller won his 50th cap for Scotland in a 1–0 defeat against Czech Republic in October 2010. He captained the team