Opened 14 years ago

Closed 14 years ago

#238 closed defect (fixed)

DVB EPG needs language selection

Reported by: oa@… Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version: 0.18.1
Severity: medium Keywords:
Cc: Ticket locked: no

Description

In Finland at least, the DVB program guide data is broadcasted in multiple languages (Finnish and Swedish). While MythTV usually picks Finnish (which I guess is first in the packets), sometimes the program guide will show Swedish program titles instead. This obviously breaks repeating recording schedules, and makes the guide browser a bit confusing.

There should be a language preference somewhere, and the DVB EPG listener should respect that.

Change History (6)

comment:1 Changed 14 years ago by pekka.jaaskelainen@…

There is, but there's no UI for it. You need to insert following in the DB: INSERT INTO settings(value, data) VALUES('PreferredLanguages?','fin,swe,eng');

I'm not sure whether this setting is still in use, but it used to work for me at least.

comment:2 Changed 14 years ago by Isaac Richards

Owner: changed from Isaac Richards to danielk

DVB = danielk.

comment:3 Changed 14 years ago by oa@…

I followed Pekka's suggestion last weekend, and have not noticed any new EPG entries in wrong languages since. I would highly recommend to include this setting in some kind of "quick start" configuration process, if it can not be autodetected from anywhere.

comment:4 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [7156]) Closes #238.

This updates the mythcontext binary version. You probably want to do a make clean.

Not much to this patch really, it adds a GetLanguageList?() method to MythContext. It returns a list of 3 character iso639 codes from the most preferred to the least preferred language.

In Appearances|Localization you can now specify your top two language options. This language list is used to select program guide data when the experimental EIT decoder is enabled, and is also used to select which DVB caption stream to decode.

Those who have manually inserted a PreferredLanguages? entry in the past have to select the languages again using the settings UI.

comment:5 Changed 14 years ago by danielk

Resolution: fixed
Status: closedreopened

fix reverted out in [7158]

comment:6 Changed 14 years ago by danielk

Resolution: fixed
Status: reopenedclosed

(In [7160]) Fixes #238 without adding GetLanguageList?() to MythContext or moving iso639.{h,cpp} to libmyth. Instead a function is added to iso639 to query for the prefered languages to use.

Note: See TracTickets for help on using tickets.