164
« on: November 12, 2009, 02:32:09 am »
Hi again,
Since the IMDB changes that broke the IMDB People plugin, I've noticed other odd behavior from the plugin besides that which has been mentioned previously.
I've been using IMDB to import filmographies for all the people in my database for a long time now. But recently, when I run the plugin on a person who already has a filmography (with the option "Merge filmographies" checked in Preferences) in order to update them, the plugin creates a duplicate entry in the filmography for a few movies; the titles, original titles, and release years all match exactly, too. Usually these movies are not in my master Movies list, so as an experiment I've clicked on them in People view to make them visible in Movies view. And I've found that of the two identical movies, one has a correctly-formatted IMDB URL ... but the other has a bizzare, malformed URL with some extra stuff tacked onto the end, something like this:
http://imdb.com/title/tt0076759/" onclick="(new Image()).src='/rg/filmo/title-title/images/b.gif'
What's more, the two movie entries often have lists of actors associated with them, but different lists (some people present in one are missing from the other).
Also, I've been occasionally finding Movie View entries (for movies I've actively added to my database) with similarly-malformed IMDB URLs in their URL fields... in addition to a correctly formatted IMDB URL!
In further testing, after clicking the duplicates in the Person filmography to make them both visible in Movies view, I then CTRL-Delete them both, to completely remove them from the database... then switch back to People view, run the IMDB People plugin import again, re-adding the movie to the filmography... and click on it to view it in Movies view. Lo and behold, the URL is correct!
So now, I'm wondering whether the "old" filmography entries (the ones existing prior to my recent attempts at updating them, not the new duplicates) actually had malformed URLs all along, and I simply didn't know about it because they were hidden in Movies view? And maybe at some point the IMDB plugin was malfunctioning, or simply receiving bad data from IMDB itself???
I don't know how the malformed URLs were getting into my "real" Movie View entries (the ones I added myself, not clicked on in People View)... unless, maybe, the IMDB People plugin was at some point trying to merge imported filmographies, saw an existing Movie entry, and added the malformed URL to it (even though it already had an IMDB URL associated with it) rather than creating a duplicate movie record? Bizzare...
Aim(my brain hurts)here