You are here

Titles in English instead of Polish language

25 posts / 0 new
Last post
Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years
Titles in English instead of Polish language

Hello,
could you please to explain and help, how to configure xml file to get Titles in Polish language instead of English. In guide.xml file I got Titles in two languages, eg.

<title lang="pl">Nowe triki 10</title>
<title lang="en">New Tricks</title>

But in Tivimate it is only English title, even as the description is in Polish.

Also, how to get subtitle in Polish language ?

Regards,
Pawel

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

One is titleoriginal usually in english.I f you don't want english titlesor polish you can remove with postprocess REX.
Subtitles, usually if available will show up, if not tell me which siteini are you using.

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years

Hi, thanks for the prompt answer.

Quote:

One is titleoriginal usually in english.I f you don't want english titlesor polish you can remove with postprocess REX.

Would you describe, how to remove english original titles with REX postprocess?

Quote:

Subtitles, usually if available will show up, if not tell me which siteini are you using.

I have subtitles in my epg, but they are in English instead of Polish. I use "tv.wp.pl.E.ini" and "telemagazyn.pl.ini".

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years

Hello,
can I ask for help to configure REX to remove original title, eg.

*title lang="pl">Nowe triki 10*/title*
*title lang="en">New Tricks*/title* - need to remove this line

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

add the line of your example (empty) if it doesn't work i can modify siteini for you

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years
mat8861 wrote:

add the line of your example (empty) if it doesn't work i can modify siteini for you

Do you mean the line from the WebGrab++.config? If yes, one of the lines looks as added file.

Attachments: 
mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

in rex.config... *<*title lang="en"*>*<*/title*>* without asteriscs

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years
mat8861 wrote:

in rex.config... *<*title lang="en"*>*<*/title*>* without asteriscs

Thanks, will try within few minutes.

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years

Hi, I got the following lines:

*<*title lang="pl"*>*Sledczy do pary : Uznana za zmarla. Private Eyes, s02e05*<*/title*>*
*<*title lang="xx"*>*Private Eyes: Now You See Her..., s02e05*<*/title*>*

But Tivimate still shows only English titles. Is that way to remove line *<*title lang="xx"*>*Any title in English*<*/title*>* from the xml file?

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

which siteini is this ?

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years

I use "programtv.onet.pl.channels.xml" from Polish Channels.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

Add * in front of titleoriginal.scrub line..... it will not be scrubbed.
*titleoriginal.

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years

Thanks, it works. But only in movie's title. If there is a series it shows both Polish and origin titles, e.g.

*<*title lang="pl"*>*Różowe lata 70.. That '70s Show 6, s06e03*<*/title*>* or another
*<*title lang="pl"*>*Biuro : Awans. The Office, s06e03*<*/title*>*

How to fix it?

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

that become a little complicate, i see there is title, subtitle and episodedivide everything might be a little complex and cause errors. I will have a further look, be patient. Did you check the other siteini ?

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

that become a little complicate, i see there is title, subtitle and episodedivide everything might be a little complex and cause errors. I will have a further look, be patient. Did you check the other siteini ?

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years

Thanks a lot for your support. I am patient :)

I use this siteini due to its good description of series.

Slayer
Offline
Donator
Joined: 4 years
Last seen: 10 months
Pawel_PS wrote:

Hello,
could you please to explain and help, how to configure xml file to get Titles in Polish language instead of English. In guide.xml file I got Titles in two languages, eg.
Nowe triki 10
New Tricks
But in Tivimate it is only English title, even as the description is in Polish.
Also, how to get subtitle in Polish language ?
Regards,
Pawel

Hello..
I can help you to clean xml file wih BASH script..
It is very simple and asking just one line command:
(look first attachment)

As u can see..In my example I'm filtrating (removing) all the lines what contains, slo rom en language description as well as subtitle. directly in file.
In you case solution would be:
(look first attachment)

Try and tell me!

P.S. This forum is not able to show bash code..it cut in pieces the command..strange

Attachments: 
Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years
Quote:

Hello..
I can help you to clean xml file wih BASH script..
It is very simple and asking just one line command:
(look first attachment)
As u can see..In my example I'm filtrating (removing) all the lines what contains, slo rom en language description as well as subtitle. directly in file.
In you case solution would be:
(look first attachment)
Try and tell me!
P.S. This forum is not able to show bash code..it cut in pieces the command..strange

Hello Slayer,
thanks for the answer. But would you tell me, where to put the batch. Should I add these lines to "WebGrab++.config" or to my favourite "site.ini"?

Best regards,
Pawel

Slayer
Offline
Donator
Joined: 4 years
Last seen: 10 months

I'm glad that I can help you.
Unfortunately I'm not a developer of this project so I do not know what is under cover of this software.
This is manual solution what u need to exectute from ssh command line.
If u have a minimum knowlegde in scripting then u can make a little automated script who will do this minute before your crond grabber will load the data from guide.xml file

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years
Slayer wrote:

I'm glad that I can help you.
Unfortunately I'm not a developer of this project so I do not know what is under cover of this software.
This is manual solution what u need to exectute from ssh command line.
If u have a minimum knowlegde in scripting then u can make a little automated script who will do this minute before your crond grabber will load the data from guide.xml file

Thanks again. Will try at the evening to make small script ;)

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years

Hello Mat8861,
have you any ideas how to remove English title from series? I asked about it few weeks ago.

mat8861 wrote:

that become a little complicate, i see there is title, subtitle and episodedivide everything might be a little complex and cause errors. I will have a further look, be patient. Did you check the other siteini ?

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

post in a text file 4-4 examples on how they are and how you want them, also attach the siteini you use.

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years

Mat, I include the site.ini I use and same examples in text file.

mat8861 wrote:

post in a text file 4-4 examples on how they are and how you want them, also attach the siteini you use.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 8 hours

first problem i see is many titles have the episode in english (comedy central) example:
Teoria wielkiego podrywu 9, odc. 5: The Perspiration Implementation
Przyjaciele, odc. 15: The One with the Stoned Guy. Friends, s01e15
Teoria wielkiego podrywu 9, odc. 6: The Helium Insufficiency. The Big Bang Theory 9, s09e06
if we remove what is in the middle between : and , you loose also subtitle in polish...

Pawel_PS
Offline
Donator
Joined: 4 years
Last seen: 3 years

Mat, many have not subtitles, only number of serie and episode, as exaple:
>Australijscy poszukiwacze złota . Aussie Gold Hunters 2, s02e05<

So, I can loose the English or Polish subtitles. Lets try ;)

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