Automatically add subtitle tracks

Currently, add all .SRT and .VTT subtitle files in the same torrent as a video file
This commit is contained in:
DC
2016-05-16 08:03:21 -07:00
parent 9731d85ca3
commit d4e6c84279
4 changed files with 52 additions and 21 deletions

View File

@@ -157,9 +157,7 @@ function getTorrentFileInfo (file) {
return {
name: file.name,
length: file.length,
path: file.path,
numPiecesPresent: 0,
numPieces: null
path: file.path
}
}