Send HTTP Recording Stream to NUL?

Want to write your own code to work with a HDHomeRun or work with the HDHomeRun DVR? We are happy to help with concepts, APIs, best practices.
wtg
Posts: 241
Joined: Thu Jan 18, 2007 5:21 am
Device ID: Flex 4k

Re: Send HTTP Recording Stream to NUL?

Post by wtg »

FYI, this seems to work in PowerShell:

(new-object Net.WebClient).DownloadFile( 'http://192.168.1.41:5004/tuner3/v20.1?duration=6000', 'NUL:')

No error and no file that I can find.

KeithAbbott
Posts: 82
Joined: Fri Mar 11, 2011 7:10 pm

Re: Send HTTP Recording Stream to NUL?

Post by KeithAbbott »

wtg wrote: Mon Jun 16, 2025 5:46 pm FYI, this seems to work in PowerShell:

(new-object Net.WebClient).DownloadFile( 'http://192.168.1.41:5004/tuner3/v20.1?duration=6000', 'NUL:')

No error and no file that I can find.
Winner winner chicken dinner!!! I wasn't sure if this would be able to multithread or not, but it works perfect using the "ForEach-Object -Parallel" cmdlet. This solution does not seem to have a 2GB limitation, and I am able to retrieve all of the data available from my HDHR devices. Many thanks!

Post Reply