[mythtv-users] Problems with imdb.pl
David Campbell
dave at cpfc.org
Sat Mar 24 17:48:21 UTC 2007
David Campbell wrote:
> Tamir Alush wrote:
>> Another problem I have is that I'm trying to find a way to run the IMDB
>> script on my whole database automatically
>> instead of a title-by-title method. Is there a solution for this?
>
> something like this- untested
>
> #!/bin/bash
> #
> # path to movies
> MOVIEDIR="/movies"
>
> cd $MOVIEDIR
> for movie in `find . -name \*.avi | cut -d / -f 2 | sed -e 's/.avi//g'`
> do
> /usr/share/mythtv/mythvideo/scripts/imdb.pl -M $movie
> done
Actually - this doesn't do what we want does it? It just queries IMDB
and doesn't update the database.
There would be a a bit of work to get that functionality working but it
would be doable.
Dave
More information about the mythtv-users
mailing list