Author |
Topic |
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
Posted - 12 Aug 2004 : 09:52:30
|
Hi Guys,
FreakBrother has update the IMDB script with a new cool idea : insert some options directly inside the Script.
You can download the Script's pack in the main webpage.
In this topic FreakBrother will describe to you how to set options. I have in mind to integrate it in XMM in future : every script will have it's special settings, XMM will do all for you. At this time you must manually edit the script and make the choice.
Thank you FreakBrother!
Alessio |
|
FreaKBrother
New Member
97 Posts |
Posted - 12 Aug 2004 : 17:34:21
|
What's different compared to the other moviescripts? The difference is that you now have a few options that you can change in the begining of the script. And these options effects what the script should collect. Read further down on this page under the heading "Moviescript information" for instructions on how to change what the script should take. And don't worry if you don't understand how the scripts are written because it's quite easy to change the settings .
Do you actually use any of the options or have I added options that nobody needs? I guess that there are quite a few of you that have been using these scripts for a while and I would like to recieve some feedback on what you think is useful and what is not.
So please take a moment and post some comments etc. for example: What options do you use? Do you have an idea for another option? Do you wish the scripts could do something that it can't do at the moment? Please give me some feedback
Latest update: (6 Jan. 2005) IMPORTANT! Only use NOTEPAD to edit the script. If you use any other editor then the script might not work as it should. So if you have used another program to edit the options in the script and it doesn't work then download the script again and use Notepad to change the options.
"[IMDB.COM] - (Adjustable_Script-Full_Import_'Default')_FreaKBrother_2005.01.06.txt" 1) Fixed: If no comments were found then it added "IMDbPro.com-FreeTrial....." instead. 2) Changed: Adds an empty line in "Plot summary" if more than one is found (easier to read).
"[IMDB.COM] - (Actor_Import_Second_G)_FreaKBrother_28.Dec.2004.txt" 1) Fixed: Actorsearch wasn't working because iMDB has changed their site.
To download the updated zip file go to this temporary page and download it: http://freakbrother.100free.com/ or this one: http://www.freewebs.com/freakbrother/ (Don't download the one on the main page since that isn't latest scripts )
Previous updates/fixes in the moviescript: (Read the "IMPORTANT-Read_this_before_using_the_scripts.txt" file which is included in the zip to see what the earlier versions fixed.) "[IMDB.COM] - (Adjustable_Script-Full_Import_'Default')_FreaKBrother_26.Dec.2004.txt" 1) Fixed: When the search found "Approx Matches" they weren't shown in the movielist. 2) Fixed: "&" sometimes got imported as "& amp;" (#SUBSTITUTEWORD# section). 3) Changed: The default settings for "genres" (Category) and "subgenres" (SubCategories) have changed. The "genres" (Category) ONLY saves the 1st genre and the rest are placed in "subgenres" (SubCategories) (#35#, #36#) 4) Added: When search doesn't find any titles then it shows a directlink to the script's thread in the forum so it's easier to report any problem or bugs.
"[IMDB.COM] - (Adjustable_Script-Full_Import_'Default')_FreaKBrother_23.Dec.2004.txt" 1) Fixed: "Comments" weren't taken.
"[IMDB.COM] - (Adjustable_Script-Full_Import_'Default')_FreaKBrother_22.Dec.2004.txt" 1) Fixed: Titlesearch wasn't working because iMDB has changed their site. 2) Fixed: "Movie ID" wasn't taken properly on some TV-series which also affected some other functions. 3) Fixed: Solved a problem that occured when there wasn't any information about photographers. It still worked but not like it should 4) Added: Thanks to Velibor the script now also takes information about "Awards". Thank you Velibor
Previous updates/fixes in the actorsscript: (Read the "IMPORTANT-Read_this_before_using_the_scripts.txt" file which is included in the zip to see what the earlier versions fixed.) "[IMDB.COM] - (Actor_Import_Second_G)_FreaKBrother_03.Sep.2004.txt" 1) Added: Option to not show all the people found in the "actorslist" if there are "Exact matches" found. (variable #33#). I've noticed that if you use the "take iMDB name" setting in the moviescript then it always lists the right person among the "Exact matches" (probably the same even if you haven't used that setting but have imported from iMDB). I recommend that you set it to "Enabled" if you are using the "take iMDB name" in the moviescript or if you are sure about the spelling of the name since the rest of the "hits" will be distracting, useless and slow the script down. If you are using the "take iMDB name" in the moviescript also change the #WEBQUERY# string in the begining of the script to not get 50 matches but only 1 (it will still always show all "exact matches"): Before: #WEBQUERY#=http://www.imdb.com/find?nm=on;mx=50;q=#NAME# After: #WEBQUERY#=http://www.imdb.com/find?nm=on;mx=1;q=#NAME# It reduces the size of the search page that XMM has to download from about 26kB to 14kB.
"[IMDB.COM] - (Actor_Import_Second_G)_FreaKBrother_31.Aug.2004.txt" 1) Fixed: If only country was mentioned as birthplace then "Birthplace" and "Country" was not taken.
Moviescript information.
The default settings import the following: All actors/actresses and the "characters" name that they play. It puts directors and actors/actresses into the "actors DB". Takes 1 country. Takes 1 language. Takes all movie posters. Takes all genres. Takes 1 subgenre. Takes "Awards" information.
This is what you can change (at the moment): The numbers #31# etc. is the number of the variable that controls that option.
1) #31# Web address for iMDB that is used by the script when it collects the information. 2) #32# Set the number of actors you want the script to take. 3) #33# If you want the "iMDB name" of actors and directors. Like this "Stephen Fisher (I)". Good for those who adds all actors and directors to the "Actors DB" and want to import information about them from iMDB. Because if you don't enable the "iMDB name" then it will save the actor "Stephen Fisher (I)" as "Stephen Fisher" in the database and when you have a movie with "Stephen Fisher (II)" he won't be added since "Stephen Fisher" already exists. Be aware that it makes the script slower since it has to open every actors/directors webpage to find the "iMDB name". 4) #34# If you want the "iMDB name" of producers, writers, photographer, musicians. Like this "Stephen Fisher (I)". 5) #35# Specify the maximum amount of "Genres" (Categories) the script should take or take all available. 6) #36# Specify the maximum amount of "SubGenres" (SubCategories) the script should take or take all available. 7) #39# Specify if you want only the first "Country" or all of them. 8) #40# Specify if you want only the first "Language" or all of them. 9) #42# If you want to take the characters name that the actors play together with actors name and put in the "starring field". Like this "Woody Allen (Alvy Singer) | Stephen Fisher (Bubba)" or "Woody Allen | Stephen Fisher" 10) #43# If you want to add all the producers, writers, photographers, musicians to the "actors database" or not. 11) #44# To include year in the original title. Like this "King Cobra (1999)" 12) #45# If you want to take "Awards" information or not. (Thanks to Velibor.)
This is how you change the options in the script: IMPORTANT! Only use NOTEPAD to edit the script. If you use any other editor then the script might not work as it should. So if you have used another program to edit the options in the script and it doesn't work then download the script again and use Notepad to change the options. Open the script file with Notepad and scroll down a little bit to the #RIGHTPAGEFOUND# section. This is where the settings are found.
--RIGHT PAGE-----------------------------------------------------------
#RIGHTPAGEFOUND#
// set all variables
// variable for comparing, always keep at 0
#PUT#=0#00#
Now there are a few of these that should not be changed since the script needs them set at a certain value for example the first ones in the list #00#-#04# and also #38# and #41#. Scroll down a little bit further to the variables #30#-#45#. This is where your different options are. I'll give you an example of how you change the option that the script should only take the actors name and not the characters name that he/she played. Scroll down to variable number 42 (#42#).
// #42# = Take the characters name that the actors play together with actors name.
// Like this "Woody Allen (Alvy Singer)".
// "Enable" = 1
// "Disable" = 0
#PUT#=1#42# Change the number 1 (Enable) on this line: #PUT#=1#42# to 0 (disable) so it looks like this: #PUT#=0#42# And now save the file with your changes and your are all set
Using the script for updating: If you have used another site (not iMDB) to import information before and want to run an update then import the information like you usually do with the regular "title search".
If you have already imported information from iMDB and want to use this script for updating then I recommend that you use update mode 3 because it will be faster than a normal "title search" import. A great time saver is that it will not be necessary for you to select movies in the titles list This only works if you have imported from iMDB earlier and that the movie has a Web ID (Site ID) from iMDB.
First you have to make sure that the movies have been imported earlier with a iMDBscript. You can do this by using a filter which will hide the movies which haven't been imported from iMDB. (Below the movielist is where you find the filters.) 1) Enter: "imdb" (leave out the quotation marks) in the first filter which is called "Find:". 2) Click the "More Sorting options" button (the one with the triangle) to the right of "Find:". 3) In the "Find..." window change the "Choose Filed In Quick" from "Title" to "ScriptUsed". 4) Click the "Search!" button. Now the movielist only shows the movies that have been imported with a iMDBscript.
Now continue and enable update mode 3. 5) Open up the "Import" window (the WWW button). 6) Select the "Engine Configuration" tab. 7) Check the "UPDATE MODE 3" box at the bottom and make sure that "Use WEB ID to query web-site" is selected. 8) Also check the "Don't Care About Page Not Found And Continue" box otherwise it will stop and wait for user input if the movie isn't found. This shouldn't happen if the movie has been imported properly from iMDB before but enable it just in case. 9) Click "Apply Changes".
Now select the movies and the moviescript. 10) If you want to update all the movies in the list then right-click on one of the movies and choose "Select All". 11) Change back to the "Normal" tab and if the iMDB script is your default script then you can now click the "Import Movies with Default Script" button. If it's not your default script then you have to select it from the list and click "Import Movies with Selected Script" instead. (If you want you can make it your default script by clicking on the "Default" button when you have selected the iMDB script in the list )
Problems or errors with the script? If you notice any problems, errors etc. please post a message here in the Scripts section of the forum. Please include as much information as possible such as: Error message (if there are any). The name of the movie and url (web address) you tried to import information from. (Since sometimes there are several movies with the same name )
If you make changes to the script then please share it with the rest of us either by posting in the forum or by making a new improved script and sending it to Alessio Viti.
If you fix/change something then write a few notes about what you fixed and include in the zip file. Why? Because sometimes people make modifications just for themselves and if you write what you fixed then they can look at your code and take only the part that's changed/fixed instead of going thru all the code line by line.
Please feel free to make modifications to the script but make sure you share it with the rest of us
All the best FreaKBrother
|
Edited by - FreaKBrother on 06 Jan 2005 22:49:33 |
|
|
antwalsh
Starting Member
24 Posts |
Posted - 13 Aug 2004 : 21:38:03
|
Some excellent changes made here especially the changes to the actors. I didn't have to go once to IMDB to check which "Joe Smith" was the one in my film. Thanks.
I came upon a few errors though.
First, in 2 out of 3 films that I used the script with the film name was put into the Directors spot. These films were Good bye, Lenin! ( http://us.imdb.com/title/tt0301357/ ) and Red Beard (http://us.imdb.com/title/tt0301357/)
I also got the following error message twice during the download. I presume it was with those 2 movies above and related to the misplacing of the directos.
"Error on Script Expression:#OPENNEWWEB#, The Poster Image isn't valid! Line:378"
Hope I've included enough info. |
|
|
FreaKBrother
New Member
97 Posts |
Posted - 14 Aug 2004 : 00:03:34
|
@antwalsh Yes you are right, there is a problem with the directors... The error message you get has to do with the directors not being taken like they should.
The information you gave made it easy for me to see what was wrong I've fixed the problem and I'm sending it to Alessio so it shouldn't be long before it's up. The new filename for the scriptfile is: "[IMDB.COM] - (Full Imp-All Actors Full_name-All Genres)_FreaKBrother_12.Aug.2004.txt"
Thank you for posting about the problem |
|
|
antwalsh
Starting Member
24 Posts |
Posted - 14 Aug 2004 : 02:58:28
|
I updated EMM after my last post and then I tested Red Beard again. It worked perfectly. But then I realised that the update had over written my changes to your script. So I made my changes again and I got the same error message and the director misplaced again.
The changes I made were to:
#32# = The number of actors you want the script to take. - I put this to 8
#33# = Take the "iMDB name" of actors and directors. - I enabled this.
#34# = Take the "iMDB name" of producers, writers, photographer, musicians. - I enabled this
So the error must be related to these changes. |
|
|
FreaKBrother
New Member
97 Posts |
Posted - 14 Aug 2004 : 03:50:47
|
Well the problem started in the directors part if it was set to take the "iMDB name" for the directors. I've rewritten the directors part now. I've sent the new updated zip file to Valessio and it should be up here tomorrow But if you want to try the changes I made, try this code and post back here and let me know how it worked out
EDIT: Removed the updated directors code since it's included in the new zip file. Check my first post for the link to the new script |
Edited by - FreaKBrother on 14 Aug 2004 18:38:54 |
|
|
antwalsh
Starting Member
24 Posts |
Posted - 16 Aug 2004 : 13:23:12
|
Maybe it's just my computer but when I try to download the new script all I get is a gif file and when I go to your website I get the same. The gif is the logo for "100% Free Web Hosting". |
|
|
FreaKBrother
New Member
97 Posts |
Posted - 16 Aug 2004 : 13:32:12
|
quote: Originally posted by antwalsh
Maybe it's just my computer but when I try to download the new script all I get is a gif file and when I go to your website I get the same. The gif is the logo for "100% Free Web Hosting".
I know that you get that page if you click on this link: http://freakbrother.100free.com/IMDBPack_15.Aug.2004.zip But for that link you MUST right click on the link and choose "save as".
Do you get the gif logo when you go to this page http://freakbrother.100free.com |
|
|
antwalsh
Starting Member
24 Posts |
Posted - 16 Aug 2004 : 22:03:27
|
I've worked out what was wrong. I use Opera as my browser and I still only get the gif file using that. I decided to try Internet Explorer and that lets me download the zip file. I have no idea why Opera is doing this or how to fix it. I'm presuming it's the way my Opera is set up but I've never seen this before. Thanks for your patience. |
|
|
FreaKBrother
New Member
97 Posts |
Posted - 17 Aug 2004 : 11:05:26
|
Strange that it didn't work to download with Opera. I've tried a few different webspaces but they don't allow "hotlinking" Can anybody recommend free webspace that allows directlinking to files? |
|
|
ten6ten15
Starting Member
2 Posts |
Posted - 10 Sep 2004 : 01:03:48
|
I can't get extreme movie manager to download covers off of imdb.com script what do I do. |
|
|
FreaKBrother
New Member
97 Posts |
Posted - 10 Sep 2004 : 13:45:50
|
First check to see if the folder where the script should save the covers exists.
Under the "Tools" menu select "Configuration..." and on the "Directories" tab you will find the the path for where it is trying to save the covers. If you installed eXtreme Movie Manager to "C:\Program Files\eXtreme Movie Manager" then it should be changed to this: "Cover Directory" = C:\Program Files\eXtreme Movie Manager\Covers and "Photo Directory" = C:\Program Files\eXtreme Movie Manager\Photos Now try again and see if it works
Did it work? If not, has it ever worked for you to download covers? Do you get any error messages? Do other scripts work but not iMDB.COM? |
|
|
donnyj
Junior Member
USA
138 Posts |
Posted - 29 Oct 2004 : 18:57:46
|
Error found (major)
I am BRAND NEW... anyways, after SEVERAL HOURS, I tracked down the error...
In movies such as "15 Minutes (2001)" http://www.imdb.com/title/tt0179626/ there is a link to another movie. Well half-way through the script, it switches to the second movie....
So I get a plot and pictures from both....
Thanks
|
|
|
FreaKBrother
New Member
97 Posts |
Posted - 29 Oct 2004 : 21:38:39
|
I tried to import the movie "15 Minutes (2001)" http://www.imdb.com/title/tt0179626/ and I didn't have any problems?
A few questions: 1) Are you using the latest moviescript "[IMDB.COM] - (Adjustable_Script-Full_Import_'Default')_FreaKBrother_27.Aug.2004.txt"? If you're using an older one then get the latest script and try again. You'll find it here: http://freakbrother.100free.com 2) Have you changed any of the settings in the script? If you have what are your settings? 3) You said that you got information, covers etc. for another movie. What's the name/address of the "other" movie?
|
|
|
donnyj
Junior Member
USA
138 Posts |
Posted - 30 Oct 2004 : 06:41:23
|
Yes, Newest Script, no no chages, I get information mixed up from 15 minutes and Taxi...
It is pulling information from this line and mixing in that movies information: "Trivia: The scene where Eddie ('Robert DeNiro') practices proposing in the mirror is a parody of DeNiro's "You talking to me?" scene from Taxi Driver (1976). "
I get 3 pictures from Taxi and 3 from 15 Minutes
Also, this plot is from Taxi: "A New York City taxi driver violently and brutally lashes out at the scum of society after encounters with several diverse individuals, including a beautiful campaign worker, an underage hooker, a murderous pimp, and a presidential candidate. Disrguntled war vet and cabbie Travis Bickle (DeNiro), a lonely man obsessed with pornography and violence. As events in Travis' life begin to turn for the worse, he slowly descends into the depths of his own paranoia, driving away the one woman willin to love him, eventually exploding in an orgy of killing against the "scum" of the streets he hates so intensely. Vietnam vet Travis Bickle is 26, a loner in the mean streets of New York City, slipping slowly into isolation and violent misanthropy. In solving his insomnia by driving a yellow cab on the night shift, he grows increasingly disgusted by the low-lifes that hang out at night: "Someday a real rain will come and wash all the scum off the streets." His touching attempts to woo Betsy, a Senator's campaign worker, turn sour when he takes her to a porn movie on their first date. He even fails in his attempt to persuade child prostitute Iris to desert her pimp and return to her parents and school. Driven to the edge by powerlessness, he buys four handguns and sets out to assassinate the Senator, heading for the infamy of a `lone crazed gunman'... "
quote: Originally posted by FreaKBrother
I tried to import the movie "15 Minutes (2001)" http://www.imdb.com/title/tt0179626/ and I didn't have any problems?
A few questions: 1) Are you using the latest moviescript "[IMDB.COM] - (Adjustable_Script-Full_Import_'Default')_FreaKBrother_27.Aug.2004.txt"? If you're using an older one then get the latest script and try again. You'll find it here: http://freakbrother.100free.com 2) Have you changed any of the settings in the script? If you have what are your settings? 3) You said that you got information, covers etc. for another movie. What's the name/address of the "other" movie?
|
|
|
donnyj
Junior Member
USA
138 Posts |
Posted - 30 Oct 2004 : 08:47:31
|
Found and fixed the problem
If you replace all occurences of:
#IF# #38#==#00# // and the "Site ID" (MovieID) #STARTREADWEB# #FINDLINE#=/tt#15##ONERROR#=*STOP* #FIND#=/tt#11# #ONERROR#=*STOP* #COMPUTECURSOR#=+2 #PUTCURSOR#=#11# #FIND#=/#12# #ONERROR#=*STOP* // save the "Site ID" (MovieID) #TAKEWORD#=#38#,#11#,#12# #ENDIF#
and replace with:
#IF# #38#==#00# // and the "Site ID" (MovieID) #STARTREADWEB# #FINDLINE#=<a name="voteform">#15##ONERROR#=*STOP* #FIND#=<form action="/Vote" method="post"><select name="#11##ONERROR#=*STOP* #COMPUTECURSOR#=+48 #PUTCURSOR#=#11# #FIND#=">#12##ONERROR#=*STOP* // save the "Site ID" (MovieID) #TAKEWORD#=#38#,#11#,#12# #ENDIF#
It works properly
Keep in mind that I have 18 hours of usage for EMM, so flame nicely =]
Thanks
|
|
|
FreaKBrother
New Member
97 Posts |
Posted - 30 Oct 2004 : 14:17:31
|
I'm glad that you were able to find a way to make it work
I been pulling my hair out trying to get the same error as you but I haven't been able to I want to try to find out the reason why it happened to you and not me since it might be some other problem in the script that causes this to happen.
If you don't mind could you tell me: 1) Are you doing a "normal" titlesearch in which you get to pick the right movie in a list or are you using any of the "Update modes" 1-3 on the "Engine Configuration" tab? 2) What options are selected on the "Engine Configuration" tab? 3) Are all options selected on the "Import Configuration" tab? If not which ones aren't you using? 4) Are you running the script in a chain or by itself? If you're running it in a chain could you open your chain file (you'll find it in the subfolder "chains") and copy the text and post it here.
Thanks for your help |
|
|
donnyj
Junior Member
USA
138 Posts |
Posted - 30 Oct 2004 : 14:43:18
|
Additionaly, I addeded:
#SUBSTITUTEWORD#="="
to the #SUBSTITUTETAGS#
|
|
|
amikacin
Starting Member
1 Posts |
Posted - 30 Oct 2004 : 21:58:06
|
You made a great script. It's my favourite.
I woul only suggest one more thing: to be able to keep the year in the original title, if one wanted so. It is impossible in all the latest scripts.
Thanx for the great work. |
|
|
donnyj
Junior Member
USA
138 Posts |
Posted - 31 Oct 2004 : 08:02:43
|
Sorry, Missed your post:
>>>>>>>> I'm glad that you were able to find a way to make it work
Me too!!!
>>>>>>>> I been pulling my hair out trying to get the same error as you but I haven't been able to >>>>>>>> I want to try to find out the reason why it happened to you and not me since it might be some other problem in the >>>>>>>> script that causes this to happen.
When I looked at the webpage that it referenced, the first occurance of the string was a link to a different movie (Taxi)
>>>>>>>> If you don't mind could you tell me: >>>>>>>> 1) Are you doing a "normal" titlesearch in which you get to pick the right movie in a list >>>>>>>> or are you using any of the "Update modes" 1-3 on the "Engine Configuration" tab?
Normal, not update
>>>>>>>> 2) What options are selected on the "Engine Configuration" tab?
Nothing at all checked
>>>>>>>> 3) Are all options selected on the "Import Configuration" tab? If not which ones aren't you using?
All but import into actors
>>>>>>>> 4) Are you running the script in a chain or by itself? >>>>>>>> If you're running it in a chain could you open your chain file (you'll find it in the subfolder "chains") and copy the >>>>>>>> text and post it here.
By itself
>>>>>>>> Thanks for your help
Thank YOU!!!
|
|
|
FreaKBrother
New Member
97 Posts |
Posted - 05 Nov 2004 : 11:15:03
|
@donnyj I wasn't able to reproduce the problem but since doing it your way doesn't break the script in any way I'll change it to use your code instead
quote: Originally posted by amikacin I woul only suggest one more thing: to be able to keep the year in the original title, if one wanted so. It is impossible in all the latest scripts.
Ok I'll try to add an option for that. I'm quite busy right now but will try to have it done next week
|
|
|
Topic |
|
|