[mythtv] [mythtv-commits] Ticket #1688: Finnish DVB EIT languages and subtitle/description field

Otto Kolsi otto at kolsi.fi
Fri Apr 21 15:55:37 UTC 2006


>> #1688: Finnish DVB EIT languages and subtitle/description field
>> Changes (by danielk):
>>
>> Comment:
>>
>>  Are you capable of debugging? If so the code for the language selection is
>>  in libs/libmythtv/mpeg/mpegdescriptors.cpp
>>
>>  There are two methods FindBestMatch() and FindBestMatches() for
>>  the title and description, respectively.

Daniel,
I think I found it. In both FindBestMatch() and FindBestMatches() 
match_key and match_pri gets updated if (*it > match_pri).

This should be other way around because higher priority language has 
smaller value (fin = 1, swe = 2). I changed those comparisons and 
started to receive Finnish EIT.

How about the second issue? Currently the 'description' field in DB is 
empty and all the descriptions are in 'subtitle' field.
-- 
   Otto


More information about the mythtv-dev mailing list