<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 21, 2018 at 8:43 PM, 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"><div class="gmail-m_-8576218735916023079HOEnZb"><div class="gmail-m_-8576218735916023079h5">On Wed, 21 Feb 2018 20:33:46 -0500, you wrote:<br>
<br>
>On Wed, Feb 21, 2018 at 7:55 PM, Stephen Worthington <<br>
><a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>> wrote:<br>
><br>
>> On Wed, 21 Feb 2018 19:34:29 -0500, you wrote:<br>
>><br>
>> >> > trieli@mythtv:~$ ls -al /var/www/html<br>
>> >> >total 24<br>
>> >> >drwxr-xr-x 2 root root  4096 Feb 21 10:26 .<br>
>> >> >drwxr-xr-x 4 root root  4096 May 26  2016 ..<br>
>> >> >-rw-r--r-- 1 root root 11321 May 26  2016 index.html<br>
>> >> >-rw-r--r-- 1 root root    50 Feb 21 10:26 playlist.m3u<br>
>> >> >trieli@mythtv:~$<br>
>> >> ><br>
>> >> >Is there anything wrong with these permissions?<br>
>> >><br>
>> >> No.  The web server can read the files, as it runs as root.  So access<br>
>> >> to the files is then controlled by the web server.  Which will allow<br>
>> >> you to access them from anywhere that has access to the web server -<br>
>> >> it is not set up by default with any restrictions on access.  To check<br>
>> >> that it is working, run this from a (non-root) command prompt on that<br>
>> >> box:<br>
>> >><br>
>> >> wget <a href="http://127.0.0.1/playlist.m3u" rel="noreferrer" target="_blank">http://127.0.0.1/playlist.m3u</a><br>
>> >><br>
>> >> It should download a copy of the playlist.m3u file.<br>
>><br>
>> ><br>
>> >Thanks Stephen, that gives me this:<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-21 19:18:59--  <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: 50 [audio/x-mpegurl]<br>
>> >Saving to: ‘playlist.m3u’<br>
>> ><br>
>> >playlist.m3u        100%[===================>]      50  --.-KB/s    in 0s<br>
>> ><br>
>> ><br>
>> >2018-02-21 19:18:59 (3.47 MB/s) - ‘playlist.m3u’ saved [50/50]<br>
>> ><br>
>> >trieli@mythtv:~$<br>
>> ><br>
>> >So maybe this isn't right?<br>
>><br>
>> That is all working correctly.<br>
>><br>
>> >trieli@mythtv:~$ cat /var/www/html/playlist.m3u<br>
>> >#EXTM3U<br>
>> ><a href="https://watch.cbc.ca/live/channel/windsor" rel="noreferrer" target="_blank">https://watch.cbc.ca/live/cha<wbr>nnel/windsor</a><br>
>> >trieli@mythtv:~$<br>
>> ><br>
>> >If the URL that I can stream on FireFox isn't what I should use, how do I<br>
>> >determine what to use? Or is something else wrong with my playlist?<br>
>><br>
>> Your playlist.m3u file is not in the correct format.  It needs some<br>
>> extra bits to make it work with MythTV.  Here is an example from my<br>
>> file:<br>
>><br>
>> #EXTINF:0,4061 - ESPN2<br>
>> #EXTMYTHTV:xmltvid=<a href="http://espn2.sky.co.nz" rel="noreferrer" target="_blank">espn2.sky.c<wbr>o.nz</a><br>
>> #EXTVLCOPT:program=1222<br>
>> rtsp://<a href="http://satip.jsw.gen.nz:554/?src=1&freq=12734&msys=dvbs&" rel="noreferrer" target="_blank">satip.jsw.gen.nz:554/?s<wbr>rc=1&freq=12734&msys=dvbs&</a><br>
>> plts=off&fec=34&pol=h&ro=0.35&<wbr>sr=22500&mtype=qpsk&pids=0,311<wbr>,1011,1111<br>
>><br>
>> The #EXTINF: line is required and always has the 0, at the front, then<br>
>> the channum value, a space, a - character, a space and then the<br>
>> channel name (which, IIRC, gets put in both the name and callsign<br>
>> fields in the database).  The #EXTMYTHTV: line always has the xmltvid=<br>
>> bit and following that the correct xmltvid value to match the EPG data<br>
>> you are using.  It is optional - if you do not have EPG for the<br>
>> channel, do not use a #EXTMYTHTV: line.  The #EXTVLCOPT: line is also<br>
>> optional - it always has a program= followed by the serviceid of the<br>
>> channel.  You should not use #EXTVLCOPT: as your IPTV channels are<br>
>> pure web streaming channels - mine come from tuners via minisatip and<br>
>> do have serviceid values.<br>
>><br>
>> There can also be problems with URLs that get redirected to a<br>
>> different URL.  I think that redirection code was added to<br>
>> mythbackend, so it should now handle that, but I have not tested it<br>
>> myself.  If it does not, then you have to somehow track through the<br>
>> redirection(s) and find the real URL and use that.<br>
>> ______________________________<wbr>_________________<br>
>> mythtv-users mailing list<br>
>> <a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
>> <a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailma<wbr>n/listinfo/mythtv-users</a><br>
>> <a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing<wbr>_List_etiquette</a><br>
>> MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
>><br>
><br>
>My bad, I assumed that the leading # meant it was commented out and<br>
>therefore optional. How this:<br>
><br>
> trieli@mythtv:~$ cat /var/www/html/playlist.m3u<br>
>#EXTM3U<br>
>#EXTINF:0,9_1 - CBC<br>
>#EXTMYTHTV:xmltvid=72772<br>
><a href="https://watch.cbc.ca/live/channel/windsor" rel="noreferrer" target="_blank">https://watch.cbc.ca/live/cha<wbr>nnel/windsor</a><br>
>trieli@mythtv:~$<br>
<br>
</div></div>I do not think 9_1 would work as a channnum - the field in the<br>
database is "varchar", but as far as I know, the value has to actually<br>
be a positive integer number.  The rest looks fine.<br>
<div class="gmail-m_-8576218735916023079HOEnZb"><div class="gmail-m_-8576218735916023079h5">______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailma<wbr>n/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing<wbr>_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div>I edited the playlist:</div><div class="gmail_extra"> #EXTM3U</div><div class="gmail_extra">#EXTINF:0,9 - CBET-DT</div><div class="gmail_extra">#EXTMYTHTV:xmltvid=72772</div><div class="gmail_extra"><a href="https://watch.cbc.ca/live/channel/windsor">https://watch.cbc.ca/live/channel/windsor</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">restarted apache2, scanned or channels, confirmed channel in the editor, but no program info populates when I exit BE and run mythfildatabase,</div><div class="gmail_extra">Is this a scheduals direct issue, I've looked there but don't see how to crteate a HLS lineup.</div></div>