Typo in transcoding debug

This commit is contained in:
Chocobozzz 2021-04-20 08:37:26 +02:00
parent 810d5517e2
commit 57dc762713
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 1 additions and 21 deletions

View File

@ -51,23 +51,3 @@ function register ({ registerHook, peertubeHelpers }) {
export {
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
}
}

View File

@ -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) {
peertubeHelpers.logger.error('Cannot add profile settings.', { err, profilesString })