Changeset 1876

Show
Ignore:
Timestamp:
10/11/08 20:37:07 (2 months ago)
Author:
duncan
svm:headrev:

cc3e1ea1-1e01-0410-8d68-8b121e83a9d5:11158
Message:

[ 2089598 ] update for appletrailers
Another patch (3) from Pierre Ossman applied

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • freevo/src/video/plugins/applelib.py

    r1839 r1876  
    4141        ( 'home/feeds/exclusive.json', 'Exclusive' ), 
    4242        ( 'home/feeds/just_hd.json', 'HD' ), 
    43         ( 'home/feeds/upcoming.json', 'Featured' ), 
    4443        ( 'home/feeds/most_pop.json', 'Most Popular' ), 
    4544        ( 'home/feeds/genres.json', None ), 
     
    6261        re.compile(r'''<param[^>]*name="src"[^>]*value="(?P<url>[^"]*)"[^>]*>''', re.IGNORECASE), 
    6362        re.compile(r'''XHTML[(]([^)]*\'href\',)?\'(?P<url>[^\']*)\'''', re.IGNORECASE), 
    64         re.compile(r'''\'(?P<url>http[^\']*mov)\'''', re.IGNORECASE), 
    65         re.compile(r'''<a[^>]+href="(?P<url>http[^\"]*.mov)\?width=[0-9]+&amp;height=[0-9]+"[^>]*>''', re.IGNORECASE) 
     63        re.compile(r'''\'(?P<url>http[^\']*.mov)\'''', re.IGNORECASE), 
     64        re.compile(r'''"(?P<url>http[^"]*.mov)"''', re.IGNORECASE), 
     65        re.compile(r'''<a[^>]+href="(?P<url>http[^"]*.mov)\?width=[0-9]+&amp;height=[0-9]+"[^>]*>''', re.IGNORECASE) 
    6666        ) 
    6767# Stream exclude regexps 
     
    6969        re.compile(r'''trailers/images.*btn''', re.IGNORECASE), 
    7070        ) 
    71  
    72 # Old regexps 
    73 #       re.compile(r'''XHTML[(]\'(?P<url>[^\']*)\'''', re.IGNORECASE) 
    7471 
    7572# Stream URLs in script based pages