Opened 15 years ago

Closed 15 years ago

#1311 closed defect (fixed)

Genre and Plot Outline are truncated at incorrect places with MythVideo

Reported by: kochjr@… Owned by: Anduin Withers
Priority: minor Milestone: 0.20
Component: mythvideo Version: 0.19
Severity: medium Keywords:
Cc: Ticket locked: no


I noticed that with the most recent versions of MythVideo? (.18 and .19) the script was truncating incorrectly using parseBetween(). An example of this is with IMDB id 0388795 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 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 script to do this.

Change History (2)

comment:1 Changed 15 years ago by Anduin Withers

Owner: changed from Isaac Richards to Anduin Withers

comment:2 Changed 15 years ago by Anduin Withers

Resolution: fixed
Status: newclosed

(In [9779]) Closes #1311.

  • Make what we accept as a genre link a little more picky.
  • Replace name links that appear in plot summaries.
Note: See TracTickets for help on using tickets.