Guns and Guitars (1936)
Guns and Guitars is a 1936 American Western film directed by Joseph Kane and starring Gene Autry, Smiley Burnette, and Dorothy Dix. Written by Dorrell and Stuart E. McGowan, the film is about a singing cowboy who helps protect a county from fever-ridden cattle, and after being framed for murdering the sheriff, proves his innocence, gets elected sheriff, and then goes after the bad guy.
More at Wikipedia.