This is the output of the curl command:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>401 Unauthorized</TITLE>
</HEAD><BODY>
<H1>401 Unauthorized</H1>
<P STYLE="text-align: center; margin: 2em"><A HREF="/" STYLE="border: 1px solid; border-radius: 4px; padding: .6em">Default login</A></P><P STYLE="text-align: center; margin: 2em"><A HREF="/login" STYLE="border: 1px solid; border-radius: 4px; padding: .6em">New login</A></P></BODY></HTML>
Adding my username and password like so causes the curl command to give me a list of my channels instead of unauthorized.
http://USERNAME:PASSWORD192.168.1.X:9981/playlist/channels.m3u
Still though, Emby does not accept this url. This may be a question better suited for an emby forum, but any idea how to make emby say something other than "there was an error saving the tv provider"?
thanks!