Do you want to record anything on the CD-R deck except for CDs? Perhaps you could just connect a digital output from the CD player directly to the digital input on the CD-R deck.
What model of CD player and CD-R deck do you have? Alternatively, you could let us know what digital inputs/outputs both have.