does anyone know how to work out the residue of this at 0

i already have that

Res(f,0)= .5 lim (2*pi^3*z*cot(pi*z) -2*pi^2)cosec^2(pi*z)

(as z tends to 0)

But i cant work out the limit, seeing as everytime i work it out i get different answers, i was told to use taylor series though