Page 6 of 15
tag line
Posted: 2009-11-12 11:59:22
by the_observer
Hi all.
I am trying to import tag line using latest IMDB script (v.3.50) but it doesnt seem to bring anything...
I have set it to be brought in Description field ,before Summary.
Does it work for you?
Thank you 4 your time reading this.
Regards,
the_observer.
Re: tag line
Posted: 2009-11-12 22:20:08
by bad4u
the_observer wrote:I am trying to import tag line using latest IMDB script (v.3.50) but it doesnt seem to bring anything..
The script has been updated for tagline import and new version will be available soon from
http://update.antp.be/amc/scripts/ or through script [Update Scripts].
Posted: 2009-11-12 23:53:48
by antp
updated, thanks
Posted: 2009-11-13 05:49:31
by the_observer
Thx 4 the update guys.
Tag line works like a charm now.
Though it doesn't bring the MPAA rating now.At least it doesn't work for me ,i have set it to be brought after the comment.
Is it working or it is not only 4 me ?
Thank you 4 your time reading this.
Regards,
The_Observer.
P.S. Also between the tag line and the description it leaves 2 empty lines instead of one.I don't know if it is meant to be so.Nevertheless it is a minor issue,just letting you know.
Posted: 2009-11-13 11:49:06
by bad4u
MPAA rating has been fixed and update will be available soon.
the_observer wrote:P.S. Also between the tag line and the description it leaves 2 empty lines instead of one.I don't know if it is meant to be so.Nevertheless it is a minor issue,just letting you know.
I don't use IMDB script, so I cannot say if this is the way it worked previously. And as I don't keep HTML code of previous website layouts, I cannot check what exactly they changed. Someone who has older IMDB database entries with that option enabled might check this on his/her catalog.
Posted: 2009-11-13 13:53:43
by antp
The script has been updated on the server, thanks to bad4u.
As far as I remember when I originally wrote the script there was at most one line between tagline and description, but I do not know how it evolved later.
Posted: 2009-11-14 06:14:18
by the_observer
Everything is working ok now.Thank you.
The only minor issue is that there are many lines between Tag and description,is shown like this:
Code: Select all
"the hot-line suspense comedy
"
An insane general starts a process to nuclear holocaust that a war room of politicians and generals frantically try to stop.
I will try to fix it but i dont thik i will manage cause i dont understand many of the script.
Posted: 2009-11-14 08:38:07
by the_observer
Ok ,i found how to fix it.
Find:
Code: Select all
522 Value := Value + #13#10 + #13#10 + GetField(fieldDescription);
Replace with
Code: Select all
522 Value := Value + #13#10 + GetField(fieldDescription);
And now it works -at least for option to put it before Comments- and becomes like this :
Code: Select all
"the hot-line suspense comedy
"
An insane general starts a process to nuclear holocaust that a war room of politicians and generals frantically try to stop.
I guess the 2nd string #13#10 add one more empty line that is of no use.
I also noticed that in the if where the above modification has to be done there are also othe instances of double #13#10 string which i dont dare to check cause i am not experienced coder.
So it works for me now ,just letting you know in case you would like to add this change to a newer ver of IMDB script or maybe if you investigate the subject more thoroughly
Thank you 4 reading this and for your help.
Regards,
The_Observer
Posted: 2009-11-15 15:51:15
by bad4u
antp wrote:As far as I remember when I originally wrote the script there was at most one line between tagline and description, but I do not know how it evolved later.
I found an older catalog on my hdd that I used for testing, that had few IMDB entries with tagline import. There was exactly one empty line between tagline and description, so I changed that for the new script version again.
the_observer wrote:Ok ,i found how to fix it.
...
I guess the 2nd string #13#10 add one more empty line that is of no use.
I also noticed that in the if where the above modification has to be done there are also othe instances of double #13#10 string which i dont dare to check cause i am not experienced coder.
Thanks, always nice to see if someone tries to fix problems on his own. Learning by doing.
But the problem was not the double linebreak on the tagline import, the empty line was added on description import instead (not
behind tagline, but
before description). You can see that on description field if you turn off tagline import.
Note: #13#10 is a linebreak, not an empty line (it simply "jumps" to the next line). So in case there is not other string on the line, it provokes an empty line.
Posted: 2009-11-15 16:00:25
by bad4u
A new version (3.53) will be available from
http://update.antp.be/amc/scripts/ or using script "Update Scripts" soon.
It fixes problems on length and aspect ratio import, google search function, hiding aka titles from results list and some minor changes on director, description, tagline, etc import using FullTrim function now. I hope most bugs are fixed and I did not introduce new ones.
In addition the new script will require an update of unit StringUtils1.pas to latest version 7, which can be done automatically (after inquiry) or downloaded manually from AMC update server.
Let me know if it does not work with specific movies or there are still bugs/problems.
Posted: 2009-11-16 22:55:46
by the_observer
Thanx mate 4 your efforts.
The "try-to-solve-it-on-your-own-even-if-you-dont-know-much-dont-be-lazy" thing came after writing many answers to questions in other forums
Well i didnt find the correct correction for the error but i am glad you got involved and fixed it.(Havent seen the new script yet but so i guess).
Also , you mentioned before that you dont use IMDB script .If i am not getting rude (dont know the exact word) which script you prefer to use?
If it is better maybe i could check it out and use it too
Thank you 4 reading this and excuse my lame english.
Regards,
The_Observer.
P.S. Maybe you overestimate me.I have no idea how to turn of the tag line.Also thx for your notices regarding the problem.As you said,you learn a lot by doing/trying in deed.
Posted: 2009-11-17 07:26:57
by bad4u
the_observer wrote:Also , you mentioned before that you dont use IMDB script .If i am not getting rude (dont know the exact word) which script you prefer to use?
If it is better maybe i could check it out and use it too
IMDB probably is the most popular english script. Personally I only use german ones.
P.S. Maybe you overestimate me.I have no idea how to turn of the tag line.
For many scripts you will find "script options" in a frame on the right side of the scripting window, when you choose the script from the list (=mark it blue). For not importing tagline on IMDB script you would change option "GetTagline" to 0 then.
Posted: 2009-11-18 12:26:05
by the_observer
Ver. 3.53 seems to work flawlessly.
Thank you for your efforts and 4 your notices.
Posted: 2009-11-19 07:15:50
by the_observer
Hi again.
I thing i found another bug
It seems that it does not bring the Length of the movies.
Is this correct?
Regards,
The_Observer.
Posted: 2009-11-19 07:47:00
by bad4u
There are new problems on Director, Producer, Length and Video format import. Either they switched back to the previous HTML code base (e.g. the <p> tags are missing again, tables look little different) or they are still testing new layout options and switched between. I'll keep an eye on it, but maybe it's better to wait another day or two, to see if they keep this version now.. if they are testing new layout options it wouldn't make sense trying to keep track.
Posted: 2009-11-19 08:32:55
by the_observer
Yes of course .You r right
Since it seems that they r making changes we (you actually+me obligatorily) should wait.
The funny thing is that today i though i was insane ,since i remembered clearly that i had checked thoroughly that the last script was good.
All night i entered about 200 movies with no prob and the morning i decided to repair massively about 150 which i had enter with previous versions of script (corrections to length e.t.c.) only to discover that it was not working.
Well i can tell you for sure that it was a really weird felling specially for a guy who dont know much and couldnt imagine the explanation you gave to see that suddenly something is not working after hours of everything is ok.
Another funny thing is that all these days i am trying to import my movie collection and almost every day i start over,check scripts modify the new script versions you produce to my likings (e.g. put my rating field to another filed e.t.c.).
Two things are rather surprising for me though.
1.How great Murphy's Law worked for me now i decided to migrate my movie db
2.You get occupied with a script which you dont even use.Human nature amazes me from time to time
Thank you 4 your help.
Regards,
The_Observer.
P.S. It should be really interesting to be able to understand and alter the code.While waiting i thing i will give it a try to fix the code.
(Crowd's voice --> This is probably the best joke you said this week the_observer
)
Posted: 2009-11-19 09:56:13
by bad4u
the_observer wrote:All night i entered about 200 movies with no prob and the morning i decided to repair massively about 150 which i had enter with previous versions of script (corrections to length e.t.c.) only to discover that it was not working.
For movies that have been saved with correct URL, you can simply run IMDB in batch mode later and it will update all missing/wrong fields without user interaction for these movies. No need to do that manually then
Posted: 2009-11-21 11:14:30
by haggis82
bad4u wrote:For movies that have been saved with correct URL, you can simply run IMDB in batch mode later and it will update all missing/wrong fields without user interaction for these movies. No need to do that manually then
How do I do that?
The script still miss "Length". I noticed that "Director" and "Writers" looks abit wrong to now. I looks like this: ":Mel Gibson" and "s:Benedict Fitzgerald (screenplay), Mel Gibson (screenplay)" or "s (WGA):Benedict Fitzgerald (screenplay), Mel Gibson (screenplay).
Posted: 2009-11-21 14:30:10
by the_observer
Hi haggis.
The script still miss "Length". I noticed that "Director" and "Writers" looks abit wrong to now. I looks like this: ":Mel Gibson" and "s:Benedict Fitzgerald (screenplay), Mel Gibson (screenplay)".
If you read above we are just waiting a couple days for bad4u to fix the script that will bring length and other fields correctly from IMDB.
Seems that IMDB changed their pages layout a bit last couple days and bad4u wants to be sure that this will be their final layout before he makes the corrections to the script.
To your question now.
If you want to import massively the data for your database ,when you will start the script (press F6 and chose IMDB script) you will see at the right part of the new window which will open a bunch of options.
At script options pane ,choose Batch Options and set the value to 2.
This will cause the script to import the data from IMDB in case that you have already fulfill the URL field
From the pane below called Script limitations-Movies to include ,choose for which movies of your database you want the update to be done.
From the pane Script limitations-Modifiable fields ,choose which fields to import
All of the options are self explanatory.
We just have to be patient a bit and bad4u will correct the script (which then you will have to update using the UPDATE scipt)
Regards,
the_observer.
Posted: 2009-11-21 14:35:46
by haggis82
thanks