Opened 11 years ago

Closed 10 years ago

#6843 closed defect (fixed)

language preferences for EIT data selection are not set for the backend

Reported by: naked@… Owned by: stuartm
Priority: minor Milestone: 0.24
Component: MythTV - EIT Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


My DVB-C cable channel sends EIT descriptions in multiple languages. MythTV supports using language preferences to pick the suitable language variant for the program guide. In general, this works fine.

However, when the backend resides on a separate computer from the frontend, there is a problem. The language preferences are set by the mythtv frontend UI, and only for the frontend hostname. There seems to be no supported way of setting the language preferences for the backend - the ones that determine which language to use for the EIT when generating program data.

Adding ISO639Language0 and ISO639Language1 for the backend hostname in the settings table fixes the issue.

(Location in code: Language preferences are used in EITScanner, which uses iso639_get_language_list, which simply does gContext->GetSetting?. Verified to be so in trunk.)

Change History (8)

comment:1 Changed 11 years ago by Stuart Auchterlonie

Milestone: unknown0.23

We probably need to put something in the general settings in mythtv-setup.

It's a configuration issue, but since there no actual way of configuring it then technically it's a bug :)


comment:2 Changed 11 years ago by robertm

Milestone: 0.230.24

comment:3 Changed 10 years ago by Stuart Auchterlonie

Status: newaccepted

Could you provide the output from running 'locale' on your backend system please?

The nicest way of handling this is with the new locale's code.


comment:4 Changed 10 years ago by stuartm

The language preferences for your locale too. The values you've set for ISO639Language*

comment:5 Changed 10 years ago by anonymous

My locale is mostly "en_US.UTF-8". Here is the exact output:


My language preferences are:

  • Interface language: English
  • EIT preferred language: Finnish
  • EIT secondary preferred language: Swedish

As you can see here, locale has very little to do with the issue - unless you support some way of specifying the locale separately for program data and user interface.

comment:6 Changed 10 years ago by stuartm

Ok, then the locale defaults stuff isn't going to help you, since your locale doesn't match your location. Still we can probably help your fellow Finlanders by creating a fi.xml with Finnish and Swedish as the preferred values for ISO639Language*?

comment:7 Changed 10 years ago by stuartm

Owner: changed from Stuart Auchterlonie to stuartm

comment:8 Changed 10 years ago by stuartm

Resolution: fixed
Status: acceptedclosed

(In [26552]) Make the EIT & track language settings global. In the rare case were a user wants different languages on each frontend then it can be overriden by writing a host specific entry to the settings table. The problem with the existing host-based setting is that we use these preferences for EIT on the backend but it's only configured for the frontends. Fixes #6843

Note: See TracTickets for help on using tickets.