IMDB script

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Post Reply
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

IMDB script

Post by antp »

Here is the latest version of the IMDB script:
http://antp.be/temp/scripts/IMDB.ifs
It is a conversion of the script I rewrote for AMC 3.5 beta 3. This version of the script is made for AMC 3.4.3.
It replaces the previous scripts since you can select the picture size and the batch mode option by modifying the script.

Remplace the IMDB.ifs file by this one, delete the other IMDB*.ifs files, and within AMC's script window click "Editor" then follow what's written in the comments of the script.
If you need help, do not hesitate to post here.

There may still be bugs in the script since it hasn't been tested very much.
As usual the large picture importation is not 100% reliant. There is an option to take this picture from IMDB itself when possible, which is new and did not exist in previous script version.
Last edited by antp on 2005-03-14 22:24:52, edited 1 time in total.
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Script updated : Rating was not imported (because it contained a ".", which is accepted by the version 3.5)
Fran

bug in user comments import

Post by Fran »

When importing user comments, the script leaves out some of the spaces, about every 7-8 words or so. Great script otherwise, much more advanced than previous version.
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

You mean that there are sometimes two spaces or that there are spaces missing ?
If it is the first case, I could correct that easily, in the other case can you give me an exemple movie that has this problem ?
Guest

Post by Guest »

I also find that:
http://us.imdb.com/title/tt0254455 (words not separated)
http://us.imdb.com/title/tt0108160 (words not separated and to long spaces between words)
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

OK, I'll correct that ;)
Guest

Post by Guest »

When using "actorsLayout" under the Script Options, values 2 and 3 doesn't work anymore.
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

You took the latest version ? Because I corrected something in this part recently (sombody else reported the bug and I corrected it)
Guest

Post by Guest »

MY mistake. The last two replyas from me were refering to version using AMC 3.5beta3. I see now that this is version for 3.4.3.
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Even for version 3.5 b3 it is updated, but it is in another folder, the link is given in the first post of the topic about it ;)
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I corrected the few bugs reported for IMDB script.
I'll add later a possibility to get the translated title, the problem is that there would be a long list of possible languages...
Fran

new bug report

Post by Fran »

The problem with spaces is solved, but the multiple categories don't work (they did in previous version). Example: 2010: the year we make contact
http://us.imdb.com/title/tt0086837/
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

There are now separated options for country, category and language, so you have to re-change the option ;)
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Oops, you're right, there is a bug.
I forgot to replicate the change made to the v3.5 script to the v3.4.3 script.
I uploaded the new one.
KoVaR
Posts: 7
Joined: 2004-12-26 13:54:03

Post by KoVaR »

Help me pls with this one
I would like to have some html tags imported into actors field
I would like it to look like this:

Code: Select all

<b>actor</b> ..... <i>character</i>
or similar
I was able to edit previous generation of the script but my understanding of scripting is very limited and I couldnt edit this one :(

also
Maybe an option to put picture web address into media label field would be nice
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

If you simply want "actor.....character" you just have to select option 4 for "ActorsLayout" in GetOption function
for the picture address to media field, just after the "GetPicture" calls do a SetField(fieldMedia, ***) by replacing "***" by what's given to GetPicture (I hope you see what I mean :D)
KoVaR
Posts: 7
Joined: 2004-12-26 13:54:03

Post by KoVaR »

This is not what i meant
I want html tags to be put into actors field
I know that option 4 will import actor.....character
But i want it WITH html tags

Code: Select all

<b>actor</b> ..... <i>character</i>
INSIDE actors field

As for picture, yes this one was easy to edit
I was just thinking that other users could find it usefull.....
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

For the actors, since now the script simply gets the whole actor list from IMDB without rebuilding it, it is maybe a little difficult to add these tags (possible yes, but difficult)
KoVaR
Posts: 7
Joined: 2004-12-26 13:54:03

Post by KoVaR »

:ha: :(
:cry:
Guest

Post by Guest »

Why this script doesn't import Full Cast? Also I get only names of actors but not characters they play. Producers aren't imported either.
Am I doing something wrong?

v3.4.3 2004-22-12
Post Reply