[mythtv-users] Help, I've screwed up mythfrontend and Leanfront on my FireTV

James Abernathy jfabernathy at gmail.com
Thu Jul 30 14:01:45 UTC 2020


On Thu, Jul 30, 2020 at 9:29 AM Peter Bennett <pb.mythtv at gmail.com> wrote:

>
>
> On 7/30/20 7:10 AM, Jim Abernathy wrote:
> >
> > On 7/29/20 10:19 PM, Stephen Worthington wrote:
> >> On Wed, 29 Jul 2020 19:13:47 -0400, you wrote:
> >>
> >>> Yesterday my FireTV worked great on mythfrontend and leanfront. Today,
> >>> big issues.
> >>>
> >>> Here's what has changed. We were mainly using mythtv for watching
> >>> recording late so we could skip commercials. There are no new network
> >>> shows, so we've seen everything recorded on mythtv over the past months
> >>> and deleted them. So nothing on the system. Anything we wanted to keep
> >>> got transcoded to m4v files and moved to a NAS that the mythtv Video
> >>> Storage Group lists , so we can watch the videos.
> >>>
> >>> So this was a good time to rebuild the backend from scratch. No saved
> >>> database; brand new installation. That went well and because the
> >>> backend
> >>> name and IP is the same, things like Kodi and Leanfront can find them
> >>> just fine. I got all the PC based frontends up and running; no issues.
> >>> Kodi and Mythtv-frontend work perfectly for live TV, recordings and
> >>> Videos.
> >>>
> >>> Next I got mythfrontend v31.0-79 working on the Shield TV and see no
> >>> issues once the database setting were fixed. But on Leanfront v0-172 I
> >>> can watch recording and videos, but LiveTV regardless of channel plays
> >>> one of my Video file from my NAS, same video no matter which channel.
> >> Playing the same video file all the time is characteristic of a demo
> >> tuner having been set up and pointed to that video file.
> >>
> > Well, I got some log information that points to why I'm seeing the
> > video instead of LiveTV, but not sure how to fix it on my end:
> >
> > jim at jim-development:~$ cat android.log
> > --------- beginning of crash
> > --------- beginning of main
> > --------- beginning of system
> > 07-30 07:05:37.372  6102  6102 I lfe     : MainActivity
> > memoryClass:192 lMemoryClass:512
> > 07-30 07:05:37.576  6102 16381 I lfe     : AsyncBackendCall Time
> > difference 1424 milliseconds
> > 07-30 07:05:38.540  6102 16384 I lfe     : AsyncBackendCall Time
> > difference 1460 milliseconds
> > 07-30 07:05:44.287  6102  6102 I lfe     : MainActivity
> > memoryClass:192 lMemoryClass:512
> > 07-30 07:05:44.447  6102 16394 I lfe     : AsyncBackendCall Time
> > difference 1553 milliseconds
> > 07-30 07:05:58.958  6102 16381 I lfe     : AsyncBackendCall Live TV
> > scheduled, RecordId:29
> > 07-30 07:05:59.015  6102 16381 D lfe     : AsyncBackendCall Found 0
> > recordings
> > 07-30 07:06:00.061  6102 16381 D lfe     : AsyncBackendCall Found 1
> > recordings
> > 07-30 07:06:01.113  6102 16381 D lfe     : AsyncBackendCall Found 1
> > recordings
> > 07-30 07:06:02.168  6102 16381 D lfe     : AsyncBackendCall Found 1
> > recordings
> > 07-30 07:06:02.168  6102 16381 I lfe     : AsyncBackendCall Found
> > matching recording 0. RecordedId:145
> > 07-30 07:06:08.292  6102  6102 I lfe     : PlaybackFragment
> > Initializing Player for Hogan's Heroes
> >
> http://192.168.0.250:6544/Content/GetFile?StorageGroup=Videos&FileName=/Hogan%27s+Heroes%2FHogan%27s+Heroes+-+s6e1+-+Cuisine+a+la+Stalag+13.m4v
> > 07-30 07:06:08.300  6102  6102 I lfe     : PlaybackFragment Playing
> > offset mSec:0
> > 07-30 07:06:09.347  6102  6102 I lfe     : PlaybackFragment File
> > Length changed from -1 to 163716227
> > 07-30 07:07:33.874  6102 16435 I lfe     : AsyncBackendCall Recording
> > Stopped. RecordedId:145
> > 07-30 07:07:33.922  6102 16435 I lfe     : AsyncBackendCall Record
> > Rule Removed. recordId:29
> > 07-30 07:07:37.655  6102 16443 I lfe     : AsyncBackendCall Time
> > difference 1345 milliseconds
> > 07-30 07:07:37.771  6102 16444 I lfe     : AsyncBackendCall Time
> > difference 1229 milliseconds
> > 07-30 07:07:40.677  6102 16435 I lfe     : AsyncBackendCall Time
> > difference 1323 milliseconds
> > 07-30 07:07:40.793  6102 16435 I lfe     : AsyncBackendCall Time
> > difference 1207 milliseconds
> > 07-30 07:07:44.209  6102  6102 I lfe     : MainActivity
> > memoryClass:192 lMemoryClass:512
> > 07-30 07:07:44.342  6102 16444 I lfe     : AsyncBackendCall Time
> > difference 1658 milliseconds
> > 07-30 07:07:52.651  6102 16443 I lfe     : AsyncBackendCall Time
> > difference 1349 milliseconds
> > jim at jim-development:~$
> >
> Hi Jim
>
> Please make sure you are using the latest leanfront version.
>
> There is a bug in leanfront, which I thought I had fixed. It could be
> confusing a RecordedID with a Video ID. If it has a video with the same
> ID it may play that instead of the live tv recording. Each video and
> each recording has an id number on the mythtv database, and the numbers
> could overlap.
>
> I will get a fix done.
>
> Peter
>
> I'm running v0-172 64bit on the Shield TV and 32 bit on FireTV.

I can't imagine that there was a program name with the same title as the
recording that is playing.

I'm sure you'll find a logic problem that can be fixed.  My bigger concern
now is the mythfrontend v0-79 32 bit on the FireTV 4K.  It was working
perfectly until I rebuilt the backend.  I even uninstalled it and
reinstalled it but no change. But still got the  "Video Frame
Buffering Failed Too Many Times" error. I don't remember any backend
settings that are needed to support mythfrontend on Android different from
a PC mythfrontend or even on Shield TV 64 bit

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200730/00b68bfe/attachment.htm>


More information about the mythtv-users mailing list