PeerTube/server
Frank de Lange bda3b70537 peertube-import-videos.ts: add --tmpdir, --first, --last and --verbose [level] parameters (#2045)
* peertube-import-videos.ts: add --tmpdir <tmpdir> parameter, used to designate working directory for downloading and converting imported videos

* peertube-import-videos.ts: add --first and --last parameters to limit processing of the returned playlist to the first/last N elements

* peertube-import-videos.ts: add --verbose [verbosity] parameter, set this from 0 (only errors are reported) to 4 (for trace debugging), default is 2 (info). When --verbose is used without the optional parameter the logging level is set to 3 (debug). At level 1 (warn) it will only report on successfully uploaded videos (and/or errors), use this when running peertube-import-videos in a cron job to mirror a channel.

* package.json: remove dependency on loglevel

cli.ts: add getLogger(loglevel), to be used in CLI tools, add --verbose to set log level

peertube-import-videos: use getLogger (from cli) instead of loglevel, add error_exit (log error and exit), move --verbose to cli.ts, etc.

* cli.ts: remove superfluous reference to default logging level

* peertube-import-videos: exit_error -> exitError
2019-08-26 11:35:28 +02:00
..
assets Add audio support in upload 2019-05-16 17:16:47 +02:00
controllers Merge branch 'release/1.4.0' into develop 2019-08-22 17:16:48 +02:00
helpers Merge branch 'feature/strong-model-types' into develop 2019-08-22 10:43:11 +02:00
initializers email object -> email subject 2019-08-22 10:33:58 +02:00
lib fixes 2065: optimisation (#2073) 2019-08-23 09:05:30 +02:00
middlewares Fix build 2019-08-23 08:56:57 +02:00
models Fix html tag with blacklisted video 2019-08-22 10:46:54 +02:00
static/dnt-policy advertising PeerTube's rather simple DNT policy 2018-08-08 09:22:15 +02:00
tests Fix ownership change 2019-08-21 08:57:00 +02:00
tools peertube-import-videos.ts: add --tmpdir, --first, --last and --verbose [level] parameters (#2045) 2019-08-26 11:35:28 +02:00
typings Fix html tag with blacklisted video 2019-08-22 10:46:54 +02:00