SYNOPSIS
Creates an M3U playlist for an HDHomerun tuner
DESCRIPTION
Downloads the lineup from an HDHR tuner, specified by IP address and transforms it into an M3U plalist
When you don't specify an output file, the m3u content will be printed out for preview.
The output file will be generated as UTF-8 without BOM, which isn't the case when you just pipe the output into a file!
PARAMETER $ipaddress
The IP address of the tuner
PARAMETER $outfile
An optional filename to which to save the M3U
.EXAMPLE
C:\PS>
.\hdhr_get_m3u.ps1 192.168.1.1 out.m3u
.EXAMPLE
C:\PS>
.\hdhr_get_m3u.ps1 192.168.1.1
.NOTES
Author: softworkz (https://github.com/softworkz)
Date: May 14, 2021
Thank you! This is exactly what I needed!