|
View unanswered posts | View active topics
It is currently Fri May 24, 2013 4:09 pm
imdb scripts with some extra features
| Author |
Message |
|
mediamiki
Supporting actor
Joined: Sat Jun 20, 2009 12:52 pm Posts: 84
|
 Re: imdb script with some extra features
Hi JeF,
i dont want to download the description of the film, because i have alredy my own descreption on hungarian! So i changed the "true" to "false" in the script, like under:
file: imdb_movie.pas (C:\Documents and Settings\user name\Application Data\Movienizer\Scripts) row: 1460 OptImportDesc:=false; // 20090627-JeF Import or not movie description
But the description will be downloaded, and i get the english description aftter my hungarian. Do i make wrong something? Can you help me?
thanks, mediamiki
|
| Fri Aug 28, 2009 8:21 am |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: imdb script with some extra features
Hi mediamiki, Proceeding this way, you only changed the default value which is zapped by the value imported from imdb_movie_options.ini file which is loaded just after. The best way to have the customized values you want is to : - install (if not already done) latest imdb_movie.pas v31 in scripts directory- run movienizer - run a test movie download (this will create the ini file in [Movienizer install dir]\scrtipts if it isn't already) - edit file [Movienizer install dir]\scrtipts\imdb_movie_options.ini to set your customized values - run another test movie download, this should work as you're expecting Hope this will solve your problem  (please let me know...) JeF
|
| Fri Aug 28, 2009 9:25 am |
|
 |
|
mediamiki
Supporting actor
Joined: Sat Jun 20, 2009 12:52 pm Posts: 84
|
 Re: imdb script with some extra features
Hi, JeF, super, it works!!! thanks, mediamiki
|
| Fri Aug 28, 2009 11:04 am |
|
 |
|
Vlad
Developer
Joined: Wed Jan 23, 2008 11:37 am Posts: 2498
|
 Re: imdb script with some extra features
Thank you, JeF, for keeping us up to date  . With the new version of Movienizer, it is much easier to update scripts, so I believe the theme with the latest versions will become obsolete. I will upload the newest versions to a special directory to make them available for all users.
_________________ 
|
| Mon Aug 31, 2009 7:13 am |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: imdb script with some extra features
Hello,
- Fixed undecoded characters in Awards (accentuated chars) (see first post)
JeF
|
| Thu Sep 10, 2009 4:08 pm |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: imdb script with some extra features
Hello Released v34 of imdb movie script to definitively (i hope so) fix ini file creation issues (mainly with vista), thanks to Movienizer v2.1.1 new features  as a consequence, v34 of this script must be use with Movienizer v2.1.1 and above. Important Note to All Users : with v34, ini file is now (endly) stored in the regular script directory (thanks to Movienizer v2.1.1) You'd better move/copy the previous ini file (wherever the most recent should be on your computer) to this folder before running the v34 script in order to preserve cutomized values. If you don't, you'll just have to re-set your choices in the new ini file. JeF
|
| Sat Sep 12, 2009 2:54 pm |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: imdb script with some extra features
Hello, person script v16 is just released : REQUIRES Movienizer v2.1.1 or above New features - Options file is now externalized ( [ScriptsFolder]\imdb_person_options.ini )
New options AlternateNames=false; // Add (or not) Alternate Names at bottom of biography NickNames=false; // Add (or not) Nicknames at bottom of biography ImportDesc=true; // Download (or not) Description ImportBio=true; // Download (or not) Biography
See First post for download link. JeF
|
| Sat Oct 03, 2009 9:14 am |
|
 |
|
downe
Supporting actor
Joined: Wed Mar 26, 2008 10:46 pm Posts: 86
|
 Re: imdb scripts with some extra features
This is great, thank you JeF!
I have some actors with added text on my own language in biography and description fields, so when I update that actor, I want to keep that text and this is great option to skip bio&desc field, but it is global, would be nice to have that option into movienizer for one specific actor only, or another solution is to add two scripts for people from imdb, one with true value for bio&desc fields, and one with false value, so we can choose for every actor which script we want. I hope this is possible...
|
| Mon Oct 05, 2009 7:57 am |
|
 |
|
JeF
Black Belt Squirrel
Joined: Fri Feb 20, 2009 3:34 pm Posts: 1093 Location: France
|
 Re: imdb scripts with some extra features
Hi downe, You're welcome I agree, such options should be stored in database person datas. But the problem is that person (or movie) datas from database are not visible within the download script. So even if we find a way to store options on each person, let's say in a custom field for instance, the download script couldn't access it. The other way is to create another script, but there are also limitations : - if you change the name (let's say imdb2) inside the script to keep that script selected in next movienizer start, it will think this is a new site named imdb2 and you will loose the logo in user interface an get instead a text link 'imdb2' - if you don't change the name inside script (script_name const), then the link logo will stay ok but it will take the same options because of the same ini file name - a work around could even be found (change ini file name construction) but the result will not be very easy to use... So, at the moment, i can't see a worthwhile way to get these options down to a 'card level' until database datas are visible within the download scripts... Maybe someone else should have a good idea Or... Some of these options may become Movienizer main program features in card (person/movie) update windows and not only script options anymore... (Like 'LockDesc' toggle or 'LockBio' toggle etc...) The same way, a 'LockTitle' should be interesting for movie titles which are customized not to be modified at dowload time... Such wanted features should be posted in 'Features' forum JeF
|
| Mon Oct 05, 2009 6:33 pm |
|
 |
|
downe
Supporting actor
Joined: Wed Mar 26, 2008 10:46 pm Posts: 86
|
 Re: imdb scripts with some extra features
Thanks for quick answer  This is very good idea...
|
| Mon Oct 05, 2009 8:53 pm |
|
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|