<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 23, 2018 at 10:37 AM, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Fri, 23 Feb 2018 10:18:07 -0500, you wrote:<br>
<br>
>I've got guide data now, by sorting out scheduals direct.<br>
>Unfortunately, no "watch this channel" does not work, it tries, then<br>
>returns to the guide page.<br>
>I don't use live TV function, but, I tested successfully watching another<br>
>channel.<br>
><br>
>trieli@mythtv:~$ wget <a href="http://127.0.0.1/playlist.m3u" rel="noreferrer" target="_blank">http://127.0.0.1/playlist.m3u</a><br>
>--2018-02-23 09:45:01--  <a href="http://127.0.0.1/playlist.m3u" rel="noreferrer" target="_blank">http://127.0.0.1/playlist.m3u</a><br>
>Connecting to 127.0.0.1:80... connected.<br>
>HTTP request sent, awaiting response... 200 OK<br>
>Length: 93 [audio/x-mpegurl]<br>
>Saving to: ‘playlist.m3u.4’<br>
><br>
>playlist.m3u.4      100%[===================>]      93  --.-KB/s    in 0s<br>
><br>
><br>
>2018-02-23 09:45:01 (5.88 MB/s) - ‘playlist.m3u.4’ saved [93/93]<br>
><br>
>trieli@mythtv:~$<br>
><br>
>trieli@mythtv:~$ sudo cat /var/www/html/playlist.m3u<br>
>#EXTM3U<br>
>#EXTINF:0,9 - CBC<br>
>#EXTMYTHTV:xmltvid=10088<br>
><a href="https://watch.cbc.ca/live/channel/windsor" rel="noreferrer" target="_blank">https://watch.cbc.ca/live/<wbr>channel/windsor</a><br>
>trieli@mythtv:~$<br>
><br>
>Cutting and pasting the URL from the playlist into a FireFox browser works.<br>
><br>
>Mythweb was not set up, So I did "sudo apt install mythweb -y", might there<br>
>be permission limitations here?<br>
<br>
</span>Mythweb is a red herring.  Apache is working to allow wget to download<br>
the playlist.m3u file - that is all it is used for.  Mythweb is not<br>
involved in that download, or in playing IPTV URLs.  Having mythweb<br>
installed simply guarantees that Apache will be installed.<br>
<br>
The playlist.m3u file is only used my mythtv-setup to configure IPTV<br>
channels - it is not involved once the channels are set up.  So if you<br>
can see the channel in the program guide, and the URL works from a<br>
browser, then it should work from Live TV or for a recording.  Unless<br>
(as I suspect) the URL is redirected to a different URL when you play<br>
it.<br>
<br>
But before trying to track down a possible redirection (which is<br>
possible but a bit difficult with https), it would pay to check that<br>
the database entries for the channel are correct.  So what do these<br>
three SQL queries produce?<br>
<br>
select * from capturecard where cardtype='FREEBOX'\G<br>
select * from channel where name='CBC'\G<br>
select * from iptv_channel where chanid=(select chanid from channel<br>
where name='CBC')\G<br>
<div class="gmail-HOEnZb"><div class="gmail-h5">______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/<wbr>mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/<wbr>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a></div></div></blockquote><div><br></div><div> Database changed</div><div>mysql> select * from capturecard where cardtype='FREEBOX'\G</div><div>*************************** 1. row ***************************</div><div>               cardid: 11</div><div>             parentid: 0</div><div>          videodevice: <a href="http://127.0.0.1/playlist.m3u">http://127.0.0.1/playlist.m3u</a></div><div>          audiodevice: NULL</div><div>            vbidevice: NULL</div><div>             cardtype: FREEBOX</div><div>         defaultinput: Television</div><div>       audioratelimit: NULL</div><div>             hostname: mythtv</div><div>         dvb_swfilter: 0</div><div>         dvb_sat_type: 0</div><div>dvb_wait_for_seqstart: 1</div><div>          skipbtaudio: 0</div><div>        dvb_on_demand: 0</div><div>      dvb_diseqc_type: NULL</div><div>       firewire_speed: 0</div><div>       firewire_model: NULL</div><div>  firewire_connection: 0</div><div>       signal_timeout: 1000</div><div>      channel_timeout: 65000</div><div>     dvb_tuning_delay: 0</div><div>             contrast: 0</div><div>           brightness: 0</div><div>               colour: 0</div><div>                  hue: 0</div><div>             diseqcid: NULL</div><div>          dvb_eitscan: 1</div><div>            inputname: MPEG2TS</div><div>             sourceid: 7</div><div>      externalcommand: NULL</div><div>       changer_device: NULL</div><div>        changer_model: NULL</div><div>             tunechan: NULL</div><div>            startchan: 9</div><div>          displayname: HLS</div><div>          dishnet_eit: 0</div><div>          recpriority: 0</div><div>            quicktune: 0</div><div>           schedorder: 1</div><div>          livetvorder: 1</div><div>*************************** 2. row ***************************</div><div>               cardid: 12</div><div>             parentid: 11</div><div>          videodevice: <a href="http://127.0.0.1/playlist.m3u">http://127.0.0.1/playlist.m3u</a></div><div>          audiodevice: NULL</div><div>            vbidevice: NULL</div><div>             cardtype: FREEBOX</div><div>         defaultinput: Television</div><div>       audioratelimit: NULL</div><div>             hostname: mythtv</div><div>         dvb_swfilter: 0</div><div>         dvb_sat_type: 0</div><div>dvb_wait_for_seqstart: 1</div><div>          skipbtaudio: 0</div><div>        dvb_on_demand: 0</div><div>      dvb_diseqc_type: 0</div><div>       firewire_speed: 0</div><div>       firewire_model: NULL</div><div>  firewire_connection: 0</div><div>       signal_timeout: 1000</div><div>      channel_timeout: 65000</div><div>     dvb_tuning_delay: 0</div><div>             contrast: 0</div><div>           brightness: 0</div><div>               colour: 0</div><div>                  hue: 0</div><div>             diseqcid: 0</div><div>          dvb_eitscan: 1</div><div>            inputname: MPEG2TS</div><div>             sourceid: 7</div><div>      externalcommand: NULL</div><div>       changer_device: NULL</div><div>        changer_model: NULL</div><div>             tunechan: NULL</div><div>            startchan: 9</div><div>          displayname: HLS</div><div>          dishnet_eit: 0</div><div>          recpriority: 0</div><div>            quicktune: 0</div><div>           schedorder: 1</div><div>          livetvorder: 1</div><div>2 rows in set (0.00 sec)</div><div><br></div><div>mysql> select * from channel where name='CBC'\G</div><div>*************************** 1. row ***************************</div><div>           chanid: 7009</div><div>          channum: 9</div><div>           freqid: NULL</div><div>         sourceid: 7</div><div>         callsign: CBET</div><div>             name: CBC</div><div>             icon: </div><div>         finetune: NULL</div><div>     videofilters: </div><div>          xmltvid: 10088</div><div>      recpriority: 0</div><div>         contrast: 32768</div><div>       brightness: 32768</div><div>           colour: 32768</div><div>              hue: 32768</div><div>         tvformat: Default</div><div>          visible: 1</div><div>    outputfilters: </div><div>    useonairguide: 0</div><div>          mplexid: NULL</div><div>        serviceid: 0</div><div>         tmoffset: 0</div><div>  atsc_major_chan: 0</div><div>  atsc_minor_chan: 0</div><div>      last_record: 0000-00-00 00:00:00</div><div>default_authority: </div><div>       commmethod: -1</div><div>           iptvid: NULL</div><div>1 row in set (0.00 sec)</div><div><br></div><div>mysql> select * from iptv_channel where chanid=(select chanid from channel</div><div>    -> where name='CBC')\G</div><div>*************************** 1. row ***************************</div><div> iptvid: 4</div><div> chanid: 7009</div><div>    url: <a href="https://watch.cbc.ca/live/channel/windsor">https://watch.cbc.ca/live/channel/windsor</a></div><div>   type: data</div><div>bitrate: 0</div><div>1 row in set (0.00 sec)</div><div><br></div><div>mysql> </div></div><br></div></div>