<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 13, 2020 at 9:54 AM Stephen Worthington <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 13 Apr 2020 09:11:55 -0400, you wrote:<br>
<br>
>I automatically put new videos into my Video storage group. I've noticed<br>
>that on Leanfront if I do a refresh it will not show the new videos unless<br>
>I first go into mythfrontend on any platform and do the Media Library -><br>
>Watch Videos -> menu -> scan for new videos.<br>
><br>
>That's also what is needed for mythfrontend's list of videos.<br>
><br>
>So I'm guessing the backend keeps the list of videos and that list is not<br>
>updated until a frontend asked for it to be re-scanned.<br>
><br>
>The refresh on Leanfront must not trigger the same backend function that<br>
>mythfrontend rescan triggers?<br>
><br>
>Jim A<br>
<br>
Depending on how many videos you have, the scan can take a very long<br>
time - far too long for anyone to want to wait in front of a frontend<br>
for it to complete before they could do anything with the frontend. So<br>
it is better to do it when you add a new video to the videos storage<br>
group. The scan can also be triggered from mythutil:<br>
<br>
mythutil --scanvideos<br>
<br>
which is what I do. There probably should be a way for leanfront to<br>
trigger a scan, but you do not want it to be done every time you bring<br>
up the list of videos.<br>
<br></blockquote><div>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. </div><div><br></div><div>I guess if it was a problem I could setup a cronjob to run everyday to do the mythutil --scanvideos</div><div><br></div><div>Thanks,</div><div><br></div><div>Jim A</div><div> </div></div></div>