<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 5/6/20 7:56 AM, James Abernathy
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CANFv2EmU8U9eOeiuaoUhPKx2Cz41f2h-vDp+cxwbMnm9vhSL9Q@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>I don't know why this is happening and I cannot find
anything helpful in that log.<br>
<br>
I( added some log messages and created a new version
(v0-134-g98ffd8e). Please try with that version and use <br>
adb logcat lfe:D *:S |& tee android.log<br>
to capture the messages<br>
<br>
Thanks<br>
Peter<br>
</div>
</blockquote>
<div><br>
</div>
<div>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.</div>
<div>I can see in the log a lot of reached EOF messages.</div>
<div>Log attached and linked:</div>
<div><a
href="https://drive.google.com/open?id=1xZIj7zwKypMBVCIOIv5C5JUtRoAUZOHz"
moz-do-not-send="true">https://drive.google.com/open?id=1xZIj7zwKypMBVCIOIv5C5JUtRoAUZOHz</a></div>
<div><br>
</div>
<div>Jim A</div>
<div><br>
</div>
adb install -r Downloads/leanfront-v0-134-g98ffd8e.apk <br>
Success<br>
jim@jim-development:~$ adb logcat lfe:D *:S |& tee
android.log<br>
--------- beginning of system<br>
--------- beginning of main<br>
05-05 17:12:14.067 5788 5788 I lfe : PlaybackFragment
Initializing Player for All Rise <a
href="http://192.168.0.250:6544/Content/GetFile?StorageGroup=Default&FileName=/11701_20200505010000.ts"
moz-do-not-send="true">http://192.168.0.250:6544/Content/GetFile?StorageGroup=Default&FileName=/11701_20200505010000.ts</a><br>
05-05 17:12:14.085 5788 5788 I lfe : PlaybackFragment
Playing offset mSec:0<br>
05-05 17:12:19.445 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to -1<br>
05-06 07:12:08.459 5788 5788 I lfe : PlaybackFragment
Initializing Player for CBS This Morning <a
href="http://192.168.0.250:6544/Content/GetFile?StorageGroup=Default&FileName=/11701_20200506110000.ts"
moz-do-not-send="true">http://192.168.0.250:6544/Content/GetFile?StorageGroup=Default&FileName=/11701_20200506110000.ts</a><br>
05-06 07:12:08.468 5788 5788 I lfe : PlaybackFragment
Playing offset mSec:0<br>
05-06 07:12:09.516 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to 816989720<br>
05-06 07:24:16.924 5788 5788 I lfe : PlaybackFragment
onPlayCompleted checking File Length.<br>
05-06 07:24:17.965 5788 5788 I lfe : PlaybackFragment
File Length changed from 816989720 to 1656617648<br>
05-06 07:24:17.965 5788 5788 I lfe : PlaybackFragment
Resuming Playback.<br>
05-06 07:24:17.965 5788 5788 I lfe : PlaybackFragment
Playing offset mSec:727683<br>
05-06 07:24:19.023 5788 5788 I lfe : PlaybackFragment
File Length changed from 1656617648 to 1657892100<br>
05-06 07:31:34.045 5788 5788 I lfe : PlaybackFragment
Playing offset mSec:0<br>
05-06 07:31:39.380 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to -1<br>
05-06 07:33:22.017 5788 5788 I lfe : PlaybackFragment
onPlayCompleted checking File Length.<br>
05-06 07:33:27.276 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to -1<br>
05-06 07:33:27.276 5788 5788 I lfe : PlaybackFragment
Playback ending at EOF.<br>
05-06 07:34:32.254 5788 5788 I lfe : PlaybackFragment
Playing offset mSec:0<br>
05-06 07:34:37.624 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to -1<br>
05-06 07:37:33.117 5788 5788 I lfe : PlaybackFragment
onPlayCompleted checking File Length.<br>
05-06 07:37:38.371 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to -1<br>
05-06 07:37:38.371 5788 5788 I lfe : PlaybackFragment
Playback ending at EOF.<br>
05-06 07:37:40.704 5788 5788 I lfe : PlaybackFragment
Playing offset mSec:0<br>
05-06 07:37:46.062 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to -1<br>
05-06 07:41:28.483 5788 5788 I lfe : PlaybackFragment
onPlayCompleted checking File Length.<br>
05-06 07:41:33.805 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to -1<br>
05-06 07:41:33.806 5788 5788 I lfe : PlaybackFragment
Playback ending at EOF.<br>
05-06 07:41:56.068 5788 5788 I lfe : PlaybackFragment
Playing offset mSec:0<br>
05-06 07:42:01.449 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to -1<br>
05-06 07:46:14.102 5788 5788 I lfe : PlaybackFragment
onPlayCompleted checking File Length.<br>
05-06 07:46:19.407 5788 5788 I lfe : PlaybackFragment
File Length changed from -1 to -1<br>
05-06 07:46:19.407 5788 5788 I lfe : PlaybackFragment
Playback ending at EOF.<br>
^C<br>
jim@jim-development:~$ <br>
<div> </div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
Thank you, this is very helpful.<br>
<br>
The message "PlaybackFragment File Length changed from -1 to -1" is
the culprit.<br>
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.<br>
It is a simple change to use a different method of getting
content-length to solve this problem.<br>
<br>
I have posted a new apk file (leanfront-v0-135-g4a97478.apk) to fix
the content-length problem. Please try that one.<br>
<br>
Peter<br>
<br>
</body>
</html>