[mythtv-users] Upgraded to 0.27, now metadata is being downloaded
Stephen Worthington
stephen_agent at jsw.gen.nz
Sat Sep 21 14:32:30 UTC 2013
On Sat, 21 Sep 2013 08:11:27 -0500, you wrote:
>On 09/20/2013 11:27 AM, Stephen Worthington wrote:
>> Mythbuntu 12.04 MythTV fixes/0.27 (v0.27-1-g5b917b8)
>>
>> I have just upgraded from 0.26 to 0.27. In 0.26, I had disabled
>> metadata for recordings - I set up the recording rules with the
>> metadata option off and also put that in the default template. That
>> worked - I had no downloaded metadata.
>>
>> Since the upgrade to 0.27, I am getting metadata downloaded for a lot
>> of recordings. I just checked a couple of the recording rules for
>> recordings that have suddenly got metadata, and they still have the
>> "Automatically Look Up Metadata" option off. So does anyone know why
>> is this happening? And how I can stop it? And how I go about
>> removing all the metadata that has been downloaded?
>...
>
>Hi;
>
>In lieu of other answers ;)
>
>I think if you look in the backend's log, you'll find a line
>containing this, very close to startup:
>
> ... Performing Artwork Refresh: /usr/bin/mythmetadatalookup --refresh-all-artwork
>
>In my case, I like it and didn't think twice about
>trying to stop it from running.
>
>Part of the 0.27 Housekeeping rewrite. Brings up
>another point, if users had a cron job to do this,
>then they're no longer required.
>
>In the mean time, how 'bout moving mythmetadatalookup
>to some other name and then linking /bin/true to it?
>
>That's the why & stop questions, as to the third question,
>I don't know of a 'legal' way to remove the data.
This afternoon, I caught the metadata download while it was happening
and a ps -ef | grep myth showed these commands running:
sh -c /usr/bin/mythmetadatalookup --refresh-all-artwork --verbose
general --loglevel info --quiet --syslog local7
/usr/bin/mythmetadatalookup --refresh-all-artwork --verbose general
--loglevel info --quiet --syslog local7
python /usr/share/mythtv/metadata/Movie/tmdb3.py -l en -a NZ -D 265470
So I have already done as you suggest - I wrote a script to replace
/usr/bin/mythmetadatalookup. Some time tomorrow mythbackend will
probably try to run it and I will see what happens. In the mean time,
I have browsed around the database and as best I can tell the
recordedartwork table is where all the data about the cover art, fan
art and banners is stored, so I emptied that table and it seems to
have fixed the problem. I have also deleted all the downloaded
artwork files from /var/lib/mythtv/coverart, ...banners and ...fanart
directories. I did this on both my machine and my mother's MythTV box
and she is happy again - she was having considerable difficulty
reading the text on screen with artwork in the background.
My guess is that the next time mythmetadatalookup is updated and I
upgrade to the new packages, I will have a problem again as apt will
want to overwrite my script with a real copy of mythmetadatalookup. So
I hope someone has a better idea about how to turn off metadata
permanently.
One thing I have also discovered in the database is in the
housekeeping table where there is a row for RecordedArtworkUpdate. So
I am wondering if it is safe to just delete that row or put in a date
way in the future in its lastrun field and that will stop mythbackend
from running metadatalookup. But that is a bit on the scary side to
try without knowing a lot more about how the housekeeping table is
used.
More information about the mythtv-users
mailing list