NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) SearchWiz & MovieWiz v
« Previous 1 … 7 8 9 10 11 … 16 Next »
How does it decide if a title is a match with IMDB?

 
  • 0 Vote(s) - 0 Average
How does it decide if a title is a match with IMDB?
mymymy
Offline

Junior Member

Posts: 31
Threads: 12
Joined: Jan 2008
#1
2008-09-02, 11:29 PM
I've been playing with the plugin a little and trying to rename files so as I get a better hit ratio with IMDB. It seems that the look up is case sensitive, with "casino royale (2006)" not getting a hit but "Casino Royale (2006)" getting one. Strangely I can never get a hit with "The Matrix (1999)" even though it seems to be an exact match for the first alternative.

I'll change my files so they are correctly capitalised, but does it need to be this strict? could "casino royale (2006)" not be a match. Please Smile.

Also I am getting the crash when either I am importing or when looking up images manually the exception is below. I continued. logs attached.

Thanks

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: Unable to read data from the transport connection: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.. ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntPtr socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadToEnd()
at WizUtilities.WizWebHelper.HttpImageGrabber.ProcessHttpRequest(String targetURL)
at WizUtilities.WizWebHelper.HttpImageGrabber.processYahooRequest(String targetURL, String title)
at WizUtilities.WizWebHelper.HttpImageGrabber.processTitleRequest(ImageSource target, String title)
at WizUtilities.WizWebHelper.WizThumbnail.getShowImageHandle(String videoLoc, String title, ImageSource src)
at WizUtilities.WizWebHelper.WizThumbnail.getShowImageHandle(String videoLoc, String title, String imageSourceDescription)
at WizUtilities.WizWebHelper.WizThumbnail.getShowImageHandle(String videoLoc, String title, String[] sources)
at WizPlugin.MovieWizConfigForm.tsbLookupImage_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#2
2008-09-03, 03:20 AM
If you attempt to lookup on IMDB directly (www.imdb.com), you will see that 'casino royale (2006)' does in fact return different results than 'Casino Royale (2006)'.

That said, I've made a version that attempts to ignore case if an exact match is not made. Try copying the attached WizWebHelper.DLL to Plugins/common directory. You will have to shutdown PVRX2 AND the Recording Service to successfully make the switch.

I'm hesitant to release this version until further testing is done in case there are side-effects to this change that are not readily apparent.

As to your crash on the image lookup, I cannot seem to recreate. Please provide information as to exactly what you are doing (ie what title, what function,...) when it crashes, and provide the log files so I can attempt to determine the cause.
mymymy
Offline

Junior Member

Posts: 31
Threads: 12
Joined: Jan 2008
#3
2008-09-03, 09:06 AM
Thanks for the update JavaWiz.

If there are actually differences from the search with and without capitalisation then maybe changing the library isn't the way forward. I'll change my code tonight so that the generated titles are capitalised in the expected way. I'll test with the new version if you like, but if you are not comfortable with the changes and are concerned about the knock ons, then maybe its not a great idea. I'll test a little tonight and give you some feedback. If the changes to the capitalisation of the titles gives me as good results then the changes are probably not worth it.

As for the crash, I did attach logs and it is not consistently reproducible but happened quite regularly when trying to redo a full import or when trying to do
image lookup for missing images after changing the title after an import. It happend a few time trying to look up the image for 'The Matrix (1999)' yesterday, but seems ok on that today. Not very helpful I know. If there are other logs that you need let me know and I'll attach them. If I clicked continue on the exception notice then cancel on the import form, I am able to click import again and it seems to carry on from where it was.

Thanks for you time.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  SearchWizX2 and IMDB Information Jacob77 5 6,960 2011-01-11, 07:32 AM
Last Post: JavaWiz
  IMDB Scraping not working properly? agerdin 5 7,517 2010-12-19, 04:56 AM
Last Post: mvallevand
  Moviewiz not getting IMDB ratings. JP23 5 3,651 2010-02-23, 08:41 PM
Last Post: tbeaux
  WizMetadataGrabber - Use episode as local title rather than series/episode jwb5463 6 2,887 2010-01-09, 03:41 AM
Last Post: JavaWiz
  load movie title from folder name? fuzzweed 3 2,620 2008-04-26, 05:28 PM
Last Post: JavaWiz
  Moviewiz Request - selectable title, tagline, actors, plot order ? jksmurf 2 2,248 2008-04-26, 04:40 AM
Last Post: jksmurf
  IMDB Recommendations - Possible? rbelisle 1 2,056 2007-09-21, 01:49 AM
Last Post: JavaWiz
  IMDB Info rbelisle 3 2,882 2007-08-17, 05:07 AM
Last Post: JavaWiz
  Additional IMDB lookup agerdin 3 3,317 2007-06-16, 05:56 PM
Last Post: JavaWiz

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode