scripting: GetField(fieldxxxxx) doesn't work!

You found an error in the program ? Report it here
Post Reply
joazito
Posts: 13
Joined: 2003-02-09 10:28:28
Location: Setubal, Portugal
Contact:

scripting: GetField(fieldxxxxx) doesn't work!

Post by joazito »

GetField(fieldOriginalTitle) works,
GetField(fieldTranslatedTitle) works,
but NONE of the other GetField seems to work! Aargh! This is a pretty bad bug.
I came across it when making a script that would correct all the IMDb URL's ('?Title=Blue+Crush' into '?Title=0133413' or sth).
Please correct this soon! I need it for other scripts too..
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

This only happens with the "Get information from script"
If you use Tools -> Scripting all the other fields will work too (and you can apply the script to several movies).
It is not really a bug actually, but in the next version there won't be these two modes anymore I think. I'll have to make something cleaner.
joazito
Posts: 13
Joined: 2003-02-09 10:28:28
Location: Setubal, Portugal
Contact:

Post by joazito »

Ok. It kind of sucks though after running the script for 1 movie to have to search and select the movie again. Please add this functionality to Getinfo... or merge the two.
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I'll merge the two actually.
But with the Tools -> Scripting you can apply the script after having selected lots of movies, so it should be much better for the change that you want to apply...
joazito
Posts: 13
Joined: 2003-02-09 10:28:28
Location: Setubal, Portugal
Contact:

Post by joazito »

You're right. But for some other scripts I'm working on Getinfo is better.
Post Reply