Ed Sheeran is taking a bigger leap into acting, playing a main role in Danny Boyle's as-yet-untitled next film.