From 40e87e9ecc54e3513fb586928330a7855eb192c6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 12 Jul 2018 19:02:00 +0200 Subject: Implement captions/subtitles --- config/default.yaml | 3 +++ config/production.yaml.example | 1 + config/test-1.yaml | 1 + config/test-2.yaml | 1 + config/test-3.yaml | 1 + config/test-4.yaml | 1 + config/test-5.yaml | 1 + config/test-6.yaml | 1 + 8 files changed, 10 insertions(+) (limited to 'config') diff --git a/config/default.yaml b/config/default.yaml index 9a9b5833f..d59425365 100644 --- a/config/default.yaml +++ b/config/default.yaml @@ -49,6 +49,7 @@ storage: previews: 'storage/previews/' thumbnails: 'storage/thumbnails/' torrents: 'storage/torrents/' + captions: 'storage/captions/' cache: 'storage/cache/' log: @@ -57,6 +58,8 @@ log: cache: previews: size: 1 # Max number of previews you want to cache + captions: + size: 1 # Max number of video captions/subtitles you want to cache admin: email: 'admin@example.com' # Your personal email as administrator diff --git a/config/production.yaml.example b/config/production.yaml.example index a4c80b1f1..98cdd7ca7 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example @@ -50,6 +50,7 @@ storage: previews: '/var/www/peertube/storage/previews/' thumbnails: '/var/www/peertube/storage/thumbnails/' torrents: '/var/www/peertube/storage/torrents/' + captions: '/var/www/peertube/storage/captions/' cache: '/var/www/peertube/storage/cache/' log: diff --git a/config/test-1.yaml b/config/test-1.yaml index cb658397c..503bbc661 100644 --- a/config/test-1.yaml +++ b/config/test-1.yaml @@ -16,6 +16,7 @@ storage: previews: 'test1/previews/' thumbnails: 'test1/thumbnails/' torrents: 'test1/torrents/' + captions: 'test1/captions/' cache: 'test1/cache/' admin: diff --git a/config/test-2.yaml b/config/test-2.yaml index 7b9787c91..8c77bf581 100644 --- a/config/test-2.yaml +++ b/config/test-2.yaml @@ -16,6 +16,7 @@ storage: previews: 'test2/previews/' thumbnails: 'test2/thumbnails/' torrents: 'test2/torrents/' + captions: 'test2/captions/' cache: 'test2/cache/' admin: diff --git a/config/test-3.yaml b/config/test-3.yaml index e7e30c07b..82d89567a 100644 --- a/config/test-3.yaml +++ b/config/test-3.yaml @@ -16,6 +16,7 @@ storage: previews: 'test3/previews/' thumbnails: 'test3/thumbnails/' torrents: 'test3/torrents/' + captions: 'test3/captions/' cache: 'test3/cache/' admin: diff --git a/config/test-4.yaml b/config/test-4.yaml index b80acd765..1aa56d041 100644 --- a/config/test-4.yaml +++ b/config/test-4.yaml @@ -16,6 +16,7 @@ storage: previews: 'test4/previews/' thumbnails: 'test4/thumbnails/' torrents: 'test4/torrents/' + captions: 'test4/captions/' cache: 'test4/cache/' admin: diff --git a/config/test-5.yaml b/config/test-5.yaml index 29d06f1da..5f1c2f583 100644 --- a/config/test-5.yaml +++ b/config/test-5.yaml @@ -16,6 +16,7 @@ storage: previews: 'test5/previews/' thumbnails: 'test5/thumbnails/' torrents: 'test5/torrents/' + captions: 'test5/captions/' cache: 'test5/cache/' admin: diff --git a/config/test-6.yaml b/config/test-6.yaml index 4fdc2402e..719629844 100644 --- a/config/test-6.yaml +++ b/config/test-6.yaml @@ -16,6 +16,7 @@ storage: previews: 'test6/previews/' thumbnails: 'test6/thumbnails/' torrents: 'test6/torrents/' + captions: 'test6/captions/' cache: 'test6/cache/' admin: -- cgit v1.2.3