One of Lancashire’s most historic buildings is set to appear in a popular TV show later this year.