[mythtv-users] Recording IPTV?

Ian Cameron mkbloke at gmail.com
Fri Feb 21 18:21:45 UTC 2020


On Fri, 21 Feb 2020 at 05:21, Stephen Worthington <stephen_agent at jsw.gen.nz>
wrote:

> >I notice the streamlink project [https://streamlink.github.io/] has a
> >plugin for SVT.  If you can install that and then by using either of the
> >URLs you're using above, to get a video stream played, then you could look
> >at using streamlink in conjunction with MythTV's external recorder
> >functionality [https://www.mythtv.org/wiki/ExternalRecorder].  That seems
> >like a reasonable way forward to me.
>
> I tried running streamlink with full debug output, but unfortunately
> it does not display the URLs even when set to trace level output.  As
> it is all written in Python 3 it may be able to be made to display the
> URLs, but you would need to be able to modify it to do that.
>

Using the --stream-url option to streamlink can output the streaming URL
for the site URL and quality given on the command line.  This could be an
option, but it comes with caveats.  It will work, provided the streaming
URL is fully static and requires no cookies for access.  Things can quite
often be tricky due to dynamically generated tokens and cookies on these
kinds of sites.  If the OP can get a static streaming URL and access it
without needing cookies, then plugging that into the M3U file would be the
simplest way forward.  If not, then it becomes necessary to use something
like streamlink, which will handle those issues and get it to output the
video stream into an external recorder.

--
Cheers, Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200221/096c5663/attachment.htm>


More information about the mythtv-users mailing list