Increased acceptable sync window to 4Seconds
This commit is contained in:
parent
1449eeb482
commit
88c4979ea3
926
app/app.js
926
app/app.js
File diff suppressed because it is too large
Load Diff
|
@ -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') {
|
||||||
|
|
Loading…
Reference in New Issue