Commit Graph

  • 380c4a02f4 Cleaned up __init__.py file master KevinMidboe 2020-02-24 18:42:30 +01:00
  • 529549cabd Removed import of unused env_variables KevinMidboe 2020-02-24 18:42:10 +01:00
  • 5d10e8aef2 removed as_module parameter and changed import statement from relative import. KevinMidboe 2020-02-24 18:38:57 +01:00
  • b290fc8ba9 Updated guessit3.0.0->3.1.0 KevinMidboe 2020-02-24 18:37:30 +01:00
  • 95623dadd8 Missed going back one directory. KevinMidboe 2020-02-23 19:07:09 +01:00
  • 5bde8785a8 Test init file now appends correct module path. KevinMidboe 2020-02-23 19:05:11 +01:00
  • bea2a445b2 Moved tests out to root directory. KevinMidboe 2020-02-23 19:02:35 +01:00
  • a7f8a32b44 Main calls cli and its main function to start seasonedParser module. KevinMidboe 2020-02-23 19:02:15 +01:00
  • dbcc273dba Main file to run seasonedParser as module. KevinMidboe 2020-02-23 18:57:48 +01:00
  • 697ab2528f Renamed src folder to seasonedParser KevinMidboe 2020-02-19 18:24:12 +01:00
  • 4699ee1494 Change drone to run one version of py3 and py2 for testing. Needed to specify pytest versions depending on if above or below python version 3. Kevin Midbøe 2020-02-19 10:22:32 +01:00
  • 1834fd64c8 Merge branch 'master' of github.com:KevinMidboe/seasonedParser Kevin Midbøe 2020-02-19 10:00:00 +01:00
  • 25b2dd3804 Build and codecov badges to readme. KevinMidboe 2020-02-19 00:32:56 +01:00
  • 80931be151 Weird cov path fixed. KevinMidboe 2020-02-19 00:29:08 +01:00
  • 0d376df8f8 bash and curl was missing for some reason. KevinMidboe 2020-02-19 00:26:08 +01:00
  • eb13e34e66 Restructured project to better run as a package. KevinMidboe 2020-02-18 23:44:16 +01:00
  • 90eff227a0 Make it a package KevinMidboe 2020-02-18 22:13:17 +01:00
  • 307a412c83 Require git to be installed. KevinMidboe 2020-02-18 22:01:06 +01:00
  • 5aaf1197b7 Make sure bash and curl are installed before using. KevinMidboe 2020-02-18 21:48:59 +01:00
  • 824bf707fb replaced codecov python uploader with bash uploader. KevinMidboe 2020-02-18 21:32:47 +01:00
  • 756dcb51ce Missing environment variable for codecov. KevinMidboe 2020-02-18 21:26:43 +01:00
  • 9ef175b715 Codecov task must first install all requirements. KevinMidboe 2020-02-18 21:24:48 +01:00
  • e4b3243a56 Miss spelled docker image for codecov. KevinMidboe 2020-02-18 21:23:15 +01:00
  • abe4b5745c Py package: pytest-cov. Upload test coverage to codecov. KevinMidboe 2020-02-18 21:21:23 +01:00
  • b8f9ddbbf4 Updated drone to run unit tests using py.test. Renamed steps from install-* to test-*. KevinMidboe 2020-02-18 21:04:33 +01:00
  • c95568e3b8 Import pytest and created some test- test scripts. KevinMidboe 2020-02-18 21:02:50 +01:00
  • 138a6b5fec Installs scripts first prints python version. KevinMidboe 2020-02-18 20:31:27 +01:00
  • fd95b0f3ae Inital drone config. Checks that it can install requirements with python v 3.6 & 3.8. KevinMidboe 2020-02-18 20:29:28 +01:00
  • 602047c3d9 Merge branch 'master' of github.com:KevinMidboe/seasonedParser Kevin 2019-07-01 19:59:56 +02:00
  • 0be3beb87b Guessing only returns a single match Kevin 2019-07-01 19:59:46 +02:00
  • 3bce8e84b0 Guessit upgradet to v3 Kevin 2019-07-01 19:59:15 +02:00
  • 04da9152de Logging formatter has separate formatting for cmd output and its log level set to warning. KevinMidboe 2019-03-20 00:28:53 +01:00
  • 8d3a15ad8d Logging formatter has separate formatting for cmd output and its log level set to warning. KevinMidboe 2019-03-20 00:28:53 +01:00
  • 92b0dbafca Imported logger and stricter logic when exiting because of insuffient_name and daemon flag set. KevinMidboe 2019-03-20 00:28:07 +01:00
  • 4a93dbfd2e Dry and daemon cli parameters added for only displaying, not moving; and daemon to let program know not to ask for user input by cmdline, instead exit. KevinMidboe 2019-03-19 23:23:43 +01:00
  • 805c9c4b07 Merge branch 'master' of github.com:KevinMidboe/seasonMover KevinMidboe 2019-02-02 00:45:09 +01:00
  • 297f35aa6c More knowledge KevinMidboe 2019-02-02 00:44:53 +01:00
  • e3c1f18e3d Changed default logging level. KevinMidboe 2019-02-02 00:34:40 +01:00
  • 2977ab53b2 Allow a instuffient name to be thrown. Also, pop was not the correct way to remove elements from the list, del on a index is now used. KevinMidboe 2019-02-02 00:33:32 +01:00
  • 0ff205615f This is not js is it? KevinMidboe 2019-02-02 00:28:56 +01:00
  • 028301c4c4 Added more knowledge 🧠 KevinMidboe 2018-10-18 22:14:08 +02:00
  • 3031353cc3 Merge pull request #8 from KevinMidboe/CLI Kevin 2018-10-18 22:11:07 +02:00
  • bac145c6a1 Prompt for user input has been moved out to a funtion. Reflecting changes of exception name to InsufficientNameError. #8 KevinMidboe 2018-10-18 22:09:47 +02:00
  • 3833b59732 Merge pull request #5 from KevinMidboe/CLI Kevin 2018-10-18 20:54:22 +02:00
  • c3bb6c6469 If the name is not sufficient for a valid guess a insuffienet name error is thrown which is not handled correctly for both files and folders, then returned to the user to try move it by changing input name. #5 Kevin Midboe 2018-10-18 20:48:59 +02:00
  • 8b3d083938 Handles input from argv as path. Kevin Midboe 2018-10-18 20:27:03 +02:00
  • b1bfdc195b Merge pull request #4 from KevinMidboe/CLI Kevin 2018-10-17 23:35:49 +02:00
  • 2d4f2b003b Added exceptions file. #4 KevinMidboe 2018-10-17 23:34:49 +02:00
  • c8837eed8e Merge pull request #3 from KevinMidboe/CLI Kevin 2018-10-17 23:29:53 +02:00
  • 37a0c6f62b Will iterate over all files until all have a files have sufficient info. #3 KevinMidboe 2018-10-17 23:29:09 +02:00
  • 7e7eebd462 Removed main function from core. KevinMidboe 2018-10-17 23:00:06 +02:00
  • 50e6e4a259 Insufficient exception is thrown when not enough info is needed to move file to correct location. All insufficient items are returned along with the found videos. The wanted path we want to move the file is no longer class vairable, but gets the string by function. KevinMidboe 2018-10-17 22:58:22 +02:00
  • 86d17c5e22 Recatored the cli program. KevinMidboe 2018-10-17 22:51:56 +02:00
  • 5a6486189e Merged to updated logger name. KevinMidboe 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. Kevin Midboe 2018-10-17 19:55:38 +02:00
  • 9639b56251 Readded streamhandler to logger. Kevin Midboe 2018-10-17 19:46:46 +02:00
  • 93fcfa1ec5 Merge pull request #2 from KevinMidboe/refactor Kevin 2018-10-16 23:11:45 +02:00
  • 6d67ce1214 Cli roadmap #2 KevinMidboe 2018-10-16 23:07:05 +02:00
  • aeacd8a5b6 Started cli for seasonedparser KevinMidboe 2018-10-16 23:06:45 +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. v1-beta Kevin Midboe 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. KevinMidboe 2018-09-23 21:36:03 +02:00
  • b40f0f91ef Added subtitle_path function which finds the dirpath based on video sibling and subtitle name. Kevin Midboe 2018-09-23 21:26:57 +02:00
  • 4e055403d1 Imported re (regex lib) and fixed pathing issue when reading subtitle Kevin Midboe 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. KevinMidboe 2018-09-23 20:37:26 +02:00
  • 11f5c16336 Added moviebase and showbase that represents the absolute base for the movie and show folders on disk. Kevin Midbøe 2018-09-23 20:13:30 +02:00
  • 94599fd6ee Fixed merge conflict Kevin Midboe 2018-09-23 20:10:47 +02:00
  • abb9ddbf09 Removed unused print and fixed show path and sanity check. Kevin Midboe 2018-09-23 18:01:55 +02:00
  • f92a3fc2a2 Added custom logger instance to core and import in video. Kevin Midbøe 2018-09-23 18:00:24 +02:00
  • 81a53465e7 If a movie or series does not have sufficient info it is logged before returning value. Kevin Midbøe 2018-09-23 17:42:42 +02:00
  • bfab59d49c Methods should not have been tagged with classmethods and now the basename of class name is attributed to the final home path. Kevin Midboe 2018-09-23 17:26:43 +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. Kevin Midbøe 2018-09-23 16:29:41 +02:00
  • 379d789adc Disbled hashing of filenames for now Kevin Midbøe 2018-09-23 16:28:44 +02:00
  • 8fab27a95f And the other conflict Kevin Midboe 2018-09-20 23:28:47 +02:00
  • 9e80cc4d97 Mixed merge conflict. Kevin Midboe 2018-09-20 23:27:57 +02:00
  • 4b09d6cd2c Titlecase the homepath and try except creating hash for filename. Kevin Midboe 2018-09-20 23:25:47 +02:00
  • 916ce45fec If any error return false when picking for girlscouts Kevin Midbøe 2018-09-20 23:24:17 +02:00
  • 1fc62479be Conflict resolved by re-adding release_group Kevin Midbøe 2018-09-16 23:46:39 +02:00
  • 16afdb4cd8 Video has a new attribute home that is the optimal parent folder for this element. Kevin Midbøe 2018-09-16 23:38:19 +02:00
  • 3e2faadc2f Video gets a new parameter embeded_subtitles to represent the subtitle files found in the mkv container. Kevin Midbøe 2018-09-16 23:26:06 +02:00
  • 1ff34630ac Renamed subtitle_languages to subtitles to save the subtitles and not only the subtitle languages available. Kevin Midbøe 2018-09-16 23:05:09 +02:00
  • 2108f2f25a Removed directory path from function call. Kevin Midboe 2018-09-16 23:01:49 +02:00
  • 96ca355c50 Fixed naming error with civilian and girl. Also prints total found videos. Kevin Midboe 2018-09-16 22:26:07 +02:00
  • 32263e3aaf Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor Kevin Midboe 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. Kevin Midboe 2018-09-16 21:47:15 +02:00
  • 5916843e95 Videos are picked for girl scouts and printed if become scout or remain civilian. Kevin Midbøe 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. Kevin Midbøe 2018-09-16 18:19:25 +02:00
  • d9880c77fb Sets hash value based on if movie or episode instance. Kevin Midbøe 2018-09-16 17:27:38 +02:00
  • 2541a21715 Changed class var from name_hash to just be hash. Kevin Midbøe 2018-09-16 17:26:58 +02:00
  • 0c1b153e03 Uses click.echo to display the number of found videos and erroros paths. Kevin Midbøe 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. Kevin Midboe 2018-09-16 16:48:43 +02:00
  • 5b71a8b94b Merged into head Kevin Midbøe 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 Kevin Midbøe 2018-09-16 16:28:16 +02:00
  • 0b5c2acc67 Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor Kevin Midboe 2018-09-16 16:04:47 +02:00
  • 2eac718749 Changed lading path Kevin Midboe 2018-09-16 16:04:22 +02:00
  • 1ea94faa8e Moved progress bar from indexing folder content to parsing found videos. Kevin Midbøe 2018-09-16 16:03:47 +02:00
  • 964a446a9b Added click library Kevin Midboe 2018-09-16 15:47:42 +02:00
  • 1b373087d2 Added progressbar based on iterations of number of files in directory. Kevin Midbøe 2018-09-16 15:45:26 +02:00
  • 8df7bf99f5 Merge branch 'refactor' of github.com:KevinMidboe/seasonedParser into refactor Kevin Midbøe 2018-09-16 15:25:16 +02:00
  • 5ce0e61465 Allow 4k metadata collection for mkv containers. Kevin Midbøe 2018-09-16 15:25:12 +02:00
  • 3d63a3bf08 Catches exceptions when reading mkv containers and return without crashing program. Kevin Midboe 2018-09-16 15:21:42 +02:00