Mailing List Archive

Re: Leanfront playback of in-progress recordings resume using the 2 skip to resume; maybe modify to use play/pause to do the same
>>> On Sat, Feb 10, 2024, 8:57?AM Jay Harbeston <jharbestonus@gmail.com <mailto:jharbestonus@gmail.com>> wrote:
>>>> As mentioned in the subject, the time bar doesn’t change to reflect the added time length since playing initially, and will pause the playback at the ‘frozen’ time from earlier.
>>>>
>>>> To fix this is kind of weird, having to press the skip button a couple times to get it to refresh the amount of recording added.. For us it has usually been a few minutes to 15 minute.
>>>>
>>>> Is this a feature that is part of using the android style playback?
>>>>
>>>> Thanks!
>>>>
>>>> Jay
>>>> _____________________________________________
>>>
>>>
>>> Are you running v0-481?
>>>
>>> That fix some watching currently recording programs for me.
>>>
>>
>> Yes, I am running 481. I was originally running 470? A couple days ago that I downloaded from orange box, but removed it so I could use the amazon version 481.
>>
>> The content I was watching was ATSC 1080i Broadcast
>
> There seem to be several display modes on the timeline depending where you are on that time line.
>
> If you start watching a currently recording ATSC TV program you will see the first number being where you are and the second number being what the "end" was when you started watching.
>
> When you get to that "end", it will switch to the first number being where you are in the viewing and the second number will be 0.
>

I have indeed run across the 2 skips, to get the timeline to change. If I run into the time limit and video pauses, pressing play takes you back to the beginning of the video in progress, and doesn’t continue as the 2 skip buttons do.

Peter,

Would it be possible to allow the pause/play to refresh the timeline and continue instead of resetting to the beginning?


Thanks!

> If you try at that point to skip some commercials manually with the right arrow, it will require 2 skips. I think the first should pop up the new "end" and the second skip should actually do the skipping, in my case 1 minute.
>
> I've gotten used to this and don't really think about it anymore.
> Jim A
>
> _
Re: Leanfront playback of in-progress recordings resume using the 2 skip to resume; maybe modify to use play/pause to do the same [ In reply to ]
On 2/10/24 12:41, Jay Harbeston wrote:
> I have indeed run across the 2 skips, to get the timeline to change.
> If I run into the time limit and video pauses, pressing play takes you
> back to the beginning of the video in progress, and doesn’t continue
> as the 2 skip buttons do.
>

> Peter,
>
> Would it be possible to allow the pause/play to refresh the timeline
> and continue instead of resetting to the beginning?
>
>
> Thanks!


When it hits the time limit it will pause for a few seconds and then
continue . It should not pause indefinitely. Is it not continuing  on
its own? I don't know why Play would go to the beginning again.

The code around this is a compromise. It is not a true real-time
streaming process, but the playback of a file that keeps increasing. 
The code to handle it is a bit fragile. I can take a look at it again.

Peter

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Leanfront playback of in-progress recordings resume using the 2 skip to resume; maybe modify to use play/pause to do the same [ In reply to ]
> On Feb 10, 2024, at 2:58?PM, Peter Bennett <pb.mythtv@gmail.com> wrote:
>
>
> On 2/10/24 12:41, Jay Harbeston wrote:
>> I have indeed run across the 2 skips, to get the timeline to change. If I run into the time limit and video pauses, pressing play takes you back to the beginning of the video in progress, and doesn’t continue as the 2 skip buttons do.
>>
>
>> Peter,

>>
>> Would it be possible to allow the pause/play to refresh the timeline and continue instead of resetting to the beginning?
>>
>>
>> Thanks!
>
>
> When it hits the time limit it will pause for a few seconds and then continue . It should not pause indefinitely. Is it not continuing on its own? I don't know why Play would go to the beginning again.
>

I am running a test of it now, and when it hit the end, it has been paused for over a minute now and has not resumed. I have not seen an ‘unpause’ while I have been exercising it.

Hitting the skip once continues, updating the timeline. When it pauses the next time, hitting play makes it begin at the beginning to the recording.


> The code around this is a compromise. It is not a true real-time streaming process, but the playback of a file that keeps increasing. The code to handle it is a bit fragile. I can take a look at it again.

Is the code from the sample program you have mentioned in the source? Just curious. :-)


Regards!

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Leanfront playback of in-progress recordings resume using the 2 skip to resume; maybe modify to use play/pause to do the same [ In reply to ]
On Sat, Feb 10, 2024 at 3:50?PM Jay Harbeston <jharbestonus@gmail.com>
wrote:

>
>
> > On Feb 10, 2024, at 2:58?PM, Peter Bennett <pb.mythtv@gmail.com> wrote:
> >
> >
> > On 2/10/24 12:41, Jay Harbeston wrote:
> >> I have indeed run across the 2 skips, to get the timeline to change. If
> I run into the time limit and video pauses, pressing play takes you back to
> the beginning of the video in progress, and doesn’t continue as the 2 skip
> buttons do.
> >>
> >
> >> Peter,
>
> >>
> >> Would it be possible to allow the pause/play to refresh the timeline
> and continue instead of resetting to the beginning?
> >>
> >>
> >> Thanks!
> >
> >
> > When it hits the time limit it will pause for a few seconds and then
> continue . It should not pause indefinitely. Is it not continuing on its
> own? I don't know why Play would go to the beginning again.
> >
>
> I am running a test of it now, and when it hit the end, it has been paused
> for over a minute now and has not resumed. I have not seen an ‘unpause’
> while I have been exercising it.
>
> Hitting the skip once continues, updating the timeline. When it pauses the
> next time, hitting play makes it begin at the beginning to the recording.
>
>
> > The code around this is a compromise. It is not a true real-time
> streaming process, but the playback of a file that keeps increasing. The
> code to handle it is a bit fragile. I can take a look at it again.
>
> Is the code from the sample program you have mentioned in the source? Just
> curious. :-)
>
>
> Regards!
>
>
> In my experience, pause, the "p" key or the space bar is a toggle. Does
hitting pause again restart appropriately?
Re: Leanfront playback of in-progress recordings resume using the 2 skip to resume; maybe modify to use play/pause to do the same [ In reply to ]
On 2/10/24 15:48, Jay Harbeston wrote:
>
>> On Feb 10, 2024, at 2:58?PM, Peter Bennett <pb.mythtv@gmail.com> wrote:
>>
>>
>> On 2/10/24 12:41, Jay Harbeston wrote:
>>> I have indeed run across the 2 skips, to get the timeline to change. If I run into the time limit and video pauses, pressing play takes you back to the beginning of the video in progress, and doesn’t continue as the 2 skip buttons do.
>>>
>>> Peter,
>>> Would it be possible to allow the pause/play to refresh the timeline and continue instead of resetting to the beginning?
>>>
>>>
>>> Thanks!
>>
>> When it hits the time limit it will pause for a few seconds and then continue . It should not pause indefinitely. Is it not continuing on its own? I don't know why Play would go to the beginning again.
>>
> I am running a test of it now, and when it hit the end, it has been paused for over a minute now and has not resumed. I have not seen an ‘unpause’ while I have been exercising it.
>
> Hitting the skip once continues, updating the timeline. When it pauses the next time, hitting play makes it begin at the beginning to the recording.
>
I will investigate it and find out what is going on.
>> The code around this is a compromise. It is not a true real-time streaming process, but the playback of a file that keeps increasing. The code to handle it is a bit fragile. I can take a look at it again.
> Is the code from the sample program you have mentioned in the source? Just curious. :-)
I don't know what you are referring to.
>
>
> Regards!
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Leanfront playback of in-progress recordings resume using the 2 skip to resume; maybe modify to use play/pause to do the same [ In reply to ]
>>
>> Hitting the skip once continues, updating the timeline. When it pauses the next time, hitting play makes it begin at the beginning to the recording.
>>
> I will investigate it and find out what is going on.
>>> The code around this is a compromise. It is not a true real-time streaming process, but the playback of a file that keeps increasing. The code to handle it is a bit fragile. I can take a look at it again.
>> Is the code from the sample program you have mentioned in the source? Just curious. :-)
> I don't know what you are referring to.
>>

I thought I had seen a reference to another video playing program that was used as a basis for leanfront in one of the leanfront threads recently.

No worries.

Daryl,

|| In my experience, pause, the "p" key or the space bar is a toggle. Does hitting pause again restart appropriately?

I am using this on a Fire TV 4k stick, and the remote only has the navigation buttons and a few others so is not a full keybd.


Regards!
Re: Leanfront playback of in-progress recordings resume using the 2 skip to resume; maybe modify to use play/pause to do the same [ In reply to ]
On 2/11/24 09:37, Jay Harbeston wrote:
>
> I thought I had seen a reference to another video playing program that
> was used as a basis for leanfront in one of the leanfront threads
> recently.
>
> No worries.
>
Yes - I used the exoplayer demo program from google as a basis , changed
that and added to it.

I tested your situation again and on my system, when it gets to the end
of the initial section of the video, it pauses for about a second, then
continues.

What recording card do you use?

I think perhaps in your case there is excessive buffering before writing
to the disk, so that leanfront cannot see the size of the file increasing.

Leanfront tests for 5 seconds to see if the file is increasing and if it
does not increase for 5 seconds it assumes it is the end of the recording.

Perhaps the "HD ringbuffer size" is set very large in backend setup -
General - Miscellaneous. Mine is set at 40000.

If  you can get a log by running this it would help

adb connect <ip address>

adb logcat lfe:D *:S |& tee android.log

Start that log before you begin playback. Run playback until you get to
the point where it stops. Leave it stopped for about 30 seconds to make
sure it does not start again, then stop the adb logcat and send me the
output.

Peter

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Leanfront playback of in-progress recordings resume using the 2 skip to resume; maybe modify to use play/pause to do the same [ In reply to ]
> On Feb 11, 2024, at 9:59?AM, Peter Bennett <pb.mythtv@gmail.com> wrote:
>
>
> On 2/11/24 09:37, Jay Harbeston wrote:
>>
>> I thought I had seen a reference to another video playing program that was used as a basis for leanfront in one of the leanfront threads recently.
>>
>> No worries.
>>
> Yes - I used the exoplayer demo program from google as a basis , changed that and added to it.
>
> I tested your situation again and on my system, when it gets to the end of the initial section of the video, it pauses for about a second, then continues.
>
> What recording card do you use?

I am using HDHR4-2US tuners. I have 2 of the dual tuners, both fully updated.

>
> I think perhaps in your case there is excessive buffering before writing to the disk, so that leanfront cannot see the size of the file increasing.
>
> Leanfront tests for 5 seconds to see if the file is increasing and if it does not increase for 5 seconds it assumes it is the end of the recording.
>
> Perhaps the "HD ringbuffer size" is set very large in backend setup - General - Miscellaneous. Mine is set at 40000.
>

My ring buffer is set for 9400 kB. So quite a bit smaller than your setting.

> If you can get a log by running this it would help
>
> adb connect <ip address>
>
> adb logcat lfe:D *:S |& tee android.log
>
> Start that log before you begin playback. Run playback until you get to the point where it stops. Leave it stopped for about 30 seconds to make sure it does not start again, then stop the adb logcat and send me the output.

I’ll do a capture for that.

Thanks!


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org