Shoutbox

[RELEASE] iMDB Script [Version: V1.4] [04/01/10] - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [RELEASE] iMDB Script [Version: V1.4] [04/01/10] (/showthread.php?tid=86575)

[RELEASE] iMDB Script [Version: V1.4] [04/01/10] by ckpro on 10-11-2008 at 05:44 PM

iMDB Script V1.4


Current Version: 1.4
Developed By: ckpro
First Release: 11/10/08
Release: 04/01/10
Script URL: http://www.msgpluslive.net/scripts/view/491-iMDB-Script/

Description

This script will allow you to search iMDB (Internet Movie Database), and retrieve the results.

Usage

/imdb "keyword" - To search iMDB.
!imdb or ~imdb "keyword" - External Trigger.
     
/imdbcast "keyword" - To get a cast list.
!imdbcast or ~imdbcast "keyword" - External Trigger.
     
/imdbname "keyword" - To search for an Actor/Actress.
!imdbname or ~imdbname "keyword" - External Trigger.
     
/imdblist "keyword" - To get a list of a Filmography for an Actor/Actress.
!imdblist or ~imdblist "keyword" - External Trigger.

/imdbid "keyword" - To search using an iMDB ID.
!imdbid or ~imdbid "keyword" - External Trigger.

To allow external usage, the option must first be enabled in the iMDB Settings menu.

/|!|~imdblist/cast Parameters
         
/imdblist "keyword" -s<start> -e<end>
     
-s<start> = Define a start point. (eg. -s10)
-e<end> = Define an end point. (eg. -e30)

Example Usage: /imdblist Tom Cruise -s10 -e20

(Check script Help -> Parameters for more information)

Options

*Allows you to choose what information to output.
*Allows you to set your own output attributes.
*Allows the script to be triggered externally.

Screenshot

[Image: iMDBScriptV14.png]

Features

[11/10/08] Version: 1.1

- /imdb, !imdb to search iMDB.

[10/11/08] Version: 1.2

- /imdbcast, !/~imdbcast to retrieve a cast list.

[04/01/09] Version: 1.3
     
- /imdbname, !/~imdbname to retrieve actor/actress information
- /imdblist, !/~imdblist to retrieve a filmography list for an actor/actress.
- /|!|~imdblist "keyword" -s<start> -e<end> to define start and/or end points of a filmography list.

[08/08/09] Version: 1.3.1

- No additional features implemented. (Bug fix only)

[04/01/10] Version: 1.4

- /imdbid, !/~imdbid to search using an iMDB ID.
- /|!|~imdbcast "keyword" -s<start> -e<end> to define start and/or end points of a cast list.

Change Log

[11/10/08] Version: 1.1

- First Release.

[10/11/08] Version: 1.2

- Added /imdbcast, !/~imdbcast search function.
- Added ~ as an alternative external trigger identifier.
  (Due to a conflict with MSN Discovery)
- Added more attributes to alter for the output.
  (Bold/Italic/Underline)
- Added a no colour option.
- Fixed a bug with the search function.
  (Not parcing correct url for some movies)
- Various gui edits.

[04/01/09] Version: 1.3

- Added /imdbname, !/~imdbname, /imdblist and !/~imdblist search functions.
  (Allows you to retrieve Actor/Actress information and a filmography)
- Parameter support for /imdblist and !/~imdblist.
  (Allows you to define a start and/or an end point for a filmography list)
- Fixed a major search function bug.
- URL search function improved.
- Added name output settings.
- Various gui edits.

[08/08/09] Version: 1.3.1

- Fixed iMDB Settings XML bug.

[04/01/10] Version: 1.4

- Added /imdbid, !/~imdbid search functions.
(Allows you to search an exact iMDB ID)
- Parameter support for /imdbcast and !/~imdbcast.
(Allows you to define a start and/or an end point for a cast list)
- Data parsing from results fixed/improved.
- Code checked/fixed for redundancy.

Plan Log

[x] = Implemented

[04/01/10] Version: 1.4

[x]*A command to return the cast list. (Suggested by: djdannyp) (V1.2)
[x]*A no colour tag option for the output. (Suggested by: Felu) (V1.2)
[x]*More attributes to alter for the output. (V1.2)

[x]*A command to return a list of films, a certain actor has done. (Suggested by: FilmingInTheDark) (V1.3)

[x]*Fixed iMDB Settings XML bug. (Solution by: JaMeSsS) (V1.3.1)

[x]*Fixed parsing errors. (V1.4)
[x]*IMDB ID searching. (V1.4)
[x]*Eliminated redundant code.. (V1.4)

Plans for the next release

TBA...

Thank you for using the script,
ckpro. :P

RE: [RELEASE] iMDB Script [Version: 1.1] [11/10/08] by prashker on 10-11-2008 at 06:10 PM

What exactly are the templates, I'm not going through 50 templates.

Which makes the Plot Keywords, URL etc etc bold, and the results normal black?

Very nice script regardless :)


RE: [RELEASE] iMDB Script [Version: 1.1] [11/10/08] by djdannyp on 10-11-2008 at 06:18 PM

