Increased acceptable sync window to 4Seconds

This commit is contained in:
samcm 2016-12-14 17:18:56 +11:00
parent 1449eeb482
commit 88c4979ea3
2 changed files with 466 additions and 462 deletions

File diff suppressed because it is too large Load Diff

View File

@ -575,7 +575,7 @@ function handleHostUpdate(data) {
console.log('Our raw time: ' + plex.chosenClient.lastTimelineObject.time) console.log('Our raw time: ' + plex.chosenClient.lastTimelineObject.time)
console.log('Our predicted time ' + ourTime) console.log('Our predicted time ' + ourTime)
console.log('The difference: ' + difference) console.log('The difference: ' + difference)
if (difference > 3000) { if (difference > 4000) {
//We're too far out, we should seek to the same time //We're too far out, we should seek to the same time
//Check if they're actually playing something.. //Check if they're actually playing something..
if (data.title == null || data.title == 'Nothing') { if (data.title == null || data.title == 'Nothing') {