| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Prefer to replace paths at compile time
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Many files from the `shared` folder were importing files from the `server` folder.
When attempting to use Typescript project references to describe dependencies,
it highlighted a circular dependency beetween `shared` <-> `server`.
The Typescript project forbid such usages.
Using project references greatly improve performance by rebuilding only
the updated project and not all source files.
> see https://www.typescriptlang.org/docs/handbook/project-references.html
|
|
|
|
|
|
|
|
|
|
| |
* Apply import interval only when reasonable
When importing videos from another service, an interval can be applied
between each download.
It only really makes sense to apply this interval when the last
attempted download actually happened, and not when it was skipped.
* Fix boolean notation
|
|
|
|
|
|
|
|
| |
Use python3 binary
Allows to use a custom youtube-dl release URL
Allows to use yt-dlp (youtube-dl fork)
Remove proxy config from configuration to use HTTP_PROXY and HTTPS_PROXY
env variables
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* peertube-import-videos: Add --wait-interval option
* peertube-import-videos: various code style improvements
Co-authored-by: Florent F <florent.fayolle69@gmail.com>
Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* stricter youtubedl format selectors
make sure selectors avoid av1, and otherwise match as closely to the
maximum resolution enabled for transcoding
* add support for merge formats in youtubedl
* avoid vp9.2 in youtubedl to avoid any HDR
* move getEnabledResolutions, safer replace of imported extension
* add test for youtube-dl selectors
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Youtube doesn't store the hour of the publish date so
set it to zero in order to compare it.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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
|
|
|
|
|
|
| |
* Add since parameter to peertube-import-videos
* PR remarks + --until <date>
|
|
|
|
| |
Install/uninstall/list plugins remotely
|
| |
|
| |
|
| |
|
|
|
|
| |
Password is an optional argument
|
|
|
|
| |
Because they need dev dependencies
|
| |
|
| |
|
|
|
|
|
| |
* Import original publication date when importing a video from YouTube using the CLI
* Fix lint issues
|
|\ |
|
| | |
|
| |
| |
| | |
remove eventual trailing '/' at the end of urls in import script (see #1453)
|
| |
| |
| |
| |
| |
| |
| | |
Move utils used by /server/tools/* & /server/tests/**/* into
/shared folder.
Issue: #1336
|
| |
| |
| | |
allows running multiple imports at the same time, whereas previously a concurrent instance of the script deleted another processe's file.
|