Open m42e opened 9 years ago
Cool, thanks!
A few small things:
filenames = [filename, fullname]
etc would be good, as it was momentarily confusing why the code was like that (also, pedantically, the variables are a bit similar - filename
, fullname
, filenames
, then filename
is reused for the loop)test_functional.py
) - I guess the cases which should be tested are:
tvnamer /path/to/my show/season 1/03 - example.avi
tvnamer ./03 - example.avi
(i.e does it run abspath
on the path before parsing?)Thoughts? I'm happy to make the changes if you don't have time
Hi,
I'm currently into it. Give me a few more days and I clean it up.
See http://dbr.lighthouseapp.com/projects/36049/tickets/9-episode-patterns-that-match-against-path