Looks like a nice script......might also be nice if it could run a secondary search that was like:

/imdbcast the dark knight

to return a list of characters like this;

Christian Bale ...  Bruce Wayne / Batman
Heath Ledger ...  The Joker
Aaron Eckhart ...  Harvey Dent / Two-Face
Michael Caine ...  Alfred Pennyworth
Maggie Gyllenhaal ...  Rachel Dawes
Gary Oldman ...  James Gordon
Morgan Freeman ...  Lucius Fox


etc


RE: [RELEASE] iMDB Script [Version: 1.1] [11/10/08] by ckpro on 10-11-2008 at 06:19 PM

The numbers that you change on Template and Results are referring to a colour.

eg.
Template [ 50 ] = Light Green Colour
Results [ 7 ] = Orange Colour

(By template, I mean the Title:, Genre:..etc) :P


Thx for the idea djdannyp, I will definitely think about adding that on the next release.


RE: [RELEASE] iMDB Script [Version: 1.1] [11/10/08] by Felu on 10-11-2008 at 06:30 PM

How about an option for not having any colour tags at all?


RE: [RELEASE] iMDB Script [Version: 1.1] [11/10/08] by ckpro on 10-11-2008 at 06:44 PM

Well, then it might be difficult to distinguish between the template and the results. You can set both of the options to the colour you are using for chatting as quick hack, to simulate no colour tags (Even though the tags will still be there, it will just look it.)

If it's that important, I'll add it to the next release. :D


RE: [RELEASE] iMDB Script [Version: 1.1] [11/10/08] by prashker on 10-11-2008 at 07:20 PM

How do you make Template Bold and Colour #1 (i set it to #1) :p


RE: [RELEASE] iMDB Script [Version: 1.1] [11/10/08] by ckpro on 10-11-2008 at 07:28 PM

Currently, the Template and Results can only be altered by colour. I'll add the option to alter more attributes on the next release :P


RE: [RELEASE] iMDB Script [Version: 1.1] [11/10/08] by prashker on 10-11-2008 at 07:53 PM

Coolbeans :)


RE: [RELEASE] iMDB Script [Version: 1.2] [10/11/08] by ckpro on 11-10-2008 at 07:52 PM

iMDB Script V1.2 Released.
:P


RE: [RELEASE] iMDB Script [Version: 1.2] [10/11/08] by prashker on 11-10-2008 at 09:32 PM

(l)


RE: [RELEASE] iMDB Script [Version: 1.2] [10/11/08] by FilmingInTheDark on 11-30-2008 at 02:16 AM

Very, very cool script. :)

Is it possible at the moment (or are you working on it for the next release) to bring up a short/long list of the films a certain actor has done? Thanks.


RE: RE: [RELEASE] iMDB Script [Version: 1.2] [10/11/08] by NanoChromatic on 11-30-2008 at 01:10 PM

quote:
Originally posted by FilmingInTheDark
Very, very cool script. :)

Is it possible at the moment (or are you working on it for the next release) to bring up a short/long list of the films a certain actor has done? Thanks.

That would be good.

Nice Script :) I use it often  :D

RE: [RELEASE] iMDB Script [Version: 1.2] [10/11/08] by djdannyp on 11-30-2008 at 08:56 PM

Thanks for implementing my suggestion (Y)

A very useful script


RE: [RELEASE] iMDB Script [Version: 1.2] [10/11/08] by Quantum on 11-30-2008 at 09:12 PM

Hey,

This script is great (Y)

I have a suggestion. Would it be possible for you to add an movie bar code search ?

Thanks.


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by ckpro on 01-04-2009 at 05:41 PM

iMDB Script V1.3 Released.
:P

quote:
[04/01/09] Version: 1.3
     
- /imdbname, !/~imdbname to retrieve actor/actress information
- /imdblist, !/~imdblist to retrieve a filmography list for an actor/actress.
- /|!|~imdblist "keyword" -s<start> -e<end> to define start and/or end points of a filmography list.

RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by dukhell on 01-05-2009 at 01:21 AM

the new release have some problems.. i can't use the external commands.. not working.. and the check box to External not working, too.. and the OK button dont have.. wierd :(

[Image: xn4ztw.jpg]


i hope you can fix it! :D


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by ckpro on 01-05-2009 at 07:18 AM

Humm... it's fine on my end. Anyone else having this problem ?


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by djdannyp on 01-05-2009 at 07:25 AM

Nice update, works great for me (Y)

@dukhell: which version of Windows Live Messenger and Messenger Plus! Live are you using?


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by dukhell on 01-05-2009 at 11:35 AM

my Messenger Plus is the last version.. but my msn is 8.5. i don't like the 9.0 yet.. only me with this problem? :(


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by Virtuni on 01-16-2009 at 09:02 PM

Hey CKPro

This is a really cool script. I enjoy it alot instead of opening the IMDB site all the time. The only problem is that i cant configure it. Theres no buttons to save the changes, and my settings window is not looking at all like the ones on your screen shot.

