[mythtv-users] leanfront v0-123 pausing (now v0-132)
Peter Bennett
pb.mythtv at gmail.com
Wed May 6 21:07:20 UTC 2020
On 5/6/20 7:56 AM, James Abernathy wrote:
>
> I don't know why this is happening and I cannot find anything
> helpful in that log.
>
> I( added some log messages and created a new version
> (v0-134-g98ffd8e). Please try with that version and use
> adb logcat lfe:D *:S |& tee android.log
> to capture the messages
>
> Thanks
> Peter
>
>
> So I had a lot of pauses this morning as it reached the "new" real
> time while watching an in-progress recording. I started ~30 minutes
> late watching so I caught up to real time quickly and it kept pausing
> as I'd only wait a few minutes in pause mode before I skipped 1 minute
> ahead with the right direction arrow.
> I can see in the log a lot of reached EOF messages.
> Log attached and linked:
> https://drive.google.com/open?id=1xZIj7zwKypMBVCIOIv5C5JUtRoAUZOHz
>
> Jim A
>
> adb install -r Downloads/leanfront-v0-134-g98ffd8e.apk
> Success
> jim at jim-development:~$ adb logcat lfe:D *:S |& tee android.log
> --------- beginning of system
> --------- beginning of main
> 05-05 17:12:14.067 5788 5788 I lfe : PlaybackFragment
> Initializing Player for All Rise
> http://192.168.0.250:6544/Content/GetFile?StorageGroup=Default&FileName=/11701_20200505010000.ts
> 05-05 17:12:14.085 5788 5788 I lfe : PlaybackFragment Playing
> offset mSec:0
> 05-05 17:12:19.445 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to -1
> 05-06 07:12:08.459 5788 5788 I lfe : PlaybackFragment
> Initializing Player for CBS This Morning
> http://192.168.0.250:6544/Content/GetFile?StorageGroup=Default&FileName=/11701_20200506110000.ts
> 05-06 07:12:08.468 5788 5788 I lfe : PlaybackFragment Playing
> offset mSec:0
> 05-06 07:12:09.516 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to 816989720
> 05-06 07:24:16.924 5788 5788 I lfe : PlaybackFragment
> onPlayCompleted checking File Length.
> 05-06 07:24:17.965 5788 5788 I lfe : PlaybackFragment File
> Length changed from 816989720 to 1656617648
> 05-06 07:24:17.965 5788 5788 I lfe : PlaybackFragment Resuming
> Playback.
> 05-06 07:24:17.965 5788 5788 I lfe : PlaybackFragment Playing
> offset mSec:727683
> 05-06 07:24:19.023 5788 5788 I lfe : PlaybackFragment File
> Length changed from 1656617648 to 1657892100
> 05-06 07:31:34.045 5788 5788 I lfe : PlaybackFragment Playing
> offset mSec:0
> 05-06 07:31:39.380 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to -1
> 05-06 07:33:22.017 5788 5788 I lfe : PlaybackFragment
> onPlayCompleted checking File Length.
> 05-06 07:33:27.276 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to -1
> 05-06 07:33:27.276 5788 5788 I lfe : PlaybackFragment Playback
> ending at EOF.
> 05-06 07:34:32.254 5788 5788 I lfe : PlaybackFragment Playing
> offset mSec:0
> 05-06 07:34:37.624 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to -1
> 05-06 07:37:33.117 5788 5788 I lfe : PlaybackFragment
> onPlayCompleted checking File Length.
> 05-06 07:37:38.371 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to -1
> 05-06 07:37:38.371 5788 5788 I lfe : PlaybackFragment Playback
> ending at EOF.
> 05-06 07:37:40.704 5788 5788 I lfe : PlaybackFragment Playing
> offset mSec:0
> 05-06 07:37:46.062 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to -1
> 05-06 07:41:28.483 5788 5788 I lfe : PlaybackFragment
> onPlayCompleted checking File Length.
> 05-06 07:41:33.805 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to -1
> 05-06 07:41:33.806 5788 5788 I lfe : PlaybackFragment Playback
> ending at EOF.
> 05-06 07:41:56.068 5788 5788 I lfe : PlaybackFragment Playing
> offset mSec:0
> 05-06 07:42:01.449 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to -1
> 05-06 07:46:14.102 5788 5788 I lfe : PlaybackFragment
> onPlayCompleted checking File Length.
> 05-06 07:46:19.407 5788 5788 I lfe : PlaybackFragment File
> Length changed from -1 to -1
> 05-06 07:46:19.407 5788 5788 I lfe : PlaybackFragment Playback
> ending at EOF.
> ^C
> jim at jim-development:~$
>
>
Thank you, this is very helpful.
The message "PlaybackFragment File Length changed from -1 to -1" is the
culprit.
On checking the api, I see that any time the file length exceeds 2 GB
the contentLength call fails, so you would see this problem once the
file exceeded 2 GB, even if you are not in the section of the file after
the 2 GB.
It is a simple change to use a different method of getting
content-length to solve this problem.
I have posted a new apk file (leanfront-v0-135-g4a97478.apk) to fix the
content-length problem. Please try that one.
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200506/f1b64114/attachment.htm>
More information about the mythtv-users
mailing list