Rhythm on the River (1940)
Rhythm on the River is a 1940 musical comedy film starring Bing Crosby and Mary Martin as ghostwriters whose songs are credited to a composer played by Basil Rathbone. James V. Monaco (music) and Johnny Burke (lyrics) were nominated for the Academy Award for Best Original Song for "Only Forever".
More at Wikipedia.