File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -368,13 +368,14 @@ useful if you are manually installing TubeSync in some other environment. These
368
368
| TUBESYNC_DEBUG | Enable debugging | True |
369
369
| TUBESYNC_WORKERS | Number of background workers, default is 2, max allowed is 8 | 2 |
370
370
| TUBESYNC_HOSTS | Django's ALLOWED_HOSTS, defaults to `*` | tubesync.example.com,otherhost.com |
371
- | TUBESYNC_RESET_DOWNLOAD_DIR | Toggle resetting `/downloads` permissions, defaults to True | True
371
+ | TUBESYNC_RESET_DOWNLOAD_DIR | Toggle resetting `/downloads` permissions, defaults to True | True |
372
372
| GUNICORN_WORKERS | Number of gunicorn workers to spawn | 3 |
373
373
| LISTEN_HOST | IP address for gunicorn to listen on | 127.0.0.1 |
374
374
| LISTEN_PORT | Port number for gunicorn to listen on | 8080 |
375
375
| HTTP_USER | Sets the username for HTTP basic authentication | some-username |
376
376
| HTTP_PASS | Sets the password for HTTP basic authentication | some-secure-password |
377
377
| DATABASE_CONNECTION | Optional external database connection details | mysql://user:pass@host:port/database |
378
+ | VIDEO_HEIGHT_CUTOFF | Smallest video height in pixels permitted to download | 240 |
378
379
379
380
380
381
# Manual, non-containerised, installation
Original file line number Diff line number Diff line change 150
150
MEDIA_THUMBNAIL_HEIGHT = 240 # Height in pixels to resize thumbnails to
151
151
152
152
153
- VIDEO_HEIGHT_CUTOFF = 240 # Smallest resolution in pixels permitted to download
154
- VIDEO_HEIGHT_IS_HD = 500 # Height in pixels to count as 'HD'
153
+ VIDEO_HEIGHT_CUTOFF = int ( os . getenv ( "VIDEO_HEIGHT_CUTOFF" , "240" )) # Smallest resolution in pixels permitted to download
154
+ VIDEO_HEIGHT_IS_HD = 500 # Height in pixels to count as 'HD'
155
155
156
156
157
157
YOUTUBE_DL_CACHEDIR = None
You can’t perform that action at this time.
0 commit comments