I had a portable CD player with an option to sync-copy. You would select enough songs on the CD until the added time would be the amount you had of tape eg. 30 minutes. Then, you'd hit the REC+PLAY buttons on the cassette, and it would record those songs on that side.
Select the remaining to copy on the other side and presto.