Since the MPEG-2 licences was made available for the Raspberry Pi I have been trying to get it working with my HDHomeRun networked TV tuner. I had limited success using an iPad to control the HDHomeRun but I wanted to be able to control the TV tuning directly from the Raspberry Pi and not use an extra device.
Thanks to a tip via a comment on my previous video we now have a solution.
The first step is to create a set of .strm files that XBMC can use to control the HDHomeRun and view the TV stream. To do this you need Windows PC to create the files.
On the Windows PC download and install the HDHomeRun setup tools.
Select the application as XBMC Media Center then click on the Tuners tab and click on Scan
This will product a set of strm files in \users\[user name]\HDHomeRun XBMC TV, there will be one for each channel scanned.
You then need to either copy the .strm files to the Raspberry Pi’s SD card or access the folder via the network. I created a folder on the Pi’s SD card and copied the files to the folder.
Once you have done this you have finished with the Windows PC and you can go to the Raspberry Pi.
From the XBMC on the Raspberry Pi go to the videos section and add files, select the location you placed the .strm files and then from XBMC you will see the list of channels and be able to play them.
Here are instructions for the XBMC part and check out the video walkthrough at the end of this post.
Add the folder as a location in XBMC
In my case it was in the root file system
Select the folder and click ok, this adds it as a location in the Videos section of XBMC
When you select the folder you should see a list TV channels, select the channel and then you will be watching TV on the Pi.