Opened 17 years ago
Closed 17 years ago
Last modified 17 years ago
#3118 closed defect (fixed)
imdb.pl patch to more consistently scrape movie runtime
Reported by: | Owned by: | Anduin Withers | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythvideo | Version: | 0.20 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
If the first attempt at determining movie runtime fails, make a second attempt to grab the runtime.
This works when the imdb site displays runtime like this:
Runtime: Argentina:99 min / Norway:55 min / USA:98 min
Prior versions will result in a runtime of zero in this instance. The attached patch looks for "USA:" and attempts to use the subsequent number to determine runtime. "USA:" was used since it was most consistently present among lists of multiple countries.
Attachments (1)
Change History (6)
Changed 17 years ago by
Attachment: | imdb.pl.runtime-fix.patch added |
---|
comment:1 Changed 17 years ago by
Component: | mythtv → mythvideo |
---|---|
Owner: | changed from Isaac Richards to Anduin Withers |
comment:2 Changed 17 years ago by
comment:3 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 17 years ago by
Note: See
TracTickets for help on using
tickets.
Here are two example movie titles:
"Why We Fight", imdb no.: 0436971, http://www.imdb.com/title/tt0436971/
"Little Man", imdb no.: 0430304, http://www.imdb.com/title/tt0430304/