Im running Windows Live Messenger 2009 on Vista 64Bit. Anyways, posted a pic of the settings window. Hope you can help me out in some way. At least to get the external trigger to work so my contacts can get imdb information through me.

Thanx in advance.


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by ckpro on 01-17-2009 at 10:42 AM

I'm still not quite sure why it's doing that for some people. Maybe it's because you're using Live Messenger 2009. Can you try using the script on Live Messenger 8.5, and see if the problem still occurs.

Meanwhile, I'll have a look into this problem.

//Edit: I'm not sure if this is OS related. Anyone else running Vista experiencing this problem ?


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by dukhell on 01-21-2009 at 09:41 AM

i'm using MSN 8.5 and i have the same problems... i hope you can help us... thanks you :(


RE: RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by djdannyp on 01-21-2009 at 10:12 AM

quote:
Originally posted by ckpro
I'm still not quite sure why it's doing that for some people. Maybe it's because you're using Live Messenger 2009. Can you try using the script on Live Messenger 8.5, and see if the problem still occurs.

Meanwhile, I'll have a look into this problem.

//Edit: I'm not sure if this is OS related. Anyone else running Vista experiencing this problem ?

I'm using Messenger 2009 and Vista and it shows fine for me
RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by Virtuni on 01-23-2009 at 04:08 PM

Just got an update on the script. But theres no changes when downloaded and installed from the last edition. Still no option to configure the script.


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by ckpro on 01-23-2009 at 05:35 PM

Try removing iMDB Script completely and download the version attached with this thread...


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by Virtuni on 01-23-2009 at 05:57 PM

Just tried it, still no luck. It looks the same, and still i cant do anything about anything. hehe


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by Andy_S on 02-22-2009 at 05:55 PM

I have the same problem as some other users on this board. Wont let me change any of the default settings. I am using WLM v8.1 b8.1.0178.00 and Plus v4.23.0.276 under WinXP Home SP2.

The script works fine if i trigger it myself, so its not completely borked. Tried to change some settings in the source code, and saving it, but still wouldn't apply any changes for output or external usage.

I know tried to change settings via RedEdit, and it seems to be working. Settings menu is still fubar, but the external setting has been checked. You who experience problems, go to:

Start menu > Run > regedit > enter > HKEY_CURRENT_USER > Software > Pachou > Messenger Plus! Live > GlobalSettings > Scripts > iMDB Script > Settings > <your MSN passport>

There, switch from 0 to 1, etc, on what you wanna change. This is one way to change settings, better than not to change anything at all.

Edit: Okay, external usage still wont work, but I manage to disable colors when I trigger the script myself.


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by ckpro on 02-23-2009 at 11:38 PM

Can you try the version attached with this post, and tell me if you get the same problem.


RE: RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by Andy_S on 02-24-2009 at 08:13 AM

quote:
Originally posted by ckpro
Can you try the version attached with this post, and tell me if you get the same problem.

That one worked a little bit better. I Still cannot see all options and buttons, but I am now able to change the output, removing plot/votes etc, if I wanted to. But the external usage is still not working. :/
RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by PKP88 on 08-05-2009 at 08:55 PM

Hi all.

I also had the problem with not being able to select a few options, because the boxes just weren't there.

Solution: Look at the example picture on the first page of this thread, and just 'tab' your way through the settings and hit 'space' if you want to enable something.

Worked for me with the bold option etc.

Couldn't figure out the problem with the external usage, which still doesn't work for me.


RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by ckpro on 08-06-2009 at 12:41 PM

I should have mentioned this a long time ago, I've only just realized it. Go to:

code:
Start menu > Run > regedit > enter > HKEY_CURRENT_USER > Software > Pachou > Messenger Plus! Live > GlobalSettings > Scripts > iMDB Script > Settings > <your MSN passport>

and set External to -1, to enable external usage (0 to disable).

I will re-write the gui for this script at a later time, and space everything out, to see if that solves anything.
RE: [RELEASE] iMDB Script [Version: 1.3] [04/01/09] by JaMeSsS on 08-07-2009 at 07:12 PM

The problem with some elements not being displayed is an easy one to fix..
In the iMDBSettings.xml file, which 'controls' the Settings window layout, some (the hidden) elements have a wrong setting.
Their top-setting is something like <value>.5, which isn't allowed!
Just remove the .5 everywhere and you'll be able to see all the elements! ;)


RE: [RELEASE] iMDB Script [Version: 1.3.1] [08/08/09] by ckpro on 08-08-2009 at 04:13 PM

Thanks JaMeSsS for the solution, I have re-edited the iMDBSettings.xml file.

iMDB Script V1.3.1 Released.
:P


RE: [RELEASE] iMDB Script [Version: V1.4] [04/01/10] by ckpro on 01-04-2010 at 02:28 PM

iMDB Script V1.4 Released.

[04/01/10] Version: 1.4

- Added /imdbid, !/~imdbid search functions.
(Allows you to search an exact iMDB ID)
- Parameter support for /imdbcast and !/~imdbcast.
(Allows you to define a start and/or an end point for a cast list)
- Data parsing from results fixed/improved.
- Code checked/fixed for redundancy.

:P