Pvt. Richard A. McDaniel was captured December 16, 1864 at Nashville. His name appears on a January 2, 1864 roll of prisoners at the Louisville (KY) Military Prison who were transferred to Camp Douglas, Illinois.
For the rest of his story, I suggest using the service provided in Alan Pitts' post.