[mythtv-users] leanfront Videos

James Abernathy jfabernathy at gmail.com
Mon Apr 13 14:12:36 UTC 2020


On Mon, Apr 13, 2020 at 9:54 AM Stephen Worthington <
stephen_agent at jsw.gen.nz> wrote:

> On Mon, 13 Apr 2020 09:11:55 -0400, you wrote:
>
> >I automatically put new videos into my Video storage group.  I've noticed
> >that on Leanfront if I do a refresh it will not show the new videos unless
> >I first go into mythfrontend on any platform and do the Media Library ->
> >Watch Videos -> menu -> scan for new videos.
> >
> >That's also what is needed for mythfrontend's list of videos.
> >
> >So I'm guessing the backend keeps the list of videos and that list is not
> >updated until a frontend asked for it to be re-scanned.
> >
> >The refresh on Leanfront must not trigger the same backend function that
> >mythfrontend rescan triggers?
> >
> >Jim A
>
> Depending on how many videos you have, the scan can take a very long
> time - far too long for anyone to want to wait in front of a frontend
> for it to complete before they could do anything with the frontend. So
> it is better to do it when you add a new video to the videos storage
> group.  The scan can also be triggered from mythutil:
>
> mythutil --scanvideos
>
> which is what I do.  There probably should be a way for leanfront to
> trigger a scan, but you do not want it to be done every time you bring
> up the list of videos.
>
> So it sounds like nowhere is there an automatic trigger for the scanvideos
on a regular basis.  If I do it on any of my mythfrontends it takes less
than 5 seconds as I only have about 200 videos.

I guess if it was a problem I could setup a cronjob to run everyday to do
the mythutil --scanvideos

Thanks,

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20200413/8a61cdc4/attachment.htm>


More information about the mythtv-users mailing list