To stop pigeons getting at a seed tray left for smaller birds, I bought a small mesh flower/plant holder (the type that can be suspended) and placed it, inverted over the seed tray. Used some flexible garden wire to hold it in position.
Its quite entertaining to see the lengths pigeons go to, to try and get in. Eventually the numbers trying have given up so magpies and pigeons are making fewer visits.
km