Solved! Getting surround sound from my streaming tv using my receiver, not working

Feb 17, 2019
Hi, I have a new Toshiba amazon fire tv and a pioneer vsx-520 receiver. we recently dropped direct tv and now I cannot figure out how to get my tv sound to run though my surround sound. It previously worked when we had the direct tv box. In that case, we had an hdmi cord running from the tv to the output on the receiver and then another hmdi running from the direct tv box to the input spot on the receiver. I tried using the hdmi from the tv to the output also the input spots on the receiver and its not working. I also tried turning off the sound on the tv. That just made there be no sound. Suggestions? Thanks