Opened 13 years ago

Closed 13 years ago

#3672 closed defect (fixed)

Fixed runtime parsing in imdb.pl

Reported by: anonymous Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: mythvideo Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Runtime parsing used to find the first instance of the string "USA:" and try to interpret what followed as a run time. This patch fixes this behavior, restricting the match to the runtime section of the page. Additionally, this patch adds a user-editable priority list of countries to look for. This list can in the future also be used to parse other country-specific attributes.

Attachments (1)

patch_runtimes.txt (842 bytes) - added by aprotim@… 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by aprotim@…

Attachment: patch_runtimes.txt added

comment:1 Changed 13 years ago by Anduin Withers

(In [14147]) References #3672

Tighten Runtime match, try some other countries if a default/USA Runtime could not be found.

Thanks to aprotim for the patch.

comment:2 Changed 13 years ago by Anduin Withers

Resolution: fixed
Status: newclosed

(In [14168]) Closes #3672

Original commit message:

Tighten Runtime match, try some other countries if a default/USA Runtime could not be found.

Thanks to aprotim for the patch.

Note: See TracTickets for help on using tickets.