#1311: Genre and Plot Outline are truncated at incorrect places with MythVideo
------------------------------------+---------------------------------------
Reporter: kochjr at rose-hulman.edu | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: 0.20
Component: mythvideo | Version: 0.19
Severity: medium |
------------------------------------+---------------------------------------
I noticed that with the most recent versions of MythVideo (.18 and .19)
the imdb.pl script was truncating incorrectly using parseBetween(). An
example of this is with IMDB id 0388795 [http://imdb.com/title/tt0388795/
Brokeback Mountain]
When the Plot Outline is parsed the script finds a link and stops reading.
So the only thing returned is:
Based on the
The rest is truncated because there is a link in the outline and the
parseBetween just looks for a link tag and not a link pointing to /rg
/title-tease/plotsummary/title/tt$movieid/plotsummary
I also found a previous bug report
http://svn.mythtv.org/trac/changeset/8543 that changed how genre was
parsed. I am not sure why it was modified to the way it is, because it now
causes a problem stemming from the same link. Using this same example the
returned genres are:
Drama,Romance,E. Annie Proulx
I know more must be scanned than is neccesary for genre, but detecting all
links doesn't seem wise. Perhaps only parsing links that are
/Sections/Genres as genres might be wiser. If I have time I will try to
modify the imdb.pl script to do this.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/1311>
MythTV <http://www.mythtv.org/>
MythTV