[mythtv-users] Keeping the MythVideo db up2date
Joseph Fry
joe at thefrys.com
Tue Apr 9 18:32:43 UTC 2013
> > While only slightly more elegant than running mythutil every minute, you
> > could use a cron job that runs every few minutes that dumps a recursive
> > directory listing to a file then compares (cmp -s) the file to a previous
> copy;
> > if different (exit code 1) triggers the update. This would likely be a
> very
> > lightweight operation, and would catch any changes within the folder.
>
> Why bother? That would only be marginally more lightweight than simply
> allowing mythbackend to the same exact thing, but source the previous copy
> from the database.
Agreed... While my solution would have a moderately lower impact... I can't
imagine that you would save much of anything over just doing a mythutil
-scanvideos every minute or two.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130409/ad4ce130/attachment.html>
More information about the mythtv-users
mailing list