138 Commits

Author SHA1 Message Date
Godzil
ce5038cf08 @ URL was broken since 1.3.7 doh! 2018-08-05 10:46:27 +01:00
Godzil
d19992f0d3 Make linter happy (and fix a mistake) 2018-08-05 10:30:22 +01:00
Godzil
a44d1ae668 Use a more stable and futur proof URL to get current version information 2018-08-05 09:30:14 +01:00
Godzil
14fd18479e Try to tweak ffmpeg setting, but there are still some stalling issues.. 2018-08-05 09:29:39 +01:00
Godzil
1106a28288 Make possible georestrictions messages more clear 2018-08-05 09:28:53 +01:00
Godzil
f1a5d1b6a8 Add a new warning type (more "strong" but still a warning) 2018-08-05 09:28:28 +01:00
Godzil
4193643306 Fix a missing invalid char for filename for windows ('\') 2018-08-05 09:27:46 +01:00
Godzil
7dcd932ee5 Add a warning message is a license infobox is display to say that maybe
some episodes would be missing

COOOOKIIIEEEEE!!!!

(I think I'm hungry, I should go to eat!)
2018-08-01 22:40:45 +01:00
Godzil
ed233de565 Add an experimental feature: ignoring episodes from season that end with 'dub)' as they are dubbed seasons. 2018-08-01 22:08:21 +01:00
Godzil
a679573bf3 Add support to change the user agent. 2018-08-01 21:26:11 +01:00
Godzil
25dabd4955 Fix #80, the batch file path should not be related to the output folder.
Also make sure that an absolute path is not treated as a relative one!



COOOKIESSSS!!!!!!
2018-08-01 21:21:46 +01:00
Godzil
ce65324c57 Add a message before login just to look pretty. 2018-08-01 20:38:14 +01:00
Godzil
a0f10252a1 Add back the old login method as fallback. 2018-08-01 20:37:50 +01:00
Godzil
6e638488dc Update user agent. 2018-08-01 20:37:07 +01:00
Godzil
2e8de8c5c2 Make lint happy (sorry cookie monster, nothing for you here :( ) 2018-08-01 19:57:29 +01:00
Godzil
9c3aaf220a Make authentification error report to work, and
warn user if trying to use API but not filling corresponding fields
2018-08-01 19:56:49 +01:00
Godzil
ab35bb4439 Add @ssttevee method of authentication (from pull request #43) 2018-08-01 02:07:21 +01:00
Godzil
b48877b786 Prepare to add multiples logins methods 2018-08-01 02:05:15 +01:00
Godzil
9fb85d4376 Now that we have cookies, persistant config file, we can log
and stay logged between run (or I hope so) so add a delog command,
and make the cookie monster happy.
2018-08-01 00:52:23 +01:00
Godzil
a582b15103 Check if the we got proper information about the session,
else die with a lot of suffers!
2018-08-01 00:50:38 +01:00
Godzil
da3a51991c Properly use the config info for API endpoint informations. 2018-08-01 00:49:49 +01:00
Godzil
22f70c86f5 Add a function to make the cookie monster happy! 2018-08-01 00:48:38 +01:00
Godzil
0daf4d895f Stop silently ignore login issues 2018-08-01 00:47:57 +01:00
Godzil
80165a76e0 Use a proper UUID v4 instead of the weird code to generate a device id 2018-08-01 00:47:33 +01:00
Godzil
a6b025bdbf Add a proper cookie store. 2018-08-01 00:46:14 +01:00
Godzil
6f192b1712 Now use the config file for base configuration, and command line parameter to
overide some of these parameter.

The config file is updated from the command line parameters
2018-08-01 00:43:07 +01:00
Godzil
b947a110e2 Create config manager to store part of the config in a json file.
Update the IConfig structure to add new values for API login.
2018-08-01 00:40:20 +01:00
Godzil
68885db538 Add subtitle dump just in case. 2018-07-30 22:47:38 +01:00
Godzil
0b54549c64 Fix a silly bug in error management (in case the error does not come from request) 2018-07-30 22:47:38 +01:00
Godzil
4990effa1c Try to fix #81 and probably some other issues when the URL is not valid to properly display that the URL is not valid. Also change a bit on how error are handled 2018-07-30 22:47:38 +01:00
Godzil
2459f342c5 Force debug file to be written synchronously 2018-07-30 22:47:38 +01:00
Godzil
02a9d763cd Add the episode title in the default file name template. 2018-07-30 22:47:38 +01:00
Godzil
1d596b02f7 Cleaning up the command line parameter to properly use default values 2018-07-30 22:47:37 +01:00
Godzil
cee53fb113 Fix for #78 (and a bit of cleanup) 2018-07-30 22:47:37 +01:00
Godzil
1e56cab73f Move error displaying when downloading an episode fail. 2018-07-30 22:47:37 +01:00
Godzil
6765b517ec Add a new episode filter and completely remove some dependencies on the config object. 2018-07-30 22:47:36 +01:00
Godzil
8c1e0f2e0c Stop messing with the config objet 2018-07-30 22:47:36 +01:00
Godzil
817843c40c Add more output to debug.txt 2018-07-30 22:47:36 +01:00
Godzil
66670547b9 Add a crude debug mechanism 2018-07-30 22:47:36 +01:00
Godzil
987e424324 Force an exit if authentication failed! 2018-07-30 22:47:35 +01:00
Godzil
523c780b18 Force to use a user account 2018-07-30 22:47:35 +01:00
Godzil
6c2100fbff Give access to the config objet to the subtitles for future changes. 2018-07-30 22:47:35 +01:00
Godzil
f10bead0dc Remove episode and volume filter, they were buggy and useless.
Use the @URL syntax do download a single episode.
2018-07-30 22:47:35 +01:00
Godzil
5edd7cf05a Fix 4 silly bugs 2018-07-30 22:47:35 +01:00
Godzil
2545c36241 Remove more DEP005 warning 2018-07-30 22:47:34 +01:00
Godzil
e2a4ba738f Make during series fetching error reporting a bit more clear 2018-07-30 22:47:34 +01:00
Godzil
e4e0fc3ea7 More error stack issue 2018-07-30 22:47:34 +01:00
Godzil
c56998312c Forgot to update config object with the new generated file name 2018-07-30 22:47:34 +01:00
Godzil
3ac1f4ee9e Don't display error stack when not needed, and if needed check it exist
before trying to display it.
2018-07-30 22:47:34 +01:00
Godzil
5a51d888b8 Remove DEP0005 warning from use of the Buffer object 2018-07-30 22:47:34 +01:00