[mythtv-users] leanfront Videos

Peter Bennett pb.mythtv at gmail.com
Mon Apr 13 14:54:33 UTC 2020



On 4/13/20 9:11 AM, James Abernathy 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
>
That is correct, the refresh in leanfront does not trigger "scan for new 
videos" on the backend. This is because there is currently no service 
API for that. Leanfront uses exclusively service APIs, that way it is 
MythTV version independent. The service APIs are extensive for 
recordings, but rather lacking when it comes to videos. This is also the 
reason leanfront cannot set a backend bookmark for a video or delete a 
video. At some point I will add the necessary service APIs to mythbackend.

In the meantime I suggest running "mythutil --scanvideos" on the backend 
after adding videos.

Peter


More information about the mythtv-users mailing list