NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 536 537 538 539 540 … 1231 Next »
EPG in different languages

 
  • 0 Vote(s) - 0 Average
EPG in different languages
narkuma
Offline

Member

Posts: 168
Threads: 28
Joined: Jul 2004
#1
2005-06-03, 08:49 PM
I am german and would like to see all entries in the EPG in german language. Instead I see the shows in THEIR native language.
if there is a film which was produced in france, the title will be french...

I am using XMLTV with tvtoday.

I guess this may be a XMLTV-Problem, but perhaps someone had this problem before and can help me...
Hauppauge PVR 350 - Nova-T USB2 - Intel 2800MHz? - 512 MB RAM - Windows XP - No Mouse nor Keyboard.
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#2
2005-06-04, 04:29 PM (This post was last modified: 2005-06-04, 04:40 PM by betlit.)
hmm... there seems to be something 'wrong' in GBPVR and probably in the grabber as well.

a show can have more than one title-tag with a langauge-parameter ("de" for german, "fr" for french, etc.).
but the grabber does not write the language-parameter for the original title into the file:

<title lang="de">Passagier 57</title>
<title>Passenger 57</title>

or another one

<title lang="de">Eine Schwalbe macht den Sommer</title>
<title>Une hirondelle a fait le printemps</title>

it seems that tvtoday does just provide 'german title' and 'original title'. the grabber cannot determine in what language the original title is...

now what's 'wrong' on the GBPVR site? if a show has more than one title-tag, always the _LAST_ title of the show (order in the file) is used. it does not matter what language it is in (i think GBPVR does not look at that at all).
e.g. if you switch the schwalbe-stuff with the hirondelle-line in the file. you'll get the german title in the tv guide.

i took a look at the xmltv source (perl. fscking hate it! *g*) but i wasn't able to build a binary release of the perl code.

so i made a little console-app for you, which scans the xml-file and removes every <title>-line which does not have the lang="de" parameter.

just add the following line to your UpdateEPG.bat-file after the call to xmltv.exe:

remForeignTitles.exe c:\path\to\xml.tv

(if the path contains spaces, you have to enclose it in quotes (""))

hope this helps

<german mode on>grüsse aus der schweiz!</german mode off>

daniel
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#3
2005-06-04, 05:36 PM
Quote:now what's 'wrong' on the GBPVR site? if a show has more than one title-tag, always the _LAST_ title of the show (order in the file) is used. it does not matter what language it is in (i think GBPVR does not look at that at all).
e.g. if you switch the schwalbe-stuff with the hirondelle-line in the file. you'll get the german title in the tv guide.
Its not something wrong in GB-PVR. This is how it is designed to work. It always uses the last version of a tag found, regardless of language. This has been discussed in the past.
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#4
2005-06-05, 01:01 AM
ah, sorry. didn't know that. je m'excuse.

betlit
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
narkuma
Offline

Member

Posts: 168
Threads: 28
Joined: Jul 2004
#5
2006-01-24, 10:35 AM
Betlit: Thanx for Your work!
Unfortunately I discovered Your answer now. It is late, but I still have the problem. So I will test it this evening...

Narkuma
Hauppauge PVR 350 - Nova-T USB2 - Intel 2800MHz? - 512 MB RAM - Windows XP - No Mouse nor Keyboard.
psicotron3
Offline

Member

Posts: 134
Threads: 17
Joined: Jan 2007
#6
2007-05-28, 03:34 AM
betlit Wrote:so i made a little console-app for you, which scans the xml-file and removes every <title>-line which does not have the lang="de" parameter.

daniel

I have the same problem, but I need to remove <title> lines that don´t have lang="pt"

Can you make that to me?
betlit
Offline

Senior Member

Posts: 449
Threads: 17
Joined: Feb 2005
#7
2007-05-31, 10:11 AM
you can get it from here.

takes two parameters now... first one is the iso code of the language you want to keep(!) (so.. pl in your case), second one is the path and name of the xml file.

btw.. if you are using cygwin to run xmltv and not the compiled exe, you can also achieve the same result with a simple shell script using sed or something (there is nothing that can't be solved with a nice regular expression Big Grin)
AMD 1600mHz, 512 M RAM, 20+160 GB drive, Hauppauge PVR-350 + PVR-150 + PVR-150MCE, Win XP Pro SP3, using software decoding.


There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.

(The Restaurant at the End of the Universe)
psicotron3
Offline

Member

Posts: 134
Threads: 17
Joined: Jan 2007
#8
2007-05-31, 10:48 AM
Thanks betlit!!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  DVB Audio 2 languages on same apid #66 20 5,059 2009-01-08, 10:21 PM
Last Post: RTR
  Other languages for search in epg Dan. 2 1,273 2008-01-12, 09:03 PM
Last Post: Dan.
  two languages (audio) betlit 15 5,591 2005-09-26, 08:41 PM
Last Post: gEd

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode