Language problem

RadPC

13-02-2011 07:34:28

Hi, everybody.

This program rocks, but I have problems selecting my language (spanish) with one show. It may be related to the TVDB site, because it worked before I forced the refresh of the show in TvRename.

The show is Phinneas & Ferb. You can see most episodes have the info in Spanish: http://www.thetvdb.com/?tab=season&seri ... 024&lid=16

I've set up TvRename by selecting in the preferences -> Languages -> Putting spanish the first one, and english the second one. I choose the show (which is the 81848) and TVRename downloads all the info in English :(

Could someone help me, please?

Btw, I have a bug in the preferences (maybe it's related?). These are the steps to reproduce it (it always happens):
1. Enter the preferences (for example, hitting Ctrl-P).
2. Go to the "Language" tab.
3. The list box "Preferred languages for thetvdb.com" is empty (this is the error).
4. Now, without exiting the preferences, click in the tab tab "RSS / uTorrent" (with others it may not work!).
5. Then return to the "Language" tab.
6. Now the list box has all the languages and you can move them up and down.

I've reinstalled TvRename (keeping my personal settings) but it still shows this error. I'm using the latest version (2.2.0b7).

Thanks in advance for your help and keep the good work!

RadPC

14-02-2011 05:52:13

Well, both errors (not applying correct language and empty language listboxt) still remain, however I've found a workaround that allowed me to correct the shows I had with problems.

First, set up the show with folders and everything as usual. The episodes may be in the wrong language.

Then close TvRename and go to: c:\documents and settings\<username>\application data\tvrename\tvrename\2.1\ (or the equivalent in your language).
With a text editor, open the file "TheTVBD.xml" and search the show you want to correct. For each show you'll have something like:
<Series>
... lots of xml tags like id, seriesname, banner, ...
</Series>
<Episode>
... lots of xml tags like id, seriesname, EpisodeNumber, ...
</Episode>
<Episode>
... lots of xml tags like id, seriesname, EpisodeNumber, ...
</Episode>
...


Then, delete all the <Episode> blocks related to your show and strip all the tags within the <Series> block except the id, the seriesname, the language, the seriesid and, if you want, the banner. Correct the language tag (which was wrong for me) and save the file. Launch TvRename and scan the show. This time it will download everything in your language!

For example, I had "The Simpsons" with everything in english, while I wanted it to be in spanish. I just deleted all the episode blocks and leave the series tag as this (note I've changed the language to "es" (it was mistakenly "en"):
<Series>
<id>71663</id>
<SeriesName>The Simpsons</SeriesName>
<Language>es</Language>
<seriesid>71663</seriesid>
<banner>graphical/71663-g13.jpg</banner>
</Series>


After a rescanning everything is in order!

Hopefully someone can correct the code so TvRename sets up correctly the language tag. In the meanwhile, I hope somebody finds this useful!