My music is stored on my iMac, and I also have a PC with windows that I use for video games, I leave iTunes opened on my iMac when I'm on my PC so that I can listen to songs while gaming.
Here's my iTunes Sharing preferences on my iMac
The shared playlist appears on my PC, as you can see here
But clicking on it only shows a spinning indicator and then gives up after about 20 seconds, not showing the library on my iMac.
Yes, both iTunes versions are exactly 12.2 on each machine, and this only happens since 12.2. Sharing my library worked fine before this update.