Blake Shelton fans can get an early glimpse of the singer in his role in the forthcoming animated film The Angry Birds Movie with a new trailer released earlier this week.

In the 30-second clip, Shelton portrays Earl, one of the green "piggies" who also happens to be a country performer. Earl can be seen singing on and off the stage with a guitar in hand and a cowboy hat on his head as one of Shelton's new songs, "Friends," is played in the background of the trailer.

“I can write things about myself and my life,” the star previously told Entertainment Weekly of writing the song for the film, “But I don’t have a whole lot of experience being shot out of a slingshot at pigs.”

The Angry Birds Movie is an animated film based on the smartphone game of the same name. Shelton's character is one of the enemies of the Angry Birds, and the film will tell the origin of the feud between the two groups. In addition to Shelton, the voices of Jason Sudeikis, Maya Rudolph, Peter Dinklage, Josh Gad are also featured.

“They kept saying, ‘More country!’ I felt like I was doing a voiceover for Dukes of Hazzard,” Shelton joked to Entertainment Weekly.

Shelton says he was familiar with the Angry Birds game and frequently lost all sense of time while playing the game. “I wish I had a dollar for every minute I lost playing that freaking game, you know?” he said. “Well, I guess I do now.”

The Angry Birds Movie will be released on May 20. Nearly a month later, Shelton will head to Grand Junction, Colorado to headline Country Jam 2016.

"Savior's Shadow" Co-Writer Jessi Alexander on What Inspired Shelton's Song

More From Taste of Country