[mythtv-users] Limit concurrent instances of mythpreviewgen?

Mike Perkins mikep at randomtraveller.org.uk
Tue May 13 17:57:48 UTC 2014


On 13/05/14 18:15, Gary Buhrmaster wrote:
> On Tue, May 13, 2014 at 4:48 PM, Will Dormann <wdormann at gmail.com> wrote:
>> On 5/13/14, 12:21 PM, Gary Buhrmaster wrote:
>>> On Tue, May 13, 2014 at 3:42 PM, Will Dormann <wdormann at gmail.com> wrote:
>>> ....
>>>> Possible solutions might be to either:
>>>
>>> And a few others....
>>>
>>> 3) Change your browser to limit the number of concurrent
>>>      connections and/or disable pipelining.
> ....
>>
>> These both seem a bit heavy-handed.
>
> However, since the browser waits to make the
> request (sequentially), you are far more likely
> to (eventually) get all of your thumbnails
> (when the clock stops spinning) without your
> "refresh" kludge until you are satisfied.
>
> As with much else, "good enough" will depend
> on your perspective.  I tend to dislike things
> that sometimes do, and sometimes do not,
> work.
>
> and a few other options:
>
> 6) Change the timeout on your browser to wait
>      longer for the results.
>
> 7) View the page more regularly so that you
>      have far fewer thumbnails to generate (or
>      get a click monkey to do it for you).
>
> 8) Write a script to "view" the page (including
>      fetching the thumbnail links) that you run
>      regularly (which will keep your thumbnail
>      cache more current).
>
All of the above still sound like kludges. Creating previews when the browser is 
just about to display a whole list of them is probably not the best of designs.

When your list of previously recorded is in the hundreds this can take a whole 
lot of time - and it doesn't help that 'Previously Recorded' /always/ defaults 
to the 'all recordings' selection.

The appropriate time to generate these is when the recording is completed.

-- 

Mike Perkins



More information about the mythtv-users mailing list