Opened 12 years ago

Closed 12 years ago

#3609 closed defect (fixed)

imdbpy.py title regexp slightly broken

Reported by: David Asher <david.asher@…> Owned by: Anduin Withers
Priority: minor Milestone: unknown
Component: mythvideo Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When imdbpy.py is parsing a title of a TV series which ends in "s" the regexp loses the trailing "s". So a search for "Heroes 1x01.avi" looks for "Heroe" instead of "Heroes" causing it to find "The Greatest American Hero" instead of the correct episode.

This patch fixes that.

Attachments (2)

imdbpy.patch (542 bytes) - added by David Asher <david.asher@…> 12 years ago.
fix regexp for series ending in "s"
imdbpy.2.patch (588 bytes) - added by David Asher <david.asher@…> 12 years ago.
oops... I didn't use svn to make the diff the first time.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by David Asher <david.asher@…>

Attachment: imdbpy.patch added

fix regexp for series ending in "s"

Changed 12 years ago by David Asher <david.asher@…>

Attachment: imdbpy.2.patch added

oops... I didn't use svn to make the diff the first time.

comment:1 Changed 12 years ago by Anduin Withers

Resolution: fixed
Status: newclosed

(In [13730]) Closes #3609

Applying patch from David Asher to fix regex title matching to retain trailing 's'.

Note: See TracTickets for help on using tickets.