BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager (Rel. 7), No More Updates
 Scripts
 IMDB scripts - Special characters
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

HaraldBluetooth
New Member

Denmark
77 Posts

Posted - 24 Jan 2010 :  18:12:47  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
For a very long time the IMDB scripts haven't handeled some special danish and some scandinavian and german characters properly.

It's about the following characters:

æ/Æ, ø/Ø, å/Å, ä/Ä, ö/Ö, ü/Ü

This problem is related to all imported fields and especially for importing of actors. An example:

Uncorrect import:

Name/Character/ID

Erno Muller/Hr. S/rlang§0618143

Should be:

Erno Müller/Hr. Sørlang/0618143


Edited by - HaraldBluetooth on 25 Jan 2010 17:10:31

JDommi
Administrator

Germany
4644 Posts

Posted - 25 Jan 2010 :  20:45:13  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Well, I don't have tested all chars - only the special german characters:
ä => ä - ö => ö - ü =>ü - Ä => Ä - Ö => Ö - Ãœ => Ü - ß => ß
For these I have just sent Alessio a javascript routine for the HTML cards.
The routine replaces these chars (or string parts) by the wanted equivalent. So you don't have to re-import all data again.
The other chars like æ/Æ, ø/Ø, å/Å can easily be added to the conversion list.



In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

HaraldBluetooth
New Member

Denmark
77 Posts

Posted - 26 Jan 2010 :  09:51:14  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi JDommi - thanks for your answer - that sounds terrific, but when I see the imported data on the Crew tab (in quick edit view) my example is imported as:

Name: Erno Muller
Character: Hr. S
ID: rlang§0618143

where it should be:

Name: Erno Müller
Character: Hr. Sørlang
ID: 0618143

I assume, that the wrong information is imported to the Access database. At the moment I don't have Microsoft Access installed on my PC, so I can't check the imported data in the database.

Another example:

Name: L
Character: rke Winther Andersen
ID: Katrine§1163057

should be:

Name: Lærke Winther Andersen
Character: Katrine
ID: 1163057

So I can't see how I can avoid a re-import of the data or edit manual until the IMDB scripts are changed.

Edited by - HaraldBluetooth on 26 Jan 2010 09:53:41
Go to Top of Page

JDommi
Administrator

Germany
4644 Posts

Posted - 26 Jan 2010 :  11:20:27  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Mmmmh (thinking)
Well, that's a problem.
I haven't checked the actors on that behaviour. I only had a few on movies and episodes containing those chars. On that all worked fine... even if the title has to be "corrected" the links to episode and pics worked okay.
After work I will have a look if I have such actors and how the behaviour will be.
But I'm confident that this is only an affect in output as long as the special char(s) don't contain the paragraph sign...

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse

Edited by - JDommi on 26 Jan 2010 11:24:06
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 26 Jan 2010 :  16:37:16  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Many UTF8 Conversions were missing or incorrect.

Some Data was even imported in the incorrect Database Field because of that. So deletion and reimport of is at least many times mandatory to get the correct Data.

Added/Corrected the Conversions form an official conversion table (and a bit regex magic in a text editor)

http://www.mediafire.com/download.php?ul0hzliejkm

Edited by - Prinz on 26 Jan 2010 16:37:35
Go to Top of Page

HaraldBluetooth
New Member

Denmark
77 Posts

Posted - 26 Jan 2010 :  18:48:52  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot Prinz - that worked like a charm - pure magic. No more errors in actors names. I've also checked the other imported fields and those are correct too.

Will this change be saved for future updates of the IMDB scripts ??


Edited by - HaraldBluetooth on 26 Jan 2010 19:02:15
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 26 Jan 2010 :  19:35:40  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by HaraldBluetooth
Will this change be saved for future updates of the IMDB scripts ??



Only if Alessio takes the changed script as new base for future changes.

Script Files are always replaced during the update.

Edit:

I send an E-Mail with all changes to scripts: imdb, dvdempire and thetvdb to Alessio

Edited by - Prinz on 26 Jan 2010 20:16:37
Go to Top of Page

JDommi
Administrator

Germany
4644 Posts

Posted - 26 Jan 2010 :  20:51:48  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Great Prinz, but would be even greater if you would modify all scripts that way :P
As many other scripts do not substitute every special character.
Really great, Prinz :)

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 26 Jan 2010 :  20:57:38  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
At the moment i done it only for the imdb and thetvdb. dvdempire was an unrelated change.

I will try to change the rest of the scripts, but with the other scripts i must additionally first check if there are all the conversation commands in place.
Go to Top of Page

JDommi
Administrator

Germany
4644 Posts

Posted - 26 Jan 2010 :  21:21:14  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
No problem if it lasts a while ;)

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

HaraldBluetooth
New Member

Denmark
77 Posts

Posted - 27 Jan 2010 :  09:42:08  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
For your information, Alessio reacted very fast - the changes made by Prinz is already included in the update today...

Go to Top of Page

Prinz
Senior Member

Germany
1522 Posts

Posted - 27 Jan 2010 :  16:40:33  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I found a bit more complete conversion table. I will try first make a complete table and after that i at them to all scripts.

It would much simpler if magic script had a (File-) include function like most programming languages. One could simple make one File with all conversions and simply include it in all Scripts with one line.
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.16 sec. Powered By: Snitz Forums 2000 Version 3.4.07