I want to know how one should evaluate the following integral: $$\int_{0}^{\pi} \frac{x\cdot\text{sin}(x)}{1+\text{cos}^2(x)} dx$$
It doesn't lend itself to substitution or integration by parts; I also haven't been able to find any "cheap shots" using properties of odd and even functions. I tried using Feynman's trick with it, but it doesn't seem very helpful here (where to introduce the arbitrary variable other than in the power on cosine?).
I want to know how to solve this integral, but also more broadly, if there is any transferrable skill/trick I can learn from it. I am also interested in how one can discern which integrals are good candidates for Feynman's trick.