Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 283689 Details for
Bug 379621
net-misc/pytvshows does not work any more because ezrss.it is down
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Improved regular expression for season and episode detection
pytvshows-0.2-improved-re.patch (text/plain), 675 bytes, created by
Sumant Oemrawsingh
on 2011-08-17 21:41:42 UTC
(
hide
)
Description:
Improved regular expression for season and episode detection
Filename:
MIME Type:
Creator:
Sumant Oemrawsingh
Created:
2011-08-17 21:41:42 UTC
Size:
675 bytes
patch
obsolete
>Improved regular expression for matching season and episode; see >http://sourceforge.net/tracker/index.php?func=detail&aid=2818315&group_id=203642&atid=986413 > >--- pytvshows.orig 2011-08-17 23:20:16.000000000 +0200 >+++ pytvshows 2011-08-17 23:22:30.000000000 +0200 >@@ -346,7 +346,8 @@ > if self.feedurl: > for episode in self.rss['entries']: > if self.show_type == 'seasonepisode': >- r = re.compile('S([0-9]+)E([0-9]+)') >+ #r = re.compile('S([0-9]+)E([0-9]+)') >+ r = re.compile(r'\bS?([0-9]{1,2})\s*(?:E|x)?\s*([0-9]{1,2})\b') > match = r.search( episode.title ) > season_num = int(match.group(1)) > episode_num = int(match.group(2))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 379621
:
283687
| 283689 |
283691