summaryrefslogtreecommitdiff
path: root/config.json
diff options
context:
space:
mode:
authorHeinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>2023-01-16 11:33:12 +0000
committerJames Mills <james@mills.io>2023-01-16 11:33:12 +0000
commit19a1141af3f1aa52c706e402af734797d5d929ff (patch)
tree6e50140550f92fe320b4d389d93d1b75b132fd24 /config.json
parent9952cc533ac093a9b8acf964642e42ae8962f768 (diff)
preserve-video-filename (#49)
This should fix issue #40 I have not made the `allowed_characters` configurable yet nor the `replacement_character`. Mostly because I couldn't decide if I should define those "globally" on a server basis, or on the library nodes. Feel free to modify, extend, rip apart. 😁 Reviewed-on: https://git.mills.io/prologic/tube/pulls/49 Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io> Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Diffstat (limited to 'config.json')
-rw-r--r--config.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.json b/config.json
index eb43aac..bb764f4 100644
--- a/config.json
+++ b/config.json
@@ -2,7 +2,8 @@
"library": [
{
"path": "videos",
- "prefix": ""
+ "prefix": "",
+ "preserve_upload_filename": false
}
],
"server": {
@@ -10,6 +11,7 @@
"port": 8000,
"store_path": "tube.db",
"upload_path": "uploads",
+ "preserve_upload_filename": false,
"max_upload_size": 104857600
},
"thumbnailer": {