A HTTP download of the following URL will make a 1 hour (3600 seconds in 1 hour) recording of virtual channel 2:
Code: Select all
http://<ip addr>:5004/auto/v2?duration=3600
Code: Select all
http://<ip addr>:5004/auto/v2?duration=3600
You should really use POST or PUT. Using GET violates the HTTP spec:I just wonder what the security implications of this will be.
More importantly, clients prefetch and cache GETs, which will break apps in strange and unpredictable ways.... the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered "safe".
The use of HTTP-GET is required by the DLNA standard.scarhill wrote:You should really use POST or PUT. Using GET violates the HTTP spec:More importantly, clients prefetch and cache GETs, which will break apps in strange and unpredictable ways.... the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered "safe".
Items like this might be nice to have in a FAQ or a sticky thread...jasonl wrote:... and those of you who like to put together tools to do things, don't forget about http://<ip addr>/lineup.xml?show=unprotected to get you an XML file with channel numbers and names for all subscribed, non-copy-protected channels. We've got an even better method than playlists in the works, but for those who have to have it now, enjoy.
Any more information about this interface ?nickk wrote:New feature in the latest HDHomeRun Prime beta firmware...
A HTTP download of the following URL will make a 1 hour (3600 seconds in 1 hour) recording of virtual channel 2:
NickCode: Select all
http://<ip addr>:5004/auto/v2?duration=3600
Thanks for the quick response.jasonl wrote:The tuner is automatically selected from the available tuners.
The output is a standard MPEG TS containing whatever video and audio the cable provider uses, typically MPEG2 video and AC3 audio, though occasionally you'll run across others like H.264 video and MPEG audio.
UPnP isn't a single protocol, but rather a collection of many protocols, most of which are also used by other things. SSDP is used by UPnP/DLNA devices to find each other, and is also used by Windows and WMC to find CableCARD tuners.