[mythtv-users] Keeping the MythVideo db up2date

Raymond Wagner raymond at wagnerrp.com
Tue Apr 9 17:46:21 UTC 2013


> From: Joseph Fry
> Sent: Tuesday, April 09, 2013 1:39 PM
>
> 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.



More information about the mythtv-users mailing list