[mythtv-users] Subtitle then Description duplication check giving surprising results

Mike Perkins mikep at randomtraveller.org.uk
Sat Oct 16 11:14:30 UTC 2010


Mike Perkins wrote:
> David Watkins wrote:
>>> What version of XMLTV are you both running? The series/episode
>>> numbering detection and extraction routines were overhauled in the
>>> 0.5.58 release to better handle the large increase in episode number
>>> data being provided:
>>>
>>> <programme start="20101020210000 +0100" stop="20101020220000 +0100"
>>> channel="channel4.com">
>>>  <title>Grand Designs</title>
>>>  <desc lang="en">Kevin McCloud charts the progress of interior 
>>> designer...
>>>  <category lang="en">Interests</category>
>>>  <episode-num system="xmltv_ns">9.5/12.</episode-num>
>>>  <video>
>>>    <quality>SDTV</quality>
>>>  </video>
>>>  <subtitles type="teletext" />
>>> </programme>
>>
>>
>> I'm running 5.55.
>>
>> It looks like from your xmltv snippet the subtitle field has been
>> dropped?  Is that because it no longer contains usefull information,
>> which also explains (I think) why Mythtv's "Subtitle then Description"
>> duplicate detection is no longer working (with my old xmltv version).
>>
> 0.5.55 here also. Looks like it's time for an upgrade...
> 
> Unfortunately, so much has happened here recently I'm not sure if that's 
> going to occur much before December. Rats.
> 
It seemed to me that that version was older than I expected, so I decided to 
have a look, and it's interesting enough to report here.

I have /two/ versions of tv_grab_uk_rt, 0.5.55 in /usr/bin and 0.5.58 in 
/usr/local/bin.

Since mythbackend runs from an /etc/init.d file, it doesn't reference 
/usr/local/bin in the path, and thus the mythfilldatabase which is spawned off 
every day references the /usr/bin version of tv_grab_uk_rt.

When I pulled down and built the later version from xmltv.org it installed it 
into /usr/local/bin. Now, the README tells you you can change the PREFIX for 
installation, but whatever you use, it *always* installs into $PREFIX/local/bin. 
Which in turn means it can never be seen by anything run as a service (and will 
give 'different results' if I hand-run it).

It is the *only* thing in this host installed into /usr/local/bin. I decided 
that changing the PATH in /etc/init.d files to include /usr/local/bin might 
introduce instabilities I didn't want, so I manually modified the xmltv Makefile 
to install (overwrite) into /usr/bin instead of /usr/local/bin and rebuilt it.

Don't jump up and down telling me this is just the sort of thing one shouldn't 
do, I'm aware of that, but given the situation described above I can't see 
another simple solution.

Hope this helps others.

-- 

Mike Perkins



More information about the mythtv-users mailing list