94 Commits

Author SHA1 Message Date
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
Godzil
301fa1c860 Remove dependencies on fs and only use fs-extra 2018-07-30 22:47:34 +01:00
Godzil
bb70161652 Add a really simple and stupid way to check if you are running the latest version. 2018-07-30 22:47:33 +01:00
Godzil
7f2f983f55 using log instead of console is nicer 2018-07-30 22:47:33 +01:00
Godzil
8dab83b3ef Add log when not adding an episode when rebuilding the .crpresistent. 2018-07-30 22:47:33 +01:00
Godzil
cbafa5bc90 Now that retrying is there; force ffmpeg to fail in case or error (should now avoid to silently download a corrupted video file) 2018-07-30 22:47:33 +01:00
Godzil
67735fb52a Add a similar mechanism for episodes downloads.
If it can't fetch it after a couple of retry (5 by default, can be changed on the command line) it will just ignore it and go to the next episode.
2018-07-30 22:47:33 +01:00
Godzil
7d6f762f59 Add retry mechanism in case of episodes list retrieve failure instead of just failing.
If it can't after a couple of retry (5 by default, can be changed on the command line) it will just ignore it and go to the next anime.
2018-07-30 22:47:33 +01:00
Godzil
f3a0d0129d Correct a bug with ffmpeg where it will wait forever for the user to answer a question when trying to overwrite a file.
Fix #68
2018-07-30 22:47:33 +01:00
Godzil
65c9032839 Add an option to make ffmpeg, mkvmerge and rtmpdump running verbosely. 2018-07-30 22:47:33 +01:00
Godzil
4ee814864c Add support for changing the batchfile on the command line 2018-07-30 22:47:33 +01:00
Godzil
7c04fb7282 Make tslint happy! 2018-07-30 22:47:29 +01:00
Godzil
849c7612aa A bit of code reformating and add an option to regenerate the .crpersistant file in case it become corrupted and Crunchy try to redownload everything. 2018-07-30 22:46:29 +01:00
Roei Elisha
6ad4cbed0a make login work 2018-07-30 22:45:28 +01:00
Roei Elisha
b064b97f2d fix linter problems 2018-05-22 23:55:10 +03:00
Godzil
3bf5fea735 Make Crunchy to properly return a return code when running fine or failing 2018-05-08 21:37:34 +01:00
Godzil
547fdc4aa0 Add a way to select the resolution. Use 1080p by default
Fix #58
2018-03-29 22:29:13 +01:00
Godzil
090c7e4789 Trying to fix #59 by adding a referer to the header. Seems to fix it but need to be throughfully tested.. 2018-03-29 20:40:17 +01:00
Godzil
11f6b3feff Make tslint happy 2017-12-27 04:57:45 +01:00
Godzil
53f0a9462a Better filename forbidden character handling
Logs are a bit better
2017-09-16 22:51:49 +01:00
Godzil
10d71944d9 Fix lint error 2017-08-21 16:08:58 +02:00
Manoël Trapier
c406bc70ee Sanitise more characters from filenames 2017-05-17 16:17:26 +01:00
ssttevee
2c2ed2c136
added more custom filename variables 2017-03-29 14:10:06 -07:00
ssttevee
4dc90aeb00
added custom filenames 2017-03-29 13:59:51 -07:00
Godzil
ed4f398062 Fix #19, better to check if a file exist before trying to copy it 😂 2017-02-16 23:03:43 +00:00
Godzil
6bc39083b9 - Support more episode naming schemes
- Display when we are going to fetch from a single URL (@http://...)
- Display a warning when a series looks to have no episodes
- Make a backup of the .crpersistent before changing it
2017-02-12 23:10:51 +00:00
Godzil
2ab1daf2b3 Another lint pass on episode.ts
Correct a stupid bug where it try to download an episode two times (and led to a failure) if metadata can't be fetch as expected. Doh!
2017-02-11 19:23:48 +00:00
Godzil
cfe73f5ca8 More lint cleaning, add a way to download a single episode by URL 2017-02-10 23:51:22 +00:00
Godzil
2fea379484 Fancy output also works under windows, so it's now enabled for all platform! 2017-02-10 23:51:04 +00:00
Godzil
bee3f33e20 Update npm packages, cleanup the code, cleanup all tslint complain 2017-02-10 17:43:52 +00:00
Godzil
b96efacbd2 - Revert login using the token method
- Use the cloudscraper layer on top of request to pass through the cloudfare browser check
- switch from tsd to typings
2017-02-07 20:22:01 +00:00
Godzil
499530141e Disable debug message about ffmpeg 2017-02-01 08:53:14 +00:00
Godzil
8dfd1b447c Add a log objet to do some fancy output on the command line (not fully enabled under windows as it need some tests) 2017-01-28 13:38:14 +00:00
Godzil
70d80ccd17 Update dependency to more recent version, and correct a few warnings reported by ts 2017-01-23 21:06:34 +00:00
Mateusz Majewski
fa6aa74442 Merge branch 'master' into master 2017-01-18 12:49:49 +02:00
Mateusz Majewski
fe2ed9fb76 Fixing login issue by bypassing the login form and making a request directly. 2017-01-18 11:19:41 +02:00
Mateusz Majewski
cc655b9e00 Fixing login issue by bypassing the login form and making a request directly. 2017-01-18 11:08:45 +02:00
Godzil
69dd28d31b Update login to match latest CR changes 2016-09-16 22:20:39 +01:00
Godzil
bc4697061e Remplace ':' in filename to make Windows happy 2016-09-10 20:17:19 +01:00
Godzil
55ffe85f77 Make the name to be more Plex friendly 2016-09-10 11:53:45 +01:00
Godzil
714a528f8b Prevent overwriting an existing output file 2016-09-07 21:55:14 +01:00
Godzil
8314d91bd7 Add functionality to ignore (instead of stopping) if an episode is not available yet 2016-09-07 21:51:36 +01:00
Godzil
5bd31f9e0b Add better episode numbering scheme 2016-09-07 21:34:29 +01:00
Godzil
8371d68113 Correct errors 2016-08-22 12:21:17 +02:00
Godzil
62a08e14bb Add missing mode parameter to the stream object. (and correct call to it) 2016-08-13 21:24:57 +01:00