fixed linting errors
This commit is contained in:
@@ -247,8 +247,8 @@ import connectionManager from 'connectionManager';
|
||||
let item = playbackManager.getPlayerState(playbackManager.getCurrentPlayer()).NowPlayingItem;
|
||||
// Convert to ms
|
||||
let duration = parseInt(item.RunTimeTicks ? (item.RunTimeTicks / 10000) : 0);
|
||||
let wantedTime = object.seekTime*1000;
|
||||
playbackManager.seekPercent(wantedTime/duration*100,currentPlayer);
|
||||
let wantedTime = object.seekTime * 1000;
|
||||
playbackManager.seekPercent(wantedTime / duration * 100, currentPlayer);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user