More logical naming conventions for seeking, 5s polling for updates

This commit is contained in:
James Barnsley
2018-03-02 08:49:34 +13:00
parent 816eb54ed7
commit c204556dbd
4 changed files with 85 additions and 77 deletions

View File

@ -21,7 +21,7 @@ class ProgressSlider extends React.Component{
if (this.props.connected && this.props.current_track){
var destination_time = this.props.current_track.duration * percent;
this.props.mopidyActions.seek(destination_time);
this.props.mopidyActions.setTimePosition(destination_time);
this.setState({ animating: false });
}
}