Commit Graph

118 Commits

Author SHA1 Message Date
1bf04ee7ab Removed useless before_script docker login command
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 16:00:03 +01:00
31c5d54635 Attempt to setup auto-deploy on CI/CD
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 15:52:50 +01:00
9a57de9ad2 Setup Dockerfile 2/2
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 15:32:55 +01:00
080d4787f5 Setup Dockerfile
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 15:32:34 +01:00
f0e16f6b6e Added help command
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 15:09:30 +01:00
f056308923 Updated README to add disclaimer
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 14:50:26 +01:00
585033d78b Getting a quote now should be working
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 14:44:46 +01:00
af35537353 Added the number of lines the importer just added to our database
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 11:57:35 +01:00
2f5195ad0a Downloading subtitles is now kinda working
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 11:51:19 +01:00
d645ccb711 Basic POC for importing subtitles.
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 00:38:25 +01:00
f0b757060a Refactored and added a way to list a movie's subtitle languages by imdb id and title 2/2
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 00:04:30 +01:00
5a85141611 Refactored and added a way to list a movie's subtitle languages by imdb id and title
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-29 00:03:55 +01:00
256d2f7667 Listing by title now works
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 22:44:51 +01:00
ce748b7c06 Added some statistics on the version parge
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 18:11:52 +01:00
be254304a8 Added a version property for future-proofing
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 17:11:46 +01:00
7aafa7eda5 Updated a big bug in the PropertyManager that caused properties to never save
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 17:08:18 +01:00
a74b663e28 Refactored to move Discord logic in DiscordManager
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 17:03:52 +01:00
920bc47f85 Refactored to have a working caching system even when searching for a film
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 16:54:17 +01:00
6228fc9248 Replaced concatenation with a better system
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 16:17:12 +01:00
9c48d932d6 Started implementing a cache system
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 16:14:58 +01:00
b781f735ca Added private constructor to FilmManager as it is a utility class
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 14:27:13 +01:00
0c335aa023 Fixed timezone issue when importing a film
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 14:25:42 +01:00
9644cfcf0c Added a way to import films in database
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 14:13:53 +01:00
59472b9b24 Basic OMDB interaction
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 13:34:13 +01:00
c589c70237 Switched to JDK15 in gitlab-ci in an attempt to fix compilation errors
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 00:58:18 +01:00
89a0d13983 Created the SubtitleBlock type to contain all information extracted by the subtitles parser(s)
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 00:36:26 +01:00
8c217c47ee Fixed a typo that caused a logger to log as another class
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 00:16:16 +01:00
df956d42d4 Set all languages elements in lowercase to ease comparison for later use
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 00:07:35 +01:00
ef85f0cdd6 Grouped all exit codes in one enumeration
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-28 00:01:13 +01:00
485abe29e3 Fixed a small bug that would still import the languages if not needed
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 23:39:34 +01:00
aad2f391fb Turned all environment variable names in an Enum
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 23:37:53 +01:00
afe16f9eb1 Fixed issue where a disconnection from the OpenSubtitles.org system or a failure in login would exit the program
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 23:17:41 +01:00
4ba3d48d3c Fixed bug where an empty string would be stored in the database isntead of a NULL value
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 22:59:02 +01:00
0fc84bd2a3 Moved everything related to the properties to its own manager
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 22:50:33 +01:00
8f1ae7a5fe Added a way to update and setup languages
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 21:38:19 +01:00
ee08b6b29c Removed support for command line arguments are there are too many arguments to manage. Fixed small typo in DBManager
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 16:53:28 +01:00
66de95c0df Fixed small typo to set all table names as lowercase
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 16:23:22 +01:00
7d358c5cef Added missing dependency
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 16:22:55 +01:00
8d7ca0ad33 Added basic database manager
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 16:22:23 +01:00
45bf4b1eee Added language codes
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 14:49:42 +01:00
61fc79e39f Added basic SQL schema
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 14:49:18 +01:00
bcac5c325f Parsing returns the parsed list
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 12:00:13 +01:00
4c30f55f29 Removed unused dependency
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 11:59:44 +01:00
3e0758a634 Basic POC for cutting subtitles in their separate dialog lines
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 11:43:10 +01:00
2fa8b18a0a Basic POC for the subtitles downloading feature
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-27 09:52:14 +01:00
2746c81466 Fixed bug on listing empty subtitle lists
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 23:12:34 +01:00
f692df6ce0 Removed the search title feature as it is broken right now
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 22:06:25 +01:00
672567e118 Added support for searching subtitles language availability
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 21:01:06 +01:00
1587f5f1d6 Refactored Search and fixed an issue on a check in the Search command
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 17:31:15 +01:00
b27fad85d1 Refactored Search and fixed an issue on a check in the Search command
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2020-10-26 17:11:24 +01:00