Comment 13 for bug 584701

Revision history for this message
Thomas Mashos (tgm4883) wrote :

I had some extra time today and have started working on this. I have a rough python script that should work. Features include
*) Runs 24x7 (not cron)
*) Uses inotify to trigger events
*) Events include setting permissions and group ownership, adding file to DB, and searching for metadata

This will only work with storage groups that are located on the same machine and should run on all backends. It will not work with network mounted file systems (limitation of inotify)

I still need to get this setup as a service. As it loads storage group directories on startup, it should depend on the mythtv-backend service running (for other reasons as well)