I haven't used it for such, but I think get_iplayer can be used to stream/record live programmes. Don't know how easy it would be to port it.