[mythtv-commits] Ticket #1688: Finnish DVB EIT languages and subtitle/description field
MythTV
mythtv at cvs.mythtv.org
Thu Apr 20 16:10:54 UTC 2006
#1688: Finnish DVB EIT languages and subtitle/description field
----------------------------------+-----------------------------------------
Reporter: otto at kolsi dot fi | Owner: danielk
Type: defect | Status: new
Priority: minor | Milestone: 0.20
Component: dvb | Version: head
Severity: medium | Resolution:
----------------------------------+-----------------------------------------
Changes (by danielk):
* milestone: => 0.20
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.
langPrefs is a list of the canonical language keys, for "fin" the
key would be 6711662 and for 'swe' the key would be 7567205. For each key
there is a priority. In your case 'fin' should have priority 1 and 'swe'
should have priority 2.
The intent of these methods is to pick out the descriptor[s] in the
language with the highest priority. If you can figure out why it isn't
doing this we can fix the problem.
If you can't debug this I can send you a series of patches to try, but
that is a slow and difficult process.
If you have questions, please air them in mythtv-dev.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1688>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list