<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 21 Feb 2020 at 05:21, Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
>I notice the streamlink project [<a href="https://streamlink.github.io/" rel="noreferrer" target="_blank">https://streamlink.github.io/</a>] has a<br>
>plugin for SVT. If you can install that and then by using either of the<br>
>URLs you're using above, to get a video stream played, then you could look<br>
>at using streamlink in conjunction with MythTV's external recorder<br>
>functionality [<a href="https://www.mythtv.org/wiki/ExternalRecorder" rel="noreferrer" target="_blank">https://www.mythtv.org/wiki/ExternalRecorder</a>]. That seems<br>
>like a reasonable way forward to me.<br>
<br>
I tried running streamlink with full debug output, but unfortunately<br>
it does not display the URLs even when set to trace level output. As<br>
it is all written in Python 3 it may be able to be made to display the<br>
URLs, but you would need to be able to modify it to do that.<br></blockquote><div><br></div><div>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.</div><div><br></div><div>--</div><div>Cheers, Ian<br></div><div><br></div></div></div>