Commit Graph

75 Commits

Author SHA1 Message Date
KevinMidboe 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
KevinMidboe 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
KevinMidboe d9880c77fb Sets hash value based on if movie or episode instance. 2018-09-16 17:27:38 +02:00
KevinMidboe 2541a21715 Changed class var from name_hash to just be hash. 2018-09-16 17:26:58 +02:00
KevinMidboe 0c1b153e03 Uses click.echo to display the number of found videos and erroros paths. 2018-09-16 16:55:05 +02:00
KevinMidboe 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
KevinMidboe 5b71a8b94b Merged into head 2018-09-16 16:29:10 +02:00
KevinMidboe 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
KevinMidboe 0b5c2acc67 Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-16 16:04:47 +02:00
KevinMidboe 2eac718749 Changed lading path 2018-09-16 16:04:22 +02:00
KevinMidboe 1ea94faa8e Moved progress bar from indexing folder content to parsing found videos. 2018-09-16 16:03:47 +02:00
KevinMidboe 964a446a9b Added click library 2018-09-16 15:47:42 +02:00
KevinMidboe 1b373087d2 Added progressbar based on iterations of number of files in directory. 2018-09-16 15:45:26 +02:00
KevinMidboe 8df7bf99f5 Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-16 15:25:16 +02:00
KevinMidboe 5ce0e61465 Allow 4k metadata collection for mkv containers. 2018-09-16 15:25:12 +02:00
KevinMidboe 3d63a3bf08 Catches exceptions when reading mkv containers and return without crashing program. 2018-09-16 15:21:42 +02:00
KevinMidboe c0621f41d0 Removed archives from accepted filetypes 2018-09-16 15:15:12 +02:00
KevinMidboe 388d1a927e Removed refined functions in core. Use the utils one instead. 2018-09-15 12:47:09 +02:00
KevinMidboe d50b97daa3 Changed all logger instances with the default logging. 2018-09-15 12:44:15 +02:00
KevinMidboe f11bb3339c Removed all optional params for refine function. 2018-09-15 12:40:54 +02:00
KevinMidboe 4db1711b9f Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-15 12:37:30 +02:00
KevinMidboe 565921830d Refiner is not defined on first refine so pass None. 2018-09-15 12:37:25 +02:00
KevinMidboe 0badb4e988 Sets name_hash to correct variable hashid not name_hash.wq 2018-09-15 12:34:18 +02:00
KevinMidboe 3eb3609a38 Fixed indentation of refine function and added path parameter the scan_folder function call 2018-09-15 12:32:54 +02:00
KevinMidboe 24047a2b1d Hash_name variable added to Video class and reordered varaibles in class declaration. 2018-09-15 12:16:48 +02:00
KevinMidboe 934aeeb37f Refine imported from utils and all calls to Video class no longer include path. 2018-09-15 12:15:56 +02:00
KevinMidboe 077ac940b1 Refine function added to utils to extract metadata from mkv files. 2018-09-15 12:15:00 +02:00
KevinMidboe 6b9de3a975 Included enzyme package version 0.4.1 for mkv parsing. 2018-09-15 12:12:07 +02:00
KevinMidboe eb055db2fd Added input for hash folders 2018-09-14 22:00:33 +02:00
KevinMidboe fb7f623881 Imported default conf for video. 2018-09-14 21:58:51 +02:00
KevinMidboe fa63824f6f Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-14 19:56:18 +02:00
KevinMidboe 417e6dda8f Renamed all loggers to logging 2018-09-14 19:56:13 +02:00
KevinMidboe 290c6c153c Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-14 19:54:49 +02:00
KevinMidboe 9c7a44b027 Removed continues when not in loop. 2018-09-14 19:54:42 +02:00
KevinMidboe 546ad72227 Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor 2018-09-14 19:52:11 +02:00
KevinMidboe 4321f967f8 Syntax error for comment resolved. More exact path and removed option for archive 2018-09-14 19:52:02 +02:00
KevinMidboe 1075942c52 Crawls path and checks file if path is not directory. Subtitles for file is also collected. 2018-09-14 19:49:35 +02:00
KevinMidboe 541a18ac9f Disabled import of langdetect library 2018-09-14 19:32:24 +02:00
KevinMidboe 61a1307275 Removed custom paramenters and class functions for subtitles and video. 2018-09-14 19:31:16 +02:00
KevinMidboe 1c81a01658 Scans for files and subtitles in same folder as video files. 2018-09-14 19:25:17 +02:00
KevinMidboe 7ea82d4b33 Renamed seasonedParser subfolder to src 2018-09-14 19:18:59 +02:00
KevinMidboe bfd8a2a1f5 Snapshot before refactor. 2018-09-14 18:51:40 +02:00
KevinMidboe 9c82ece666 Updated readme and knowledgebase. 2018-05-11 16:57:46 +02:00
KevinMidboe 6d5fc9505b Now we have a logically very simple parser for torrents for a torrent sites, though we now only have piratebay. Really want to build on this and maybe add some machine learning to identify interesting elements in a webpage. Still missing better error handling and logging, but not much. 2017-10-17 14:48:31 +02:00
KevinMidboe 3938cc7b88 Merge branch 'master' of github.com:KevinMidboe/seasonMover 2017-10-03 11:12:21 +02:00
KevinMidboe 786182549e Added speed tests and plans for better parsing and speed. 2017-10-03 11:11:12 +02:00
KevinMidboe 16511b36f6 Did some minor changes temporarily to fix some bugs with printing lists and ints. Also changed the lookup directory. 2017-10-02 15:14:56 +02:00
KevinMidboe fdb2733307 Removed print statement from __repr__ of video 2017-09-29 13:57:30 +02:00
KevinMidboe dfba6bc22d Now converts episode to str on print 2017-09-29 13:49:05 +02:00
KevinMidboe 25ade8d921 Fixed same episode bug here also. 2017-09-29 13:48:20 +02:00