Handle .srt subtitles
authorChocobozzz <me@florianbigard.com>
Mon, 16 Jul 2018 12:22:16 +0000 (14:22 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 16 Jul 2018 12:31:40 +0000 (14:31 +0200)
commitf4001cf408a99049d01a356bfb20a62342de06ea
tree421776dfe64335dca2725ac3ac5f3b3e6b7564c6
parent16f7022b06fb76c0b00c23c970bc8df605b0ec63
Handle .srt subtitles
20 files changed:
client/src/app/videos/+video-edit/shared/video-caption-add-modal.component.ts
client/src/app/videos/+video-edit/shared/video-edit.component.html
client/src/app/videos/+video-edit/shared/video-edit.component.ts
package.json
server.ts
server/controllers/api/videos/captions.ts
server/helpers/captions-utils.ts [new file with mode: 0644]
server/helpers/custom-validators/video-captions.ts
server/initializers/constants.ts
server/initializers/installer.ts
server/lib/cache/abstract-video-static-file-cache.ts
server/lib/cache/videos-caption-cache.ts
server/lib/cache/videos-preview-cache.ts
server/models/video/video-caption.ts
server/tests/api/check-params/video-captions.ts
server/tests/api/videos/video-captions.ts
server/tests/fixtures/subtitle-bad.txt [new file with mode: 0644]
server/tests/fixtures/subtitle-good.srt [new file with mode: 0644]
server/tests/utils/videos/videos.ts
yarn.lock