HDHomeRun server

This forum is for all other ARMv5 devices

HDHomeRun server

Postby darth » Mon Jul 02, 2012 4:26 pm

Mea Culpa:
Hi, Don't know where to put this, please forgive me if I got it wrong.

The Nitty Gritty
I have several HDHomeRuns. I want to be able to control them and direct the streams to local files from my Pogo via a web interface. However, such an endeavor requires knowledge I, sadly, do not possess. To start with, I will need a Pogo V3 version of HDHomeRun_config. A method for other distros is explained here:

http://www.silicondust.com/forum/viewtopic.php?t=1924

Towards the end of the topic are instructions on how to make the file. I have not used a C compiler in 20 years and never a Linux version. Could someone be so kind as to provide the steps I would need to take to cross compile this for the Pogo? I have a machine with Ubuntu if that is a consideration.

The instructions given in the article are as follows:

$this->bbcode_second_pass_quote('', '
')HDHomeRun Config (GTK) instructions

Extract both libhdhomerun and hdhomerun_config_gui to the same directory, eg:

directory/libhdhomerun
directory/hdhomerun_config_gui

From the hdhomerun_config_gui directory compile and install using:

Code:
./configure
make
sudo make install
sudo ldconfig


BTW, I will be compiling the command line version, not the gui, but I assume the steps should be similar.

Thank you for your patience and consideration.
darth
 
Posts: 15
Joined: Thu Apr 05, 2012 1:45 am

Re: HDHomeRun server

Postby karog » Wed Jul 04, 2012 6:02 am

I run hdhomerun_config on my pogo v3 (works on v2 also). Compiled 12/19/2011 for both arm (pogo) and mips (my asus rtn-16 router) so it is not the most recent code but it works well enough.

Here is a download link: hdhomerun_arm_mips.tar.gz

unzip it to find
$this->bbcode_second_pass_code('', '
/arm/hdhomerun_config
/arm/libhdhomerun.so
/mips/hdhomerun_config
')

The arm lib is only for writing other code to use the hdhomerun. You don't need it if all you want is hdhomerun_config.

btw, you do not need to cross compile. You can compile right on the pogo. To load the packages required to compile do:
$this->bbcode_second_pass_code('', '
pacman -S kernel26-headers file base-devel abs
')
as found under Installing Native Build Essentials. It has been awhile since I installed these packages but according to my notes it will ask two questions: the first answer is "2" for linux-headers and the second is "all" for base-devel. That may differ now so see if any questions arise and if these answers make sense.

The gui is a pita to get going but as you say you don't need that. So if memory serves, you can skip the ./configure, cd straight into the directory/libhdhomerun dir, make and you will then have hdhomerun_config (as well as libhdhomerun.so) in that dir. Then rather than doing sudo make install, just copy it anywhere you like that is on your PATH env variable. And no need for the ldconfig.

You can use the hdhomerun_config save command to save streams. On a pogo v3 I was able to get as many as 3 at a time successfully. That encouraged me to try and put mythtv on. That has been an adventure. I have 3 pogos, a v3 B01 booting off a sata drive, a v3 P21 with only a USB flash drive, and a v2 E02 with a USB hard drive. I run mysql with the mythtv db on the B01 along with the master backend. I run a slave backend on the E02 which does all of the recording, and I run mythweb under lighttpd on the P21. I tried the mysql db on the E02 with its faster cpu and more memory but mythfilldatabase took about 4 hours I think because it has no sata and the disk is the bottleneck. On the B01 it takes about an hour 45 mins. mythweb works but is a bit slow. I turned off previewgen as that is too resource intensive and I don't care about it. I can only record one show at a time successfully but at least it works. I really wish there were a v2 pogo with sata and even better with 512 MB RAM. I am thinking about looking into a cubox.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: HDHomeRun server

Postby darth » Thu Jul 05, 2012 6:01 pm

Thanks karog. Sorry about taking so long to respond. Been out of town.

It sounds like you have the kind of setup I aspire to. I didn't realize MythTV could be used at all on a Pogo.. I have 3 of them too, two are SATA, so this idea is very appealing. I also have a generic Realtec Venus box that records and plays most media quite well.

http://www.ebay.com/itm/230770243328?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1497.l2649

If I can use the pogo to stream TV to it, I will have a fully functional OTA recorder. The Realtec is not as open as the Pogo is. It has a squashfs that makes life more difficult, but I have made some progress. It does work with DLNA, however, so if I can get the recordings on my Pogo with miniDLNA, I have an alternate route.

Thanks Again,
Dan
darth
 
Posts: 15
Joined: Thu Apr 05, 2012 1:45 am

Re: HDHomeRun server

Postby darth » Fri Jul 13, 2012 8:00 am

Just as a follow up. I used the information supplied by karog to use my pogo v3 as a dvr and it works flawlessly. I have only 4 tuners so that was the maximum streams i could try, but to my utter amazement, it worked fine. 3 of the streams were SD and only one was HD, but WOW. My windoze computer chokes on one HD stream. I was able to record one stream and simultaneously stream a prerecorded movie to my Sony Bravia via minidlna without problem. The results were better than I had hoped. While these events were in progress I was also able to use the Apache web server as well. Now I want to get a php based dvr going. I found a website that has one that looks pretty good and has a small footprint.

http://woodhousellc.com/?s=phpdvr

Haven't tried it yet, but it looks promising.

I also used the MIPS version on my noname Realtek Venus DVR and got it to work as well. The results, however, were not as satisfying. I worked, but had lots of network errors that resulted in jumpy video. After about 3 minutes, the system crashed and I had to reboot. The Venus only has 57mb of memory with only about 8mb free, so I suspect it choked and died. I am going to try it again after killing all the other processes running and see if it does any better. I had some problems getting the MIPS version to work at all. It required a lot of libraries that were not in the package nor on the machine. Persistant googling finally reaped reward.

Thanks again karog for making the Pogo dvr so easy! Its nice when something works first time :D
Last edited by darth on Wed Jul 18, 2012 8:52 am, edited 1 time in total.
darth
 
Posts: 15
Joined: Thu Apr 05, 2012 1:45 am

Re: HDHomeRun server

Postby karog » Fri Jul 13, 2012 1:32 pm

Thanks darth for the update. It is always nice to get feedback.
karog
 
Posts: 305
Joined: Thu Jan 05, 2012 7:55 pm

Re: HDHomeRun server

Postby darth » Wed Jul 18, 2012 8:43 am

I truly could not have succeeded without your gracious help... Again... Thanks

Indirectly, this experience with the Pogo and HDHomerun ended up helping me make progress on my MIPS Realtek Venus system as well. For months I could not make anything work on it. After I got the HDHR going I got Apache and ftp working on the beast. A little success goes a long way :mrgreen:
darth
 
Posts: 15
Joined: Thu Apr 05, 2012 1:45 am

Re: HDHomeRun server

Postby s09g06 » Fri Oct 19, 2012 8:19 pm

Hi darth,
were you finally able to setup a dvr on pogoplug. I am also interested in doing this. I have a dockstar v3 pogoplug and also a hdhomerun receiver. I would love to setup the v3 pogoplug to record some shows for me that I can watch later. TIA, Sam
s09g06
 
Posts: 2
Joined: Sun Oct 07, 2012 6:42 am


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 7 guests