Typo in transcoding debug
This commit is contained in:
parent
810d5517e2
commit
57dc762713
@ -51,23 +51,3 @@ function register ({ registerHook, peertubeHelpers }) {
|
|||||||
export {
|
export {
|
||||||
register
|
register
|
||||||
}
|
}
|
||||||
|
|
||||||
function onApplicationInit (peertubeHelpers) {
|
|
||||||
console.log('Hello application world')
|
|
||||||
|
|
||||||
const baseStaticUrl = peertubeHelpers.getBaseStaticRoute()
|
|
||||||
const imageUrl = baseStaticUrl + '/images/chocobo.png'
|
|
||||||
|
|
||||||
const topLeftBlock = document.querySelector('.top-left-block')
|
|
||||||
|
|
||||||
topLeftBlock.style.backgroundImage = 'url(' + imageUrl + ')'
|
|
||||||
}
|
|
||||||
|
|
||||||
function addSymbolToVideoNameResult (result, symbol) {
|
|
||||||
result.data.forEach(v => v.name += ' ' + symbol)
|
|
||||||
|
|
||||||
return {
|
|
||||||
data: result.data,
|
|
||||||
total: result.total
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
@ -64,7 +64,7 @@ async function update (peertubeHelpers, transcodingManager, settingsManager) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
transcodingManager.addVODProfile(profile.encoderName, profile.profileName, builder)
|
transcodingManager.addLiveProfile(profile.encoderName, profile.profileName, builder)
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
peertubeHelpers.logger.error('Cannot add profile settings.', { err, profilesString })
|
peertubeHelpers.logger.error('Cannot add profile settings.', { err, profilesString })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user