Ed Sheeran is set to play himself in his first major movie role in Danny Boyle’s next feature - a film about a man who wakes up to discover he is the only person in the world who remembers The Beatles.

Associated Press reports that Ed plays Ed in the as yet untitled film, which is penned by Love Actually and Notting Hill writer Richard Curtis and stars EastEnders star Himesh Patel as a fellow musician.

Speaking to AP, Sheeran said: "Then I discover him and take him on tour. Then he gets much, much bigger than me through doing stuff. Yeah, it’s very clever.

"I got to actually kind of learn how to act.… With the Game of Thrones thing, that was literally me popping in for a day and making a cameo. Or Bastard Executioner was me popping in for a day. But this was like full days on set, like full 12-hour days."

Goodnight sweethearts

The film is due for release in September 2019 and Sheeran completed filming earlier this year while in the middle of his most recent tour.

Danny Boyle recently dropped out of directing the next James Bond movie, due to "creative differences.", which are reported to have involved plans to see 007 die and then regenerate.  

Sheeran told AP that he alternated between several days of touring and a few days of shooting for nearly two months.

The singer can also be seen as himself in the new Apple Music documentary Songwriter. He previously told EW he made the film to put a new focus on his songwriting work. "It’s so important for me to be seen as a songwriter rather than just a puppet - like, you want people to think these thoughts and feelings are yours," he said. 

"Often when you are the artist and you have other people on the songwriting credits, people assume you don’t write your songs."