Giter Site home page Giter Site logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 12, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 12, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 12, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 12, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 12, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 12, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 12, 2024
[deleted comment]

from periscope.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 12, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.