[mythtv-users] MythmetadataLookup again

Stefan D raptorjr08 at gmail.com
Tue Nov 15 22:10:38 UTC 2011

I'm really trying to understand what i need to do to make this work good
for recordings, since it wont download automatically.

This time i have a episode of House as a example, i think it is called
House MD in English, but i live in Sweden.

After i see that a episode have been recorded and i see that i have no
metadata for that recording, or the recording rule i manually do a
mythmetadatalookup --refresh-all. As i understand it this should be done
automatically when there is a new recording? Or if happens every night,
doesn't really matter, because now i have done it manually.

In the output i see this:

2011-11-15 22:45:32.649377 I  Running Grabber:
/usr/share/mythtv/metadata/Television/ttvdb.py -l sv -N House Del 11 av 23
säsong 2010
2011-11-15 22:45:33.046991 I  Running Grabber:
/usr/share/mythtv/metadata/Television/ttvdb.py -l sv -M House
2011-11-15 22:45:33.379171 I  Returning Metadata Results: House 0 0
2011-11-15 22:45:33.379206 I  Closing DB connection named 'DBManager3'
2011-11-15 22:45:35.309633 I  Matched from multiple results based on year.
2011-11-15 22:45:35.309648 I  Multiple results matched on year. No definite
match could be found.

As i understand it, the first line is a lookup of the actual recording. It
contains the name, season info and episode info. If i run that line
manually i get:

stefan at tvdator:~/dev/mythtv$ /usr/share/mythtv/metadata/Television/ttvdb.py
-l sv -N House Del 11 av 23 säsong 2010
<?xml version='1.0' encoding='UTF-8'?>
    <description>En legendarisk jazzmusiker, John Henry Giles, blir inlagd
och får veta att han är döende av ALS. Giles vill inte hållas vid liv med
hjälp av maskiner, men doktor House går emot patientens önskemål för att
hitta en annan diagnos som kan rädda hans liv.</description>
      <certification locale="us" name="TV-14"/>
...... and so on.

Not the correct episode or season, but at least on unique hit. MML probably
don't like how the guide data is formatted in Swedish so it don't get the
right season and episode, but that is not important since we nonetheless
get a unique hit. That is good enough for me.

After that lookup we have:
2011-11-15 22:45:33.046991 I  Running Grabber:
/usr/share/mythtv/metadata/Television/ttvdb.py -l sv -M House

And this is the lookup of the recording rule i guess. But that search gives
multiple hits and MML don't want to make a guess on what i want. I can
understand that.

But, since i got a unique hit on the episode, shouldn't i get fanart and
such for that recording? Sure it was the wrong info, but it was info and
only one hit for that recording.
If i edit recording metadata for that recording in the frontend, nothing
have been saved even though MML found a inetref for the recording. And
since the inetref is empty, MML should save it if it is found?

Does anyone in Sweden have this working?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20111115/f53d8000/attachment.html 

More information about the mythtv-users mailing list