I've been spending hours to find information on how to setup tvheadend in a way that I can watch DVB-S2 streams on my UPNP Enabled devices (e.g. smart TVs, Android based Mediaplayers etc). I still cannot believe noone is looking for such an easy solution. Everbody seems to be happy with their xmbc-headends. I find this pretty inconvinient because you need another PC just to watch TV. After hours of fiddling around I finaly got it to work. I wanted to share with you how I did it. Its actualy quite easy once I found out the details how TVH configures the DVB-S Stream.
I used mediatomb to do the upnp-part. I assume your TVH is already setup/ configured and running. I am running TVH-version 3.9.1164~g10558cc~trusty. I also assume you have no problems to install mediatomb and know how to access its configuration
First, go to the Configuration->Channel/EPG/Channels tab of TVH. Open the "Play"-Link in VLC. In VLC go to "Tools"->"Media information". On the bottom of the window it tells you the URL VLC is using to play back the stream. Copy that URL.
Next, go to the mediatomb-configuration frontend, click "add item".
Choose "External Link" from the drop-down combobox.
Title: <thechannelname>
URL: <paste in the URL you copied before here>
protocol: http-get
class: object.item.videoItem
Description: <something, any text>
mimetype: video/x-matroska
Click "save" and thats it. Unfortunatly you need to do this for every channel you want to have available on your devices.
So far it seems to be working for me on my Android-Mediaplayer, LG SmartTV and my "older" Sony TV. I haven't checked my PS3 yet...