diff options
author | Alex <alexta69@gmail.com> | 2022-09-30 09:10:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 09:10:57 +0300 |
commit | b7c8c80362fdfb9a465042d8027c0af9063ff62a (patch) | |
tree | c8d195e229a7d9b9c98ffe71881fafaf96637320 /README.md | |
parent | upgraded yt-dlp (diff) | |
parent | Merge branch 'master' of https://github.com/alexta69/metube into custom-downl... (diff) | |
download | metube-b7c8c80362fdfb9a465042d8027c0af9063ff62a.tar.gz metube-b7c8c80362fdfb9a465042d8027c0af9063ff62a.tar.bz2 metube-b7c8c80362fdfb9a465042d8027c0af9063ff62a.zip |
Merge pull request #177 from jwoglom/custom-download-folder
Custom download folders (fixes #129)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,8 @@ Certain values can be set via environment variables, using the `-e` parameter on * __UMASK__: umask value used by MeTube. Defaults to `022`.
* __DOWNLOAD_DIR__: path to where the downloads will be saved. Defaults to `/downloads` in the docker image, and `.` otherwise.
* __AUDIO_DOWNLOAD_DIR__: path to where audio-only downloads will be saved, if you wish to separate them from the video downloads. Defaults to the value of `DOWNLOAD_DIR`.
+* __CUSTOM_DIRS__: whether to enable downloading videos into custom directories within the __DOWNLOAD_DIR__ (or __AUDIO_DOWNLOAD_DIR__). When enabled, a drop-down appears next to the Add button to specify the download directory. Defaults to `true`.
+* __CREATE_CUSTOM_DIRS__: whether to support automatically creating directories within the __DOWNLOAD_DIR__ (or __AUDIO_DOWNLOAD_DIR__) if they do not exist. When enabled, the download directory selector becomes supports free-text input, and the specified directory will be created recursively. Defaults to `false`.
* __STATE_DIR__: path to where the queue persistence files will be saved. Defaults to `/downloads/.metube` in the docker image, and `.` otherwise.
* __URL_PREFIX__: base path for the web server (for use when hosting behind a reverse proxy). Defaults to `/`.
* __OUTPUT_TEMPLATE__: the template for the filenames of the downloaded videos, formatted according to [this spec](https://github.com/yt-dlp/yt-dlp/blob/master/README.md#output-template). Defaults to `%(title)s.%(ext)s`.
|