[mythtv-commits] mythtv/master commit: d59d23fe5 by Robert McNamara (rmcnamara)

MythTV noreply at mythtv.org
Tue Jul 12 16:16:24 UTC 2011


      Author:  Robert McNamara <rmcnamara at mythtv.org>
 Change Date:  2011-07-12T09:11:08-07:00
   Push Date:  2011/07/12 09:16:02 -0700
  Repository:  mythtv
      Branch:  master
New Revision:  d59d23fe561acaa0923c370df1e486b880ea1458
   Changeset:  https://github.com/MythTV/mythtv/commit/d59d23fe5

Log:

MythMetadataLookup: Perform mass grabs and updates or artwork.

This adds two new options:

--refresh-all-artwork: Iterate through all recording rules and recordings, and queue those with inetrefs already set.  Of those, queue the remaining amount which have no artwork assigned to them in the database.  Download all available artwork for the remaining items and assign in the database.  This is the safe option, and it's the one you want to use.

--refresh-all-artwork-dangerously: Iterate through all recording rules and recordings, and queue everything.  If something doesn't have an inetref, attempt to look it up.  Queue anything without artwork already set in the database.  Set all found and downloaded artwork.

The above completes the transition from needing JAMU to perform random attempted grabs of artwork for recordings.  You can now set them statically if you want, look them all up automatically if you want, or use a mix of the two, setting the artwork you want when the grabber-assigned one isn't something you like.

For now, users of Jamu -MW should cron mythmetadatalookup --refresh-all-artwork.  In the very very near future, the housekeeper will handle this and no cron will be required whatsoever.

Modified:

   mythtv/programs/mythmetadatalookup/lookup.cpp
   mythtv/programs/mythmetadatalookup/lookup.h
   mythtv/programs/mythmetadatalookup/main.cpp



More information about the mythtv-commits mailing list