You are here

lang="pl" and lang="xx" problem with titles

3 posts / 0 new
Last post
skutyborsuk
Offline
Donator
Joined: 5 years
Last seen: 1 month
lang="pl" and lang="xx" problem with titles

Hello,

I have a problem with lang="pl" and lang="xx".
The programs from the EPG are displayed with the original program name, which is inconvenient because they are often in Turkish and other languages I simply don't understand. Previously, the solution was just to remove the original subtitle line in the siteini file tv.wp.pl.ini. Currently, I see that the file has been encrypted. Is there any solution for this? Removing the generation of lang="xx" in the XML file, or decrypting the ini? Please help, this is very inconvenient.

mat8861
Offline
WG++ Team memberDonator
Joined: 10 years
Last seen: 21 hours

Let me explain, you are grabbing epg from tv.wp.pl which of course has the language set for polish (pl). If we note that subtitle are mixed, sometime polish sometime english we set xx, then we set titleoriginal with en, being most of original title for movie/comedy in english.Would you like a copy with titleoriginal=en or removed? other stuff can be done in rex.

Blackbear199
Offline
Has donated long time ago
Joined: 10 years
Last seen: 4 months

run your guide.xml through the rex post processor with

<title>'title[max_elements=1]'</title>

it will keep the first element
example
if u had..
<title lang="pl">Polish Title</title>

then tis same title is kept.
if u had
<title lang="pl>Polish Title</title>

<title lang="xx">English Title</title>
rex postprosessor will see 2 titles but the max_element=1 says to keep only 1 which will the first(polish) title.

 

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl