Patches item #1091345, was opened at 2004-12-26 15:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446897&aid=1091345&group_id=46652

Category: Freevo
Group: current
Status: Open
Resolution: None
Priority: 5
Submitted By: Are Pedersen (arepe)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for imdb lookup plugin

Initial Comment:
The imdb search has changed it's results to now
displaying the year outside the a-tag. This patch fixes
the search regex on line 172 in the
/freevo/util/fxdimdb.py file.

*****patch start****
        regexp_imdb_list_entry = re.compile(r'''
        <A[ ]HREF="/(?:Title\?|title/tt)     # match
both old and new style
        (?P<id>      \d+)/[^"]*">                  #
imdb id
        (?P<title>   .*?)</A>\s*                  #
imdb movie title
        \(
        (?P<year>    \d{4}.*?)                # year
and possibly /I, /II etc.
        \)
        ''', re.VERBOSE | re.IGNORECASE)
*****patch end****

The change is to move the a-tag up to the \s*, and add
the [^"]* to the imdb id.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=446897&aid=1091345&group_id=46652


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to