Infrared is definitely the way to go there. It’s of course in the IR library already (under Xfinity).
While Comcast did announce forthcoming IP control for the X1 in September 2015, it is… still… “forthcoming”. We are keeping close tabs on it in the event it were to be released.
I strongly recommend TiVo for Comcast environments.