Connect the Dish Hopper to the TV with HDMI.
Connect the DVD to the TV with whatever connection are compatible.
Connect the optical output of the TV to the soundbar. Check the TV manual on how to turn on and configure the optical out.
If that doesn't work for the DVD then connect the analog audio outputs directly to the soundbar aux analog input.