[mythtv-commits] Ticket #395: Fix for imdb.pl script not picking up
Genres for a movie without keywords
MythTV
mythtv at cvs.mythtv.org
Thu Sep 29 17:32:01 UTC 2005
#395: Fix for imdb.pl script not picking up Genres for a movie without keywords
---------------------------------+------------------------------------------
Reporter: harywilke at yahoo.com | Owner: ijr
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythvideo | Version: head
Severity: low | ---------------------------------+------------------------------------------
I was poking around in this script when i saw that it would miss Genres
for any movie that didn't have a "(More)" link to keywords at the end of
the Genre list. For example: http://imdb.com/title/tt0390463/ would not
return any Genres. The fix entails simply changing the end criteria from
the "(More)" link to "User Comments" Class. Looking around at other
movies, I think that this is the safest point to end the seach area for
Genres. I thuoght about using Tagline wich is generaly right below Genres,
but not all movies had one, also some movies had a Plot Summery while
others had a Plot Outline so neither of those would work.
I'm no perl expert by any stretch so please double-check this. i tried it
out on about 20 differnt movies and it gave the desired return so i'm
pretty sure that it's a good fix.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/395>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list