Commit Graph

54 Commits

Author SHA1 Message Date
5a6486189e Merged to updated logger name. 2018-10-17 19:59:43 +02:00
dd1f49d53b When path does not exist the user is notified and the path is added to errored_paths. Added info logs for if path is a file or directory. 2018-10-17 19:55:38 +02:00
9639b56251 Readded streamhandler to logger. 2018-10-17 19:46:46 +02:00
66f7ea3e24 Because we read subtitles from mkv containers a check for if subtitle file exists was added so not to try move a sub file within a mkv container. 2018-09-23 22:38:26 +02:00
03902eeecb Created the big move home function which will create the parent folders and move all videos and subtitles. 2018-09-23 21:36:03 +02:00
b40f0f91ef Added subtitle_path function which finds the dirpath based on video sibling and subtitle name. 2018-09-23 21:26:57 +02:00
4e055403d1 Imported re (regex lib) and fixed pathing issue when reading subtitle 2018-09-23 21:00:14 +02:00
55f435109f Added langdetect for last resort when trying to find the subtitle language. It reads the first 1000 lines of the file and guesses the locale of the text. 2018-09-23 20:37:26 +02:00
94599fd6ee Fixed merge conflict 2018-09-23 20:10:47 +02:00
abb9ddbf09 Removed unused print and fixed show path and sanity check. 2018-09-23 18:01:55 +02:00
f92a3fc2a2 Added custom logger instance to core and import in video. 2018-09-23 18:00:24 +02:00
a106a35d42 Moved checks for sufficient info in order to move series or movie to the class. Homelocation in now a class function for each movie and series class. 2018-09-23 16:29:41 +02:00
379d789adc Disbled hashing of filenames for now 2018-09-23 16:28:44 +02:00
8fab27a95f And the other conflict 2018-09-20 23:28:47 +02:00
9e80cc4d97 Mixed merge conflict. 2018-09-20 23:27:57 +02:00
4b09d6cd2c Titlecase the homepath and try except creating hash for filename. 2018-09-20 23:25:47 +02:00
916ce45fec If any error return false when picking for girlscouts 2018-09-20 23:24:17 +02:00
16afdb4cd8 Video has a new attribute home that is the optimal parent folder for this element. 2018-09-16 23:38:19 +02:00
1ff34630ac Renamed subtitle_languages to subtitles to save the subtitles and not only the subtitle languages available. 2018-09-16 23:05:09 +02:00
2108f2f25a Removed directory path from function call. 2018-09-16 23:01:49 +02:00
96ca355c50 Fixed naming error with civilian and girl. Also prints total found videos. 2018-09-16 22:26:07 +02:00
32263e3aaf Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-16 21:48:30 +02:00
5ed1019a46 Redid hash function. Hashids only supports ints and our hash text is string. Moved over to hashlib and md5 function. 2018-09-16 21:47:15 +02:00
5916843e95 Videos are picked for girl scouts and printed if become scout or remain civilian. 2018-09-16 21:45:23 +02:00
ba5011d3a4 Updated progressbars to have more info and changed from procent to absolut value when searching for videos. 2018-09-16 18:19:25 +02:00
d9880c77fb Sets hash value based on if movie or episode instance. 2018-09-16 17:27:38 +02:00
0c1b153e03 Uses click.echo to display the number of found videos and erroros paths. 2018-09-16 16:55:05 +02:00
f62b834cf9 Progressbar when searching folders for videos now uses correct length parameter and changed the label text. 2018-09-16 16:48:43 +02:00
5b71a8b94b Merged into head 2018-09-16 16:29:10 +02:00
175b66b120 Progressbar during parsing of scanned videos no longer shows the filename because it created newline per element. Scanning videos for a given path shows progressbar based on the number of outer folders walked throught 2018-09-16 16:28:16 +02:00
0b5c2acc67 Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-16 16:04:47 +02:00
2eac718749 Changed lading path 2018-09-16 16:04:22 +02:00
1ea94faa8e Moved progress bar from indexing folder content to parsing found videos. 2018-09-16 16:03:47 +02:00
964a446a9b Added click library 2018-09-16 15:47:42 +02:00
1b373087d2 Added progressbar based on iterations of number of files in directory. 2018-09-16 15:45:26 +02:00
c0621f41d0 Removed archives from accepted filetypes 2018-09-16 15:15:12 +02:00
388d1a927e Removed refined functions in core. Use the utils one instead. 2018-09-15 12:47:09 +02:00
f11bb3339c Removed all optional params for refine function. 2018-09-15 12:40:54 +02:00
4db1711b9f Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-15 12:37:30 +02:00
565921830d Refiner is not defined on first refine so pass None. 2018-09-15 12:37:25 +02:00
0badb4e988 Sets name_hash to correct variable hashid not name_hash.wq 2018-09-15 12:34:18 +02:00
3eb3609a38 Fixed indentation of refine function and added path parameter the scan_folder function call 2018-09-15 12:32:54 +02:00
934aeeb37f Refine imported from utils and all calls to Video class no longer include path. 2018-09-15 12:15:56 +02:00
6b9de3a975 Included enzyme package version 0.4.1 for mkv parsing. 2018-09-15 12:12:07 +02:00
eb055db2fd Added input for hash folders 2018-09-14 22:00:33 +02:00
fa63824f6f Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-14 19:56:18 +02:00
417e6dda8f Renamed all loggers to logging 2018-09-14 19:56:13 +02:00
290c6c153c Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-14 19:54:49 +02:00
9c7a44b027 Removed continues when not in loop. 2018-09-14 19:54:42 +02:00
546ad72227 Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-14 19:52:11 +02:00