If your media box supports recording TV, the manual will describe how to do this. Not all media boxes will offer this functionality, lower end models tend to be playback only.
For boxes that do support it, it's just like operating a VCR. Feed the signal from the UPC signal output into the media player's input ports, start playback on the UPC box and hit record on the media box.
Leo