Changed Subtitle index
Changed SubtitleIndex to -2 so it defaults to no subs
This commit is contained in:
parent
acc4c09b9b
commit
1aab8abc55
@ -122,7 +122,7 @@ module.exports = function ($http, $window, $interval) {
|
||||
}
|
||||
if (program.type === 'episode' || program.type === 'movie') {
|
||||
program.file = `${server.protocol}://${server.host}:${server.port}${res.Metadata[i].Media[0].Part[0].key}?X-Plex-Token=${server.token}`
|
||||
program.opts = { deinterlace: false, videoIndex: '-1', audioIndex: '-1', subtitleIndex: '-1' }
|
||||
program.opts = { deinterlace: false, videoIndex: '-1', audioIndex: '-1', subtitleIndex: '-2' }
|
||||
}
|
||||
if (program.type === 'episode') {
|
||||
program.showTitle = res.Metadata[i].grandparentTitle
|
||||
@ -156,4 +156,4 @@ function msToTime(duration) {
|
||||
seconds = (seconds < 10) ? "0" + seconds : seconds;
|
||||
|
||||
return hours + ":" + minutes + ":" + seconds + "." + milliseconds;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user