[mythtv-users] Help, I've screwed up mythfrontend and Leanfront on my FireTV
Peter Bennett
pb.mythtv at gmail.com
Thu Jul 30 13:27:23 UTC 2020
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
More information about the mythtv-users
mailing list