Ticket #3609: imdbpy.2.patch

File imdbpy.2.patch, 588 bytes (added by David Asher <david.asher@…>, 17 years ago)

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

  • mythvideo/mythvideo/scripts/imdbpy.py

     
    4242        "Sopranos 612"
    4343        """
    4444        regexps = [re.compile(r"((?P<title>.+?)(-)?)?(\s*)"\
    45                 "(s|(season)|\s)\s*(?P<season>\d+)"\
    46                 "\s*(e|(episode)|x)\s*(?P<episode>\d+)"),
     45                "(s|(season\s)|\s)(?P<season>\d+)"\
     46                "\s*(e|(episode\s)|x)(?P<episode>\d+)"),
    4747                re.compile(\
    4848                r"((?P<title>.+)(-)?)?\s+"\
    4949                "(?P<season>\d)(?P<episode>\d\d)(?!\d)\s*")]