Multilanguage EPG data

Asked by corec

Here in Finland we have multilanguage (finnish and swedish) epg data and it would bevery nice to be able to filter one of those languages off from the epg. Me-tv is capable of displaying both data in epg. Data is separated with slashes in current me-tv sources(rev. 283, dvb_si.cc: lines 346 and 355). Below is a sample epg title and description (I replaced the corresponding slash with pipe so that noticing of language change would be more obvious :) ). Our dvb-boxes here filter this data according to box language settings. One thing I noticed while checking for good sample material is that sometimes swedish and finnish text seem to be in reverse order in me-tv and this is usually just a single random event in epg. That reversed text order didn't seem to affect my dvb-box so either my box recognizes different languages from each other somehow or could it be some "problem" in me-tv epg data retrieval? If we get that order problem sorted out, It would be pretty easy to implement epg data filtering, I think. :)

Title: "Henkiinjäämistekniikan saloja|Prisma: Överlevnadsteknik"

Description: "Tiede ja tekniikka ovat tulleet avuksi katastrofitilanteisiin, kun ihmisiä pelastetaan sortuvista taloista tai merellä ja ilmassa sattuvissa onnettomuuksissa. T: National Geographic, Yhdysvallat.|Vetenskap och teknik har varit till stor hjälp i krissituationer, när man räddat människor ur rasande byggnader eller vid olyckor till havs eller i luften. Prod: National Geographic, USA."

Question information

Language:
English Edit question
Status:
Solved
For:
Me TV Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Lamothe
Solved:
Last query:
Last reply:
Revision history for this message
Best Michael Lamothe (lamothe-deactivatedaccount-deactivatedaccount) said :
#1

We can definitely change this. This code was developed back in the 0.3 series and needs to be reviewed. There's a better way to do it. With the DVB text streams there's normally a language descriptor attached. What I've done simply joins the two with a dash in between (i.e. the lazy option). What I should do is allow the user to select the default language to display. Please create a blueprint for this and we'll get it done right after 0.5.

Revision history for this message
corec (corecrystal) said :
#2

Thanks Michael Lamothe, that solved my question.