[mythtv-users] How to manually run "Update Video Database"?

Jean-Yves Avenard jyavenard at gmail.com
Mon Feb 16 08:26:04 UTC 2009


Hi

2009/2/16 Nick Rout <nick.rout at gmail.com>:
> On Mon, Feb 16, 2009 at 8:36 AM, Matt Nelson <matt at frozenatom.com> wrote:
>> When you go into the "Video Manager" in mythtv, it will update your database
>> with any files that you have added in the mythvideo path.  Is there anyway
>> to run this manually?  I would like to add this into a cron...
>
> I think the short answer is no, the longer answer may lie in 0.22, but
> I'm not too sure..
> One reason is that it is often interactive, with messages like "file
> /mythvideo/startrek/season1/s1e01.avi is missing, delete from
> database?" coming up and requiring an answer.

You can use the find_meta.py found in SVN trunk in
mythplugins/mythvideo/mythvideo

this will do a similar job to what mythvideo manager is doing.
If you want this script to do the same job as the video manager, you
will want to use my mods:
You will need to install this patch:
http://svn.mythtv.org/trac/ticket/6219

The latest patch require a mod to the python bindings:
http://cvs.mythtv.org/trac/ticket/6245

Which allows to modify the metadata (genres, category, cast, country
etc...) the same way the video manager does...

Jean-Yves


More information about the mythtv-users mailing list