<div dir="ltr"><div dir="ltr">On Tue, Feb 25, 2020 at 2:40 PM Peter Carlsson <<a href="mailto:maillist.peter@home.se">maillist.peter@home.se</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sun, Feb 23, 2020 at 09:12:32AM +0800, Ian Campbell wrote:<br>
> On Fri, 2020-02-21 at 18:20 +1300, Stephen Worthington wrote:<br>
> > Also, I believe that MythTV can not handle URLs that get redirected<br>
> <br>
> FWIW it will from 31 onwards[0], although I've since switched to using<br>
> the generic external recorder[1] with vlc[2] on the theory that vlc is<br>
> much more widely used than myth's builtin support so is likely more<br>
> compatible with more things etc.<br>
> <br>
> Hopefully that final link is also useful as inspiration for using<br>
> streamlink.<br>
<br>
I have now tried more and had some good progress.<br>
<br>
I used the example file in [2] and changed the [RECORDER] command to:<br>
<br>
  command="streamlink --player=vlc --stdout \"%URL%\" 720p"<br>
<br>
and the [TUNER] channels to:<br>
<br>
  channels=mythtv-iptv-external-recorder-channels.conf<br>
<br>
The channels file look like this:<br>
<br>
  [1]<br>
  NAME=SVT1 HD<br>
  CALLSIGN=SVT1HD<br>
  XMLTVID=<a href="http://svt1.svt.se" rel="noreferrer" target="_blank">svt1.svt.se</a><br>
  URL="<a href="https://www.svtplay.se/kanaler/svt1?start=auto" rel="noreferrer" target="_blank">https://www.svtplay.se/kanaler/svt1?start=auto</a>"<br>
<br>
  [2]<br>
  NAME=SVT2 HD<br>
  CALLSIGN=SVT2HD<br>
  XMLTVID=<a href="http://svt2.svt.se" rel="noreferrer" target="_blank">svt2.svt.se</a><br>
  URL="<a href="https://www.svtplay.se/kanaler/svt2?start=auto" rel="noreferrer" target="_blank">https://www.svtplay.se/kanaler/svt2?start=auto</a>"<br>
<br>
After configuring MythTV to use a generic external recorder, scan and<br>
ran mythfilldatabase I successfully managed to watch TV using the first<br>
channel for this tuner.<br>
<br>
What still does not work is when I try to switch channel it exit back to<br>
MythTV first screen. This I still have to figure out how to solve.<br>
<br>
But except for this it has worked better than I expected.<br>
<br>
Thanks once again to those who helped me so far!<br>
<br>
Best regards,<br>
Peter Carlsson<br></blockquote><div><br></div><div>Hi Peter,</div><div><br></div><div>The problem with changing channels in LiveTV was a bug. As of today, It has been fixed in MythTV fixes/31. If you are building from source, you can update now and it should work.</div><div><br></div><div>John<br></div></div></div>