Skip to content

Instantly share code, notes, and snippets.

@mohnish82
Forked from nicholashagen/gist:5306330
Created February 18, 2015 23:11
Show Gist options
  • Save mohnish82/0525b7a9d4c5fbf6f346 to your computer and use it in GitHub Desktop.
Save mohnish82/0525b7a9d4c5fbf6f346 to your computer and use it in GitHub Desktop.
HDHomeRun Config command line

Download Source

#> wget http://download.silicondust.com/hdhomerun/libhdhomerun_20130117.tgz
#> tar zxvf libhdhomerun_20130117.tgz 

Install Tools

#> sudo apt-get install make gcc autoconf automake

Building Tools

#> make
#> sudo make install

Discovery

#> discover
hdhomerun device 103A9917 found at 192.168.1.116

Scanning Channels

#> hdhomerun_config 103A9917 scan /tuner0 scan0.log
SCANNING: 587000000 (us-bcast:33)
LOCK: 8vsb (ss=100 snq=79 seq=100)
TSID: 0x01FB
PROGRAM 3: 3.1 WFSB
PROGRAM 5: 3.3 WFSB-3
PROGRAM 6: 3.4 WFSB-4
SCANNING: 581000000 (us-bcast:32)
LOCK: none (ss=54 snq=0 seq=0)

Tuning Channels

#> hdhomerun_config 103A9917 set /tuner0/channel auto:33
#> hdhomerun_config 103A9917 set /tuner0/channel 8vsb: 587000000

Detect Sub-Programs

#> hdhomerun_config 103A9917 get /tuner0/streaminfo
3: 3.1 WFSB
5: 3.3 WFSB-3
6: 3.4 WFSB-4
tsid=0x01FB

Select Sub-Program

#> hdhomerun_config 103A9917 set /tuner0/program 1

Saving Content to Local File

#> hdhomerun_config 103A9917 save /tuner0 capture.mpg

Saving Content to system out

#> hdhomerun_config 103A9917 save /tuner0 - 

Saving Content to Remote UDP Listener

#> hdhomerun_config 103A9917 set /tuner0/target udp://192.168.1.100:5000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment