Comments (8)
can you change the following line?
self.tvshowRegex2 =
re.compile('(?P<show>.*).(?P<season>[0-9]{2})x(?P<episode>[0-9]{2}).(?P<teams>.*
)', re.IGNORECASE)
to
self.tvshowRegex2 =
re.compile('(?P<show>.*).(?P<season>[0-9]{1,2})x(?P<episode>[0-9]{1,2}).(?P<team
s>.*)', re.IGNORECASE)
Original comment by [email protected]
on 16 Aug 2010 at 3:24
from periscope.
While you are at it. Found this tidbit.
Parenthood.2010.S01E13.Lost.and.Found.HDTV.XviD-FQM.avi
doesn't work, but
Parenthood.S01E13.Lost.and.Found.HDTV.XviD-FQM.avi
does. Makes me think that detecting a trailing date and optionally removing it
might be a good policy.
Original comment by [email protected]
on 16 Aug 2010 at 3:55
from periscope.
They're all good suggestions, I'll update the code to make it more robust on
the regex-side.
Original comment by [email protected]
on 16 Aug 2010 at 7:45
- Changed state: Accepted
from periscope.
Thanks. Are you accepting direct contributions to the code? Looks like you are
the only one on the project currently?
Original comment by [email protected]
on 16 Aug 2010 at 3:55
from periscope.
Yes, I am, most people are emailing me changes though. I could give you a
committer role if you plan on making more patches.
Original comment by [email protected]
on 16 Aug 2010 at 4:01
from periscope.
let me see what other changes I'd like to make before we bother.
Thanks for the project. I like it alot. Any thoughts on integrating it with
Sick Beard? I'd love it to be integrated and will work on it. Not sure if much
will be required from your end.
Original comment by [email protected]
on 16 Aug 2010 at 5:32
from periscope.
[deleted comment]
from periscope.
Ignores year part in title if seperated by a non word character, and works with
both s##e## and ##x##
self.tvshowRegex = re.compile('(?P<show>.*?)\W(?:\d{4})?\D{1,2}(?P<season>\d{1,2})\w(?P<episode>\d{1,2}).(?P<teams>.*)', re.IGNORECASE)
tested it and it works.
I think that means that self.tvshowRegex2 is no longer needed
(deleted the old comment since pyton get upset and complained about unpacking
too much.. ? )
disclaimer: I dont know any python.. so yeah..
Original comment by [email protected]
on 17 Nov 2011 at 7:46
from periscope.
Related Issues (20)
- periscope.py immediately quits, no error HOT 3
- Periscope never finds subs on bierdopje HOT 8
- Add dot and language abbreviation after the name of the subtitle HOT 1
- Periscope does not download subtitles altough it found the releases HOT 7
- Prefer not HI over HI HOT 1
- Missing language in Addic7ed HOT 1
- Collaboration with weboob? HOT 2
- Logging not working HOT 1
- REPACK not detected? HOT 1
- Addic7ed provider: not taking the "most updated" version HOT 2
- Handling parenthesis in file names
- [patch] Get most updated subtitles in Addic7ed HOT 2
- no notification displayed when no subtitles found HOT 1
- periscope doesn't work on gvfs mounted file systems HOT 4
- [Improvement] - Output redirection ?
- addic7ed plugin broken
- Let the user order the plugins HOT 2
- Add support for "works with XXX" in Addic7ed
- Using -q doesn't work for all plugins HOT 1
- Ubuntu natty 11.04 ppa package ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from periscope.