<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 29, 2020 at 9:53 AM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com">pb.mythtv@gmail.com</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"><br>
<br>
On 2/29/20 11:35 AM, Peter Bennett wrote:<br>
><br>
><br>
> On 2/28/20 9:40 PM, Barry Quiel wrote:<br>
>> Just discovered leanfront, but need some help.<br>
>><br>
>> I just installed 106 on my Fire4k using a .29 backend, but can't play <br>
>> any recordings. Based on the ADB logging it looks the URL isn't <br>
>> being properly created for the REST calls.<br>
>> Logs:<br>
>> 02-28 18:18:54.904 13188 13188 I ExoPlayerImpl: Init 1496e6 <br>
>> [ExoPlayerLib/2.10.7] [mantis, AFTMM, Amazon, 25]<br>
>> 02-28 18:18:54.931 13188 16987 W System.err: <br>
>> <a href="http://java.net" target="_blank">java.net</a>.MalformedURLException: no protocol: <br>
>> null/Content/GetFile?StorageGroup=Default&FileName=/4748_20200228060000.ts<br>
>> 02-28 18:18:54.932 13188 16987 W System.err: at <br>
>> java.net.URL.<init>(URL.java:589)<br>
>> 02-28 18:18:54.932 13188 16987 W System.err: at <br>
>> java.net.URL.<init>(URL.java:486)<br>
>> 02-28 18:18:54.932 13188 16987 W System.err: at <br>
>> java.net.URL.<init>(URL.java:435)<br>
>> 02-28 18:18:54.932 13188 16987 W System.err: at <br>
>> org.mythtv.leanfront.data.a.a()<br>
>> 02-28 18:18:54.932 13188 16987 W System.err: at <br>
>> org.mythtv.leanfront.data.a.doInBackground()<br>
>> 02-28 18:18:54.932 13188 16987 W System.err: at <br>
>> android.os.AsyncTask$2.call(AsyncTask.java:305)<br>
>> 02-28 18:18:54.932 13188 16987 W System.err: at <br>
>> java.util.concurrent.FutureTask.run(FutureTask.java:237)<br>
>> 02-28 18:18:54.932 13188 16987 W System.err: at <br>
>> android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)<br>
>> 02-28 18:18:54.932 13188 16987 W System.err: at <br>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)<br>
>> 02-28 18:18:54.934 13188 16987 W System.err: at <br>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)<br>
>> 02-28 18:18:54.934 13188 16987 W System.err: at <br>
>> java.lang.Thread.run(Thread.java:761)<br>
>><br>
>> Am I reading that log correct?<br>
>><br>
>> Also seeing the same error for preview images:<br>
>> 02-28 18:18:55.154 13188 13188 W Glide : Load failed for <br>
>> null/Content/GetPreviewImage?Format=png&RecordedId=3304 with size <br>
>> [312x176]<br>
>> 02-28 18:18:55.154 13188 13188 W Glide : class <br>
>> com.bumptech.glide.load.n.q: Failed to load resource<br>
>> 02-28 18:18:55.154 13188 13188 W Glide : There were 3 causes:<br>
>> 02-28 18:18:55.154 13188 13188 W Glide : <br>
>> java.io.FileNotFoundException(/null/Content/GetPreviewImage?Format=png&RecordedId=3304 <br>
>> (No such file or directory))<br>
>> 02-28 18:18:55.154 13188 13188 W Glide : <br>
>> java.io.FileNotFoundException(No such file or directory)<br>
>> 02-28 18:18:55.154 13188 13188 W Glide : <br>
>> java.io.FileNotFoundException(No such file or directory)<br>
>> 02-28 18:18:55.154 13188 13188 W Glide : call <br>
>> GlideException#logRootCauses(String) for more detail<br>
>> 02-28 18:18:55.154 13188 13188 W Glide : Cause (1 of 3): class <br>
>> com.bumptech.glide.load.n.q: Fetching data failed, class <br>
>> java.io.InputStream, LOCAL<br>
>> 02-28 18:18:55.154 13188 13188 W Glide : There was 1 cause:<br>
>><br>
>> _______________________________________________<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/mailman/listinfo/mythtv-users</a><br>
>> <a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/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>
> I suspect that the slave backend support I added in v0-103 is causing <br>
> the issue. I think your recorded records have no backend specified in <br>
> the database, or an incorrect backend. Did you change the name of a <br>
> backend at some point? You could try going back to v0-100 and see if <br>
> that works. I will make a change so that an incorrect or missing <br>
> backend defaults to the master backend to avoid this problem.<br>
><br>
> Peter<br>
<br>
I did re-test and leanfront works on V29. Looking at this problem in <br>
more detail, it seems that you may have hit a race condition where the <br>
program listing was loaded before the display was initialized. Try the <br>
"refresh" button at the bottom of the screen to refresh the list and see <br>
if you can play after that.<br>
<br>
Peter<br>
_______________________________________________<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/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a></blockquote><div><br></div><div>Thanks for getting back to me. I went back and loaded 100 and it worked fine first try. I then upgraded to 106 and it also worked fine first try. I then removed everything and installed 106. It also worked fine first try. I think you may be right. I am running into some sort of race condition. I noticed that the first time I installed 106 I did get some preview images but not all of them. However none of the recordings played, even those with preview images.</div><div><br></div><div>It's possible that your thoughts on name change may play part of the issue. My database is 15 years old. The host name has changed a couple of times. I do attempt to go in there and clean it up, but who knows if I get everything. Also I only have a single backend, no slave backend configured.</div><div> </div></div></div>