[mythtv-users] Leanback on AT&T TV Android STB

Greg Oliver oliver.greg at gmail.com
Fri Aug 7 18:37:29 UTC 2020


On Thu, Aug 6, 2020 at 8:35 AM Peter Bennett <pb.mythtv at gmail.com> wrote:

>
> On 8/5/20 7:10 PM, Greg Oliver wrote:
>
> On Wed, Aug 5, 2020 at 5:23 PM Greg Oliver <oliver.greg at gmail.com> wrote:
>
>> I just moved to AT&T TV - it is 100% streaming and does not require their
>> data network.
>>
>> I was able to sideload the Leanback app onto it via USB stick and a file
>> manager, but there is no ADB access or access to the logs.  I installed
>> leanfront-v0-173-gdd74f11.apk
>>
>> Everything plays and connects perfectly, but everytime I press pause,
>> upon resume, the video stalls while audio plays.  A quick jump via the
>> arrow keys fixes it though.
>>
>> It is such a pain to sideload on this thing, I'd rather not downgrade,
>> but I will if need be (assuming the issue does not exist on previous
>> versions).
>>
>> It is Android 8 with 20200505 security patch, but highly AT&T bastardized
>> - they have their own slew of system apps that replaced the original
>> android stuff, so....
>>
>> Anyone else have experience with this?
>>
>> TiA,
>>
>> Greg
>>
>
> BTW:
>
> Peter -
>
> This is the first time I have used leanfront - I always thought it would
> lack compared to mythfrontend (I have not sideloaded it on this device
> yet), but it actually does almost everything I want, and quite possibly I
> just do not know how to use it yet, so I am still playing, so THANKS!
>
>
> Greg
>
> I do not believe downgrading to an earlier version of leanfront will help.
>
> Is it possible that it is a temporary freeze? Often, after resuming
> pause,  the video is frozen for a few seconds and then continues. How long
> have you tried waiting for the video to continue?
>

Well, I'll be damned - it did it consistently the other day and does not do
it at all today.  We did lose power yesterday, so all of the frontends got
rebooted.  Maybe just a glitch in their matrix.



> If that does not help, if you disable audio and re-enable audio (by
> clicking the "ear" icon until audio is disabled, then clicking the "ear"
> icon again to enable it), does that fix it? This is obviously not an
> acceptable thing to do every time but it may give me a clue on how to fix
> the problem.
>

I found out how to enable developer options, so I can get logs next time it
happens.  For anyone else, you have to click System->General->System
Summary 7x instead of the usual Build button.

On another note, the adb logs are full of :

08-07 13:19:28.259  1528  1595 E lfe     : AsyncBackendCall Exception
Getting backend Info.
08-07 13:19:28.259  1528  1595 E lfe     : java.io.FileNotFoundException:
http://192.168.100.151:6544/Status/GetStatus
08-07 13:19:28.259  1528  1595 E lfe     : at
com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:251)
08-07 13:19:28.259  1528  1595 E lfe     : at
org.mythtv.leanfront.data.f.a(Unknown Source:39)
08-07 13:19:28.259  1528  1595 E lfe     : at
org.mythtv.leanfront.data.a.b(Unknown Source:376)
08-07 13:19:28.259  1528  1595 E lfe     : at
org.mythtv.leanfront.data.a.doInBackground(Unknown Source:2)
08-07 13:19:28.259  1528  1595 E lfe     : at
android.os.AsyncTask$2.call(AsyncTask.java:333)
08-07 13:19:28.259  1528  1595 E lfe     : at
java.util.concurrent.FutureTask.run(FutureTask.java:266)
08-07 13:19:28.259  1528  1595 E lfe     : at
android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
08-07 13:19:28.259  1528  1595 E lfe     : at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
08-07 13:19:28.259  1528  1595 E lfe     : at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
08-07 13:19:28.259  1528  1595 E lfe     : at
java.lang.Thread.run(Thread.java:764)

Do I need a v31 backend for that URL?  I have:
root at mythtv:~# mythbackend --version
Please attach all output as a file in bug reports.
MythTV Version : v30.0
MythTV Branch :
Network Protocol : 91
Library API : 30.20181231-1
QT Version : 5.9.5
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse
using_pulseoutput using_backend using_bindings_perl using_bindings_python
using_bindings_php using_crystalhd using_dvb using_firewire using_frontend
using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv
using_joystick_menu using_libcec using_libcrypto using_libdns_sd
using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl
using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript
using_qtdbus using_taglib using_v4l2 using_x11 using_xnvctrl
using_xnvctrl_external using_libbluray_external using_xrandr using_xv
using_profiletype using_systemd_notify using_systemd_journal
using_bindings_perl using_bindings_python using_bindings_php
using_freetype2 using_mythtranscode using_opengl using_vaapi using_vaapi2
using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2
using_libmp3lame

My backend does not respond to that URL at all, but it is listening on
6544..

root at mythtv:~# !net
netstat -peanut|grep myth
tcp        0      0 0.0.0.0:6543            0.0.0.0:*               LISTEN
     0          27606      1516/mythbackend
tcp        0      0 0.0.0.0:6544            0.0.0.0:*               LISTEN
     0          27600      1516/mythbackend
tcp        0      0 0.0.0.0:6549            0.0.0.0:*               LISTEN
     0          27604      1516/mythbackend
tcp        0      0 0.0.0.0:6554            0.0.0.0:*               LISTEN
     0          27602      1516/mythbackend
tcp        0      0 192.168.100.151:40344   192.168.100.140:3306
 ESTABLISHED 0          739713     1516/mythbackend
tcp        0      0 192.168.100.151:37156   192.168.100.140:3306
 ESTABLISHED 0          28466      1516/mythbackend
tcp        0      0 192.168.100.151:37132   192.168.100.140:3306
 ESTABLISHED 0          27563      1516/mythbackend
tcp        0      0 192.168.100.151:37148   192.168.100.140:3306
 ESTABLISHED 0          26430      1516/mythbackend
tcp        0 420824 192.168.100.151:6544    192.168.100.157:43475
ESTABLISHED 0          740834     1516/mythbackend
tcp        0      0 192.168.100.151:40346   192.168.100.140:3306
 ESTABLISHED 0          739868     1516/mythbackend
tcp        0      0 192.168.100.151:40364   192.168.100.140:3306
 ESTABLISHED 0          740801     1516/mythbackend

Thanks again for all the Android stuff - I will not have to put up with an
inferior plug-in on some other platform (or keep buying PCs to watch TV)!




> Peter
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200807/9568476b/attachment.htm>


More information about the mythtv-users mailing list