[mythtv-users] myth leanfront not playing recordings

Peter Bennett pb.mythtv at gmail.com
Sat Feb 29 17:52:43 UTC 2020



On 2/29/20 11:35 AM, Peter Bennett wrote:
>
>
> On 2/28/20 9:40 PM, Barry Quiel wrote:
>> Just discovered leanfront, but need some help.
>>
>> I just installed 106 on my Fire4k using a .29 backend, but can't play 
>> any recordings.  Based on the ADB logging it looks the URL isn't 
>> being properly created for the REST calls.
>> Logs:
>> 02-28 18:18:54.904 13188 13188 I ExoPlayerImpl: Init 1496e6 
>> [ExoPlayerLib/2.10.7] [mantis, AFTMM, Amazon, 25]
>> 02-28 18:18:54.931 13188 16987 W System.err: 
>> java.net.MalformedURLException: no protocol: 
>> null/Content/GetFile?StorageGroup=Default&FileName=/4748_20200228060000.ts
>> 02-28 18:18:54.932 13188 16987 W System.err:    at 
>> java.net.URL.<init>(URL.java:589)
>> 02-28 18:18:54.932 13188 16987 W System.err:    at 
>> java.net.URL.<init>(URL.java:486)
>> 02-28 18:18:54.932 13188 16987 W System.err:    at 
>> java.net.URL.<init>(URL.java:435)
>> 02-28 18:18:54.932 13188 16987 W System.err:    at 
>> org.mythtv.leanfront.data.a.a()
>> 02-28 18:18:54.932 13188 16987 W System.err:    at 
>> org.mythtv.leanfront.data.a.doInBackground()
>> 02-28 18:18:54.932 13188 16987 W System.err:    at 
>> android.os.AsyncTask$2.call(AsyncTask.java:305)
>> 02-28 18:18:54.932 13188 16987 W System.err:    at 
>> java.util.concurrent.FutureTask.run(FutureTask.java:237)
>> 02-28 18:18:54.932 13188 16987 W System.err:    at 
>> android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
>> 02-28 18:18:54.932 13188 16987 W System.err:    at 
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
>> 02-28 18:18:54.934 13188 16987 W System.err:    at 
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
>> 02-28 18:18:54.934 13188 16987 W System.err:    at 
>> java.lang.Thread.run(Thread.java:761)
>>
>> Am I reading that log correct?
>>
>> Also seeing the same error for preview images:
>> 02-28 18:18:55.154 13188 13188 W Glide   : Load failed for 
>> null/Content/GetPreviewImage?Format=png&RecordedId=3304 with size 
>> [312x176]
>> 02-28 18:18:55.154 13188 13188 W Glide   : class 
>> com.bumptech.glide.load.n.q: Failed to load resource
>> 02-28 18:18:55.154 13188 13188 W Glide   : There were 3 causes:
>> 02-28 18:18:55.154 13188 13188 W Glide   : 
>> java.io.FileNotFoundException(/null/Content/GetPreviewImage?Format=png&RecordedId=3304 
>> (No such file or directory))
>> 02-28 18:18:55.154 13188 13188 W Glide   : 
>> java.io.FileNotFoundException(No such file or directory)
>> 02-28 18:18:55.154 13188 13188 W Glide   : 
>> java.io.FileNotFoundException(No such file or directory)
>> 02-28 18:18:55.154 13188 13188 W Glide   :  call 
>> GlideException#logRootCauses(String) for more detail
>> 02-28 18:18:55.154 13188 13188 W Glide   :   Cause (1 of 3): class 
>> com.bumptech.glide.load.n.q: Fetching data failed, class 
>> java.io.InputStream, LOCAL
>> 02-28 18:18:55.154 13188 13188 W Glide   : There was 1 cause:
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://lists.mythtv.org/mailman/listinfo/mythtv-users
>> http://wiki.mythtv.org/Mailing_List_etiquette
>> MythTV Forums: https://forum.mythtv.org
>
>
> I suspect that the slave backend support I added in v0-103 is causing 
> the issue. I think your recorded records have no backend specified in 
> the database, or an incorrect backend. Did you change the name of a 
> backend at some point? You could try going back to v0-100 and see if 
> that works. I will make a change so that an incorrect or missing 
> backend defaults to the master backend to avoid this problem.
>
> Peter

I did re-test and leanfront works on V29. Looking at this problem in 
more detail, it seems that you may have hit a race condition where the 
program listing was loaded before the display was initialized. Try the 
"refresh" button at the bottom of the screen to refresh the list and see 
if you can play after that.

Peter


More information about the mythtv-users mailing list