<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 22, 2018 at 8:27 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-HOEnZb"><div class="gmail-h5">On Thu, 22 Feb 2018 11:22:37 -0500, you wrote:<br>
<br>
>On Wed, Feb 21, 2018 at 8:43 PM, Stephen Worthington <<br>
><a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br>
><br>
>> 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">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<br>
>> 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<br>
>> 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<br>
>> 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/<wbr>channel/windsor</a><br>
>> >> >trieli@mythtv:~$<br>
>> >> ><br>
>> >> >If the URL that I can stream on FireFox isn't what I should use, how<br>
>> 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.<wbr>co.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/?<wbr>src=1&freq=12734&msys=dvbs&</a><br>
>> >> plts=off&fec=34&pol=h&ro=0.35&<wbr>sr=22500&mtype=qpsk&pids=0,<wbr>311,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">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><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/<wbr>channel/windsor</a><br>
>> >trieli@mythtv:~$<br>
>><br>
>> 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>
<br>
</div></div><span class="gmail-">>I edited the playlist:<br>
> #EXTM3U<br>
>#EXTINF:0,9 - CBET-DT<br>
>#EXTMYTHTV:xmltvid=72772<br>
><a href="https://watch.cbc.ca/live/channel/windsor" rel="noreferrer" target="_blank">https://watch.cbc.ca/live/<wbr>channel/windsor</a><br>
><br>
>restarted apache2, scanned or channels, confirmed channel in the editor,<br>
>but no program info populates when I exit BE and run mythfildatabase,<br>
>Is this a scheduals direct issue, I've looked there but don't see how to<br>
>crteate a HLS lineup.<br>
<br>
</span>There is no EPG on the streams, so yes, you will need to get that via<br>
Schedules Direct. If you go to the Guide and do M(enu) > Watch This<br>
Channel, does it work?<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>I've got guide data now, by sorting out scheduals direct. </div><div>Unfortunately, no "watch this channel" does not work, it tries, then returns to the guide page.</div><div>I don't use live TV function, but, I tested successfully watching another channel. <br></div><div><br></div><div><div>trieli@mythtv:~$ wget <a href="http://127.0.0.1/playlist.m3u">http://127.0.0.1/playlist.m3u</a></div><div>--2018-02-23 09:45:01-- <a href="http://127.0.0.1/playlist.m3u">http://127.0.0.1/playlist.m3u</a></div><div>Connecting to 127.0.0.1:80... connected.</div><div>HTTP request sent, awaiting response... 200 OK</div><div>Length: 93 [audio/x-mpegurl]</div><div>Saving to: ‘playlist.m3u.4’</div><div><br></div><div>playlist.m3u.4 100%[===================>] 93 --.-KB/s in 0s </div><div><br></div><div>2018-02-23 09:45:01 (5.88 MB/s) - ‘playlist.m3u.4’ saved [93/93]</div><div><br></div><div>trieli@mythtv:~$ </div></div><div><br></div><div><div>trieli@mythtv:~$ sudo cat /var/www/html/playlist.m3u </div><div>#EXTM3U</div><div>#EXTINF:0,9 - CBC</div><div>#EXTMYTHTV:xmltvid=10088</div><div><a href="https://watch.cbc.ca/live/channel/windsor">https://watch.cbc.ca/live/channel/windsor</a></div><div>trieli@mythtv:~$ </div></div><div><br></div><div>Cutting and pasting the URL from the playlist into a FireFox browser works.</div><div><br></div><div>Mythweb was not set up, So I did "sudo apt install mythweb -y", might there be permission limitations here?</div><div><br></div><div><div>trieli@mythtv:~$ ls -al /usr/share/mythtv/mythweb</div><div>total 76</div><div>drwxr-xr-x 10 root root 4096 Feb 21 14:42 .</div><div>drwxr-xr-x 16 root root 4096 Feb 21 14:42 ..</div><div>drwxr-xr-x 5 root root 4096 Feb 21 14:42 classes</div><div>drwxr-xr-x 2 root root 4096 Feb 21 14:42 configuration</div><div>drwxrwxr-x 2 root www-data 4096 Feb 21 14:43 data</div><div>-rw-r--r-- 1 root root 2131 Apr 12 2016 Dockerfile</div><div>-rw-r--r-- 1 root root 6 Apr 13 2016 .dockerignore</div><div>drwxr-xr-x 2 root root 4096 Feb 21 14:42 includes</div><div>drwxr-xr-x 5 root root 4096 Feb 21 14:42 js</div><div>drwxr-xr-x 16 root root 4096 Feb 21 14:42 modules</div><div>-rw-r--r-- 1 root root 10025 Apr 12 2016 mythweb.conf.apache</div><div>-rw-r--r-- 1 root root 2050 Apr 12 2016 mythweb.conf.lighttpd</div><div>-rw-r--r-- 1 root root 1425 Apr 12 2016 mythweb.conf.nginx</div><div>-rw-r--r-- 1 root root 1354 Apr 12 2016 mythweb.php</div><div>-rwxr-xr-x 1 root root 2968 Apr 12 2016 <a href="http://mythweb.pl">mythweb.pl</a></div><div>drwxr-xr-x 9 root root 4096 Feb 21 14:42 skins</div><div>drwxr-xr-x 2 root root 4096 Feb 21 14:42 tests</div><div>trieli@mythtv:~$ </div></div><div><br></div><div>What else can I look at? TIA Daryl</div></div><br></div></div>