await initDatabaseModels(true)
- JobQueue.Instance.init(true)
+ JobQueue.Instance.init()
const ids = await VideoModel.listLocalIds()
// Everything worked, we can save the playlist now
await playlist.save()
- const allVideo = await VideoModel.loadAndPopulateAccountAndServerAndTags(video.id)
+ const allVideo = await VideoModel.loadFull(video.id)
await federateVideoIfNeeded(allVideo, false)
console.log(`Successfully moved HLS files of ${video.name}.`)