mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Async torrent creation
This commit is contained in:
parent
d7df188f23
commit
d61893f723
5 changed files with 66 additions and 11 deletions
|
@ -205,7 +205,7 @@ function videoFilesModelToFormattedJSON (
|
|||
label: videoFile.resolution + 'p'
|
||||
},
|
||||
|
||||
magnetUri: includeMagnet
|
||||
magnetUri: includeMagnet && videoFile.torrentFilename
|
||||
? generateMagnetUri(video, videoFile, trackerUrls)
|
||||
: undefined,
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue