Fix logging
This commit is contained in:
parent
11d377684e
commit
d794988ebd
|
@ -49,7 +49,7 @@ export abstract class APVideoAbstractBuilder {
|
||||||
|
|
||||||
protected async getOrCreateVideoChannelFromVideoObject () {
|
protected async getOrCreateVideoChannelFromVideoObject () {
|
||||||
const channel = await findOwner(this.videoObject.id, this.videoObject.attributedTo, 'Group')
|
const channel = await findOwner(this.videoObject.id, this.videoObject.attributedTo, 'Group')
|
||||||
if (!channel) throw new Error('Cannot find associated video channel to video ' + this.videoObject.url)
|
if (!channel) throw new Error('Cannot find associated video channel to video ' + this.videoObject.id)
|
||||||
|
|
||||||
return getOrCreateAPActor(channel.id, 'all')
|
return getOrCreateAPActor(channel.id, 'all')
|
||||||
}
|
}
|
||||||
|
|
|
@ -307,7 +307,7 @@ export async function muxToMergeVideoFiles (options: {
|
||||||
await new FFmpegContainer(getFFmpegCommandWrapperOptions('vod')).mergeInputs({
|
await new FFmpegContainer(getFFmpegCommandWrapperOptions('vod')).mergeInputs({
|
||||||
inputs,
|
inputs,
|
||||||
output,
|
output,
|
||||||
logError: true,
|
logError: false,
|
||||||
|
|
||||||
// Include a cover if this is an audio file
|
// Include a cover if this is an audio file
|
||||||
coverPath
|
coverPath
|
||||||
|
|
Loading…
Reference in New Issue