Both sides previous revisionPrevious revision | |
troubleshooting:creating_a_sample [2022/10/18 23:04] – neds | troubleshooting:creating_a_sample [2022/10/18 23:06] (current) – neds |
---|
| |
Examples: | Examples: |
* <code>curl http://hdhomerun.local:5004/auto/v2.1?duration=30 -o test.mpg</code> | * <code>curl "http://hdhomerun.local:5004/auto/v2.1?duration=30" -o test.mpg</code> |
* <code>curl http://104fffff.local:5004/auto/v2.1?duration=30 -o test.mpg</code> | * <code>curl "http://104fffff.local:5004/auto/v2.1?duration=30" -o test.mpg</code> |
* <code>curl http://192.168.0.100:5004/auto/v2.1?duration=30 -o test.mpg</code> | * <code>curl "http://192.168.0.100:5004/auto/v2.1?duration=30" -o test.mpg</code> |
| |
</WRAP> | </WRAP> |
<WRAP indent> | <WRAP indent> |
| |
Launch a terminal and run: <code>curl http://hdhomerun.local:5004/auto/ch<physical channel number>?duration=30 -o <filename></code> | Launch a terminal and run: <code>curl "http://hdhomerun.local:5004/auto/ch<physical channel number>?duration=30" -o <filename></code> |
| |
The "hdhomerun.local" address should resolve to the first HDHomeRun device on your network. If this does not work, or you have more than one HDHomeRun device, you can also use your "device ID"+.local. For example, if you have a device ID of 104fffff then you would use 104fffff.local. If that still does not work, you can find the IP address of your HDHomeRun from your router settings and use that. | The "hdhomerun.local" address should resolve to the first HDHomeRun device on your network. If this does not work, or you have more than one HDHomeRun device, you can also use your "device ID"+.local. For example, if you have a device ID of 104fffff then you would use 104fffff.local. If that still does not work, you can find the IP address of your HDHomeRun from your router settings and use that. |
| |
Examples: | Examples: |
* <code>curl http://hdhomerun.local:5004/auto/ch7?duration=30 -o test.mpg</code> | * <code>curl "http://hdhomerun.local:5004/auto/ch7?duration=30" -o test.mpg</code> |
* <code>curl http://104fffff.local:5004/auto/ch7?duration=30 -o test.mpg</code> | * <code>curl "http://104fffff.local:5004/auto/ch7?duration=30" -o test.mpg</code> |
* <code>curl http://192.168.0.100:5004/auto/ch7?duration=30 -o test.mpg</code> | * <code>curl "http://192.168.0.100:5004/auto/ch7?duration=30" -o test.mpg</code> |
| |
</WRAP> | </WRAP> |