[mythtv-users] New/Bugfix Version: Bulk Updater forVideometa(imdb) data

Ryan Pisani mythtv at frouse3.homelinux.com
Sun Sep 30 17:18:35 UTC 2007


>>Can you give me output from the mysql for those entries:
>>
>>select filename from videometadata where
>> filename="%The.IT.CROWD.S02E06%";
>
> This was run using the 1.6 version you posted.
>
> [mythtv at localhost ~]$ /home/mythtv/imdbupdater/imdb-bulk-update.pl -N
> -Fileup -Exclude
> ============================================================================
> =
> Retrieving Video Path for this localhost.localdomain from
> mythconverg.settings
> ============================================================================
> =
> Retrieving ignored files extensions from mythconverg.videometadata
> ============================================================================
> =
> Retrieving allowable file extensions from mythconverg.videometadata
> ============================================================================
> =
> Found 478 total videos in /storage/videos
> ============================================================================
> =
> Retrieving a list of known videos from mythconverg.videometadata
> ============================================================================
> =
> Scrubbing the database for any videos that no longer exist in
> /storage/videos
> ============================================================================
> =
> /storage/videos/new/TV/HD Demo1.avi
> /storage/videos/new/TV/IT Crowd Season 2/The.IT.Crowd.S02E06.avi
> /storage/videos/new/TV/IT Crowd Season 2/The.IT.CROWD.S02E06.avi
> Found a total of 2 to be added to database

Are you absolutely sure your're running the 1.6? You extracted to the same
place? I ask this because I modified the ARRAY value for the the "total"
found above to +1. By default first array element is 0, so just to correct
the script I do a +1 for total so users are confused if it says total 0 to
be added, then adds 1...

Anyhow, in the 1.6 version this is corrected. I just tested with 3 files,
shows me "Found a total of 3 to be added to database.

Scrubbing the database for any videos that no longer exist in /Media/movies
=============================================================================
/Media/movies/1NEW/test1.mpg
/Media/movies/1NEW/test3.mpg
/Media/movies/1NEW/test2.mpg
Found a total of 3 to be added to database


Just make sure you hadn't extracted to a different directory or something,
or permissions failed to overwrite on extraction?

Seems odd that you'd show 3 and it says 2. which makes me think it's an
older version which may have had other bug still.

head -28 /home/mythtv/imdbupdater/imdb-bulk-updater.pl


============================================================================
> =
> Adding entry for /storage/videos/new/TV/IT Crowd Season
> 2/The.IT.Crowd.S02


More information about the mythtv-users mailing list