Add ability to import video with youtube-dl
This commit is contained in:
parent
5e319fb789
commit
fbad87b047
42 changed files with 1507 additions and 446 deletions
|
@ -24,6 +24,7 @@ import { VideoTagModel } from '../models/video/video-tag'
|
|||
import { CONFIG } from './constants'
|
||||
import { ScheduleVideoUpdateModel } from '../models/video/schedule-video-update'
|
||||
import { VideoCaptionModel } from '../models/video/video-caption'
|
||||
import { VideoImportModel } from '../models/video/video-import'
|
||||
|
||||
require('pg').defaults.parseInt8 = true // Avoid BIGINT to be converted to string
|
||||
|
||||
|
@ -81,7 +82,8 @@ async function initDatabaseModels (silent: boolean) {
|
|||
VideoTagModel,
|
||||
VideoModel,
|
||||
VideoCommentModel,
|
||||
ScheduleVideoUpdateModel
|
||||
ScheduleVideoUpdateModel,
|
||||
VideoImportModel
|
||||
])
|
||||
|
||||
// Check extensions exist in the database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue