On the TV: Open Network Stream → Get URL from device. The code is shown there. You only enter it once.
After sending, press Get URL from device on the TV to play it.