Commit Graph

  • b13f4e4624 Create README.md master Andrew Williams 2014-03-28 13:05:10 +00:00
  • 20eb14192f Fixed regex parser to identify shows without epnames Andrew Williams 2010-02-01 10:50:21 +00:00
  • 8d26a1a273 Added further tests, PEP8 cleanup Andrew Williams 2010-01-30 10:21:25 +00:00
  • d6a3a2878e Config() now loads in defaults if no file is specified Andrew Williams 2010-01-30 10:00:12 +00:00
  • f79b771a38 Moved config parsing out to a custom dict, in prep to handle defaults Andrew Williams 2010-01-29 12:03:48 +00:00
  • 02f8c15d2b Breaking down tvorganise.py into modular parts Andrew Williams 2010-01-29 11:22:22 +00:00
  • f0adef9157 PEP8 cleanup. Andrew Williams 2010-01-29 09:03:26 +00:00
  • 3cf20807a2 Use expanduser instead of depending on ENV to be setup correctly. Andrew Williams 2010-01-29 08:58:02 +00:00
  • 268f829b64 Now attempts to locate config files in common locations (~ and /etc) Andrew Williams 2010-01-29 08:53:56 +00:00
  • d9cfec6b89 Merge branch 'master' of ssh://git.tensixtyone.com/code/tvorganise Andrew Williams 2010-01-29 08:51:11 +00:00
  • 44b843d9d6 Added simple config parser test Andrew Williams 2010-01-29 08:49:15 +00:00
  • 0106d75d25 Fixed logger lines Andrew Williams 2010-01-29 08:40:58 +00:00
  • f7a79851a1 Cleaned up logging output Andrew Williams 2010-01-27 11:00:19 +00:00
  • ac39b7d2b0 Removed unneeded test runner Andrew Williams 2010-01-27 10:36:48 +00:00
  • 71623e0d8b Fix logger issues, renamed path formatting names Andrew Williams 2010-01-27 10:33:45 +00:00
  • 162a9ef522 Fixed startup for console_script Andrew Williams 2010-01-26 17:34:56 +00:00
  • 03824fee6e Fixed console command init Andrew Williams 2010-01-26 17:26:48 +00:00
  • ee174ffa53 Updated more build files Andrew Williams 2010-01-26 17:23:40 +00:00
  • 866a5e6ca3 Reorganised tests Andrew Williams 2010-01-26 17:18:00 +00:00
  • 469021f596 Added dist to clean Andrew Williams 2010-01-26 17:08:48 +00:00
  • 23019ab3fa Reorganised the file structure Andrew Williams 2010-01-26 17:07:58 +00:00
  • 539d6b16f4 Updated missed files and added more rules to the clean Andrew Williams 2010-01-26 17:02:41 +00:00
  • 5b02515621 Added debian packaging files and related ignores Andrew Williams 2010-01-26 17:00:02 +00:00
  • 8228d476db Renamed test suite file Andrew Williams 2010-01-26 16:46:27 +00:00
  • 492ec91c2e Added testing suite Andrew Williams 2010-01-26 16:44:25 +00:00
  • 0cafb2a8f1 Start of a simple test suite Andrew Williams 2010-01-26 16:31:30 +00:00
  • 41309c46b0 Fix find_files to be able to handle str and list Andrew Williams 2010-01-26 16:31:00 +00:00
  • 2e7c2882fa Fix find_files to accept arrays, Output the names of skipped files Andrew Williams 2010-01-26 15:49:49 +00:00
  • 3422dd401d More pylint cleanups Andrew Williams 2010-01-26 15:47:41 +00:00
  • 930d3bb958 Refactor find_files to use os.walk instead. Andrew Williams 2010-01-26 14:09:09 +00:00
  • 777853bd86 pylint cleanup Andrew Williams 2010-01-26 14:05:58 +00:00
  • 7f108e80eb Further PEP8 work. Andrew Williams 2010-01-26 13:36:11 +00:00
  • 47c58a18de Added pep8 tool Andrew Williams 2010-01-26 13:27:03 +00:00
  • 13eed737dd PEP8 work, cleanup Andrew Williams 2010-01-26 13:20:35 +00:00
  • 18f8e298fd Convert to use logging instead of print, allows for more control. Andrew Williams 2010-01-26 13:04:40 +00:00
  • d66811c415 Update setuptools script to reflect changes to class Andrew Williams 2010-01-26 12:50:43 +00:00
  • 5fa4699f98 Remove unneeded config file Andrew Williams 2010-01-26 12:49:50 +00:00
  • 3e9de23e1a Wrap functions in a class. Andrew Williams 2010-01-26 12:47:31 +00:00
  • de71407c19 Added options to specify custom config and verbosity. Andrew Williams 2010-01-26 12:30:52 +00:00
  • 048b7747d4 Fixed regex errors. Andrew Williams 2010-01-26 12:08:30 +00:00
  • 1041accd0d Now uses seperate config file to read regex and options. Andrew Williams 2010-01-26 11:57:07 +00:00
  • ebbdb3917a Removed unused or unneeded chunks of code and comments Andrew Williams 2010-01-26 10:55:09 +00:00
  • 4d4ef08ef7 Reorganised files, changed tagging to tvorganise. Start of fork. Andrew Williams 2010-01-26 10:51:04 +00:00
  • f18d5aca10 Use rename and fix minor issues Andrew Williams 2010-01-22 11:42:52 +00:00
  • 90033e4169 Use shutil.rename if on the same filesystem (move makes a copy first). Andrew Williams 2010-01-21 09:38:35 +00:00
  • 124b442709 Move config into main(), moved filename_config import next to other imports dbr 2008-12-29 17:18:53 +10:30
  • b925d8a709 Added inital setup.py file dbr 2008-12-29 17:01:09 +10:30
  • b45386ead1 Moved finding files into find_files function dbr 2008-12-29 17:00:50 +10:30
  • eac58ad04a PEP8'ing dbr 2008-12-29 17:00:24 +10:30
  • 113853a2fd Reoved unused import re dbr 2008-12-29 17:00:14 +10:30
  • 1212b284ad Output full path of errored files dbr 2008-11-08 19:45:02 +10:30
  • a9a728d354 Correctly decrappify filenames (removing .DS_Store and so on from checks) dbr 2008-11-08 19:38:30 +10:30
  • a72762de3c Allow ./season 2 [720p]/ path dbr 2008-11-08 18:49:33 +10:30
  • 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) dbr 2008-11-08 18:49:13 +10:30
  • c167891821 Use shared regex configs dbr 2008-11-08 18:21:56 +10:30
  • 9eea05a709 Shared regex configuration dbr 2008-11-08 18:21:42 +10:30
  • fbd52804b9 Fix progress bar being overwritten with next print statement, remove debug printing of confirmation answer dbr 2008-11-08 17:57:59 +10:30
  • 96615bd984 Added ! to valid characters dbr 2008-11-08 17:57:03 +10:30
  • 1be8f4445f Tidy up progress bar display code dbr 2008-11-08 17:48:23 +10:30
  • 2f07fa10e2 Added --always option (when used, will not prompt y/n before copying) dbr 2008-11-08 17:37:36 +10:30
  • 28340f80c5 Added progress bar to file copy dbr 2008-11-08 17:27:34 +10:30
  • fd6b0505ac Fixed typo in info message, fixed file moving and error handling dbr 2008-11-01 15:07:02 +10:30
  • 6b97c26b36 Check if file is on same partition, if so move it, if not copy it. dbr 2008-11-01 15:02:09 +10:30
  • d0663047a8 made autoPathTV executable dbr 2008-10-20 19:14:46 +10:30
  • 606173bdf8 Removed path.py (used by old checkTvEps.py) dbr 2008-10-20 19:14:37 +10:30
  • 202bf952db Tiny visual change to error heading (has trailing # in title block) dbr 2008-10-20 19:12:33 +10:30
  • 7413b4c125 Moved 2checkTvEps to checkTvEps as it is now better than checkTvEps dbr 2008-10-20 19:12:02 +10:30
  • 2f6c3d0e5d Removed checkTvEps dbr 2008-10-20 19:09:50 +10:30
  • 40cf5b8d4f Sort shownames and season numbers dbr 2008-10-20 19:06:18 +10:30
  • 9ecc610b0f Change target disc for autoPathTV dbr 2008-10-20 19:06:06 +10:30
  • 5aacfc6059 Added ignore for OS X Folder Icon dbr 2008-10-20 19:05:49 +10:30
  • eff6fb2e07 Allow # in filenames dbr 2008-10-20 19:05:10 +10:30
  • 8a6dc68ad6 Slight change to valid path regexs dbr 2008-08-09 16:50:58 +01:00
  • ab41906965 Added script to automatically move properly named files into the correct location dbr 2008-08-09 16:50:26 +01:00
  • 0ab75073fc Fixed same problem 2checkTvEps had - regexs didn't match until the end of the string (no trailing $) dbr 2008-07-11 02:58:20 +01:00
  • 87628e9ebf Quick messy way of parsing [01x01-02] numbers, should move to name-parsing section, not array-output-formatting dbr 2008-07-01 01:53:37 +09:30
  • 352171823d Added start-of-line and end-of-line markers to regex's, as it previously allowed "Blah - [01x02] - Valid episode name until n$%^&ow.avi" dbr 2008-07-01 01:52:56 +09:30
  • 29c2e60bbc Shows valid episodes, using ShowContainer and the other classes dbr 2008-06-30 13:04:33 +09:30
  • 6f40858821 Series of classes (ShowContainer, Show, Season, Episode) to replace the all_shows dict used previously, the __str__ output of ShowContainer returns a nicely formatted list of shows/seasons/episodes. Also added seq_display to condense list of numbers (eg, 1,2,3,4) to human-readable list (eg, 1-4) dbr 2008-06-30 13:03:14 +09:30
  • 6fad6aef87 Made regex's far more readable/maintainable (moved valid characters in episode names to config dict, instead of duplicating the character class twice per regex", added more examples of valid names) dbr 2008-06-30 13:00:46 +09:30
  • 328a1d03f1 Retabbed (to 4-space soft-tab) dbr 2008-06-30 12:56:20 +09:30
  • 2ed8fb56fe Improved output of invalid names dbr 2008-06-22 21:24:54 +09:30
  • 83b0a5f333 Added regex match-groups to valid-data-dicts dbr 2008-06-22 21:22:06 +09:30
  • 5b5b9746f1 Cleaned up whitespace dbr 2008-06-22 21:21:42 +09:30
  • 8e5b6deb95 Changed no-files-found exit code to non-zero dbr 2008-06-22 21:21:05 +09:30
  • cad3bfc3bd Fixed end for current_file comment dbr 2008-06-22 21:20:14 +09:30
  • 6460378f46 Simlar to checkTvEps, but verifies films are in the format "The Film Name [2005].avi" dbr 2008-06-02 11:39:54 +09:30
  • 7973abcadf Added 2checkTvEps - similar concept to checkTvEps but does better checks (missing epsiode names, wrong paths etc) Will obsolete checkTvEps when the output is nicer dbr 2008-06-02 11:39:05 +09:30
  • 32a92b84cb Added gitingore (hides DS_Store and pyc files) dbr 2008-04-27 21:37:35 +09:30
  • bb72e60361 Added support for multiple regexs for valid episode names, and decrappify'ing regex (to remove valid, but non-video files) dbr 2008-04-27 21:35:36 +09:30
  • 439f656236 Accidently set colours for seasons with missing episodes to the same colours as valid seasons. It is now red. dbr 2008-04-20 00:50:28 +09:30
  • c64b9fe7e3 Added support for [05x01-02] numbering dbr 2008-04-20 00:26:47 +09:30
  • ed8eb0d7da Works in a single (current shell) path, on .avi files. Only lists episodes and missing (from sequence) episode numbers dbr 2008-04-13 20:35:12 +09:30