Use pylirc2 instead of pylirc. Should be a drop in replacment