News for hackers. Stuff that matters.
Re:MDB: IMDB data for a folder of movie files. Sort by ratin... by wingerlang on Sunday July 08, 2012 @02:41PM (#4215237)
Wouldnt this break a movie like 2012?

    #2 remove year and stuff following it
    filename = re.sub('\d\d\d\d.*', ' ', filename)
Re:MDB: IMDB data for a folder of movie files. Sort by ratin... by legaloslotr on Sunday July 08, 2012 @03:18PM (#4215338)
Yeah it totally would! Thanks for pointing this out. Btw, I am planning to use another library that has better detection rates - https://github.com/wackou/guessit