Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hdhomerun_config [2019/11/11 04:27] neds [Compiling hdhomerun_config] |
hdhomerun_config [2024/02/07 03:04] (current) neds |
||
---|---|---|---|
Line 9: | Line 9: | ||
* PC or embedded platforms. | * PC or embedded platforms. | ||
- | ===== Compiling hdhomerun_config ===== | + | ===== Obtaining hdhomerun_config ===== |
<WRAP indent> | <WRAP indent> | ||
Line 22: | Line 22: | ||
<WRAP indent> | <WRAP indent> | ||
- | Download and extract the libhdhomerun archive. Create a new empty project and include all | + | Download and extract the libhdhomerun archive ( https://github.com/Silicondust/libhdhomerun ). Create a new empty project and include all |
the .c and .h files. From the project properties page under C/C++ advanced, change the Compile As type to C, click apply and then change it back to C++ -- this is a workaround for a bug in MSVC++. Under the Linker input, add Ws2_32.lib and iphlpapi.lib as Additional Dependencies. | the .c and .h files. From the project properties page under C/C++ advanced, change the Compile As type to C, click apply and then change it back to C++ -- this is a workaround for a bug in MSVC++. Under the Linker input, add Ws2_32.lib and iphlpapi.lib as Additional Dependencies. | ||
Line 34: | Line 34: | ||
</WRAP> | </WRAP> | ||
- | === Cygwin/Linux/*BSD === | + | === Linux/BSD === |
<WRAP indent> | <WRAP indent> | ||
- | Download and extract the libhdhomerun archive. | + | Download and extract the libhdhomerun archive ( https://github.com/Silicondust/libhdhomerun ). |
Run "make" | Run "make" | ||
Line 105: | Line 105: | ||
| <code>/sys/copyright</code> | Display firmware copyright | | | <code>/sys/copyright</code> | Display firmware copyright | | ||
| <code>/sys/debug</code> | Display debug info | | | <code>/sys/debug</code> | Display debug info | | ||
+ | | <code>/sys/restart</code> | Restart tuner/HDHomeRun. For example, <code>set /sys/restart self</code> will reboot the HDHomeRun. | | ||
</WRAP> | </WRAP> | ||
Line 243: | Line 244: | ||
<code> | <code> | ||
format: hdhomerun_config <id> get /tuner<n>/streaminfo | format: hdhomerun_config <id> get /tuner<n>/streaminfo | ||
- | eg: hdhomerun_config FFFFFFFF get /tuner0/channel streaminfo | + | eg: hdhomerun_config FFFFFFFF get /tuner0/ streaminfo |
</code> | </code> | ||
Line 370: | Line 371: | ||
{{tag>troubleshooting}} | {{tag>troubleshooting}} | ||
+ | {{tag>development}} |