mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add url field in caption and use it for thumbnails
This commit is contained in:
parent
215304eaa0
commit
ca6d36227a
20 changed files with 160 additions and 82 deletions
|
@ -199,6 +199,8 @@ function sha1 (str: string | Buffer, encoding: HexBase64Latin1Encoding = 'hex')
|
|||
return createHash('sha1').update(str).digest(encoding)
|
||||
}
|
||||
|
||||
|
||||
|
||||
function execShell (command: string, options?: ExecOptions) {
|
||||
return new Promise<{ err?: Error, stdout: string, stderr: string }>((res, rej) => {
|
||||
exec(command, options, (err, stdout, stderr) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue