492ec91c2e
Added testing suite
2010-01-26 16:44:25 +00:00
0cafb2a8f1
Start of a simple test suite
2010-01-26 16:31:30 +00:00
41309c46b0
Fix find_files to be able to handle str and list
2010-01-26 16:31:00 +00:00
2e7c2882fa
Fix find_files to accept arrays, Output the names of skipped files
2010-01-26 15:50:45 +00:00
3422dd401d
More pylint cleanups
2010-01-26 15:47:41 +00:00
930d3bb958
Refactor find_files to use os.walk instead.
2010-01-26 14:09:09 +00:00
777853bd86
pylint cleanup
2010-01-26 14:05:58 +00:00
7f108e80eb
Further PEP8 work.
2010-01-26 13:36:11 +00:00
47c58a18de
Added pep8 tool
2010-01-26 13:27:03 +00:00
13eed737dd
PEP8 work, cleanup
2010-01-26 13:20:35 +00:00
18f8e298fd
Convert to use logging instead of print, allows for more control.
2010-01-26 13:04:40 +00:00
d66811c415
Update setuptools script to reflect changes to class
2010-01-26 12:50:43 +00:00
5fa4699f98
Remove unneeded config file
2010-01-26 12:49:50 +00:00
Andrew Williams
3e9de23e1a
Wrap functions in a class.
2010-01-26 12:47:31 +00:00
de71407c19
Added options to specify custom config and verbosity.
2010-01-26 12:30:52 +00:00
048b7747d4
Fixed regex errors.
2010-01-26 12:08:30 +00:00
1041accd0d
Now uses seperate config file to read regex and options.
...
Instead of using a defined python file with the regex details, it
now brings in and parses a config file using ConfigParser. This
allows for some flexability in regards to modifying regexs.
2010-01-26 11:57:07 +00:00
ebbdb3917a
Removed unused or unneeded chunks of code and comments
2010-01-26 10:55:09 +00:00
4d4ef08ef7
Reorganised files, changed tagging to tvorganise. Start of fork.
2010-01-26 10:51:04 +00:00
f18d5aca10
Use rename and fix minor issues
2010-01-22 11:42:52 +00:00
90033e4169
Use shutil.rename if on the same filesystem (move makes a copy first).
...
Suggested by the Python 2.6.4 documentation:
http://docs.python.org/library/shutil.html
2010-01-21 09:38:35 +00:00
dbr
124b442709
Move config into main(), moved filename_config import next to other imports
2008-12-29 17:18:53 +10:30
dbr
b925d8a709
Added inital setup.py file
2008-12-29 17:01:09 +10:30
dbr
b45386ead1
Moved finding files into find_files function
2008-12-29 17:00:50 +10:30
dbr
eac58ad04a
PEP8'ing
2008-12-29 17:00:24 +10:30
dbr
113853a2fd
Reoved unused import re
2008-12-29 17:00:14 +10:30
dbr
1212b284ad
Output full path of errored files
2008-11-08 19:45:02 +10:30
dbr
a9a728d354
Correctly decrappify filenames (removing .DS_Store and so on from checks)
2008-11-08 19:38:30 +10:30
dbr
a72762de3c
Allow ./season 2 [720p]/ path
2008-11-08 18:49:33 +10:30
dbr
8f421444fd
Get full path to file, rather than a realtive one. Decrappify files in less roundabout and problem-causing way (used to split dir/file name, then rejoin the filenames to the location, which breaks if there is sub-directories)
2008-11-08 18:49:13 +10:30
dbr
c167891821
Use shared regex configs
2008-11-08 18:21:56 +10:30
dbr
9eea05a709
Shared regex configuration
2008-11-08 18:21:42 +10:30
dbr
fbd52804b9
Fix progress bar being overwritten with next print statement, remove debug printing of confirmation answer
2008-11-08 17:57:59 +10:30
dbr
96615bd984
Added ! to valid characters
2008-11-08 17:57:03 +10:30
dbr
1be8f4445f
Tidy up progress bar display code
2008-11-08 17:48:23 +10:30
dbr
2f07fa10e2
Added --always option (when used, will not prompt y/n before copying)
2008-11-08 17:37:36 +10:30
dbr
28340f80c5
Added progress bar to file copy
2008-11-08 17:27:34 +10:30
dbr
fd6b0505ac
Fixed typo in info message, fixed file moving and error handling
2008-11-01 15:07:02 +10:30
dbr
6b97c26b36
Check if file is on same partition, if so move it, if not copy it.
2008-11-01 15:02:09 +10:30
dbr
d0663047a8
made autoPathTV executable
2008-10-20 19:14:46 +10:30
dbr
606173bdf8
Removed path.py (used by old checkTvEps.py)
2008-10-20 19:14:37 +10:30
dbr
202bf952db
Tiny visual change to error heading (has trailing # in title block)
2008-10-20 19:12:33 +10:30
dbr
7413b4c125
Moved 2checkTvEps to checkTvEps as it is now better than checkTvEps
2008-10-20 19:12:02 +10:30
dbr
2f6c3d0e5d
Removed checkTvEps
2008-10-20 19:09:50 +10:30
dbr
40cf5b8d4f
Sort shownames and season numbers
2008-10-20 19:06:18 +10:30
dbr
9ecc610b0f
Change target disc for autoPathTV
2008-10-20 19:06:06 +10:30
dbr
5aacfc6059
Added ignore for OS X Folder Icon
2008-10-20 19:05:49 +10:30
dbr
eff6fb2e07
Allow # in filenames
2008-10-20 19:05:10 +10:30
dbr
8a6dc68ad6
Slight change to valid path regexs
2008-08-09 16:50:58 +01:00
dbr
ab41906965
Added script to automatically move properly named files into the correct location
2008-08-09 16:50:26 +01:00