Skip to content

Commit

Permalink
Use of durationEstimate
Browse files Browse the repository at this point in the history
  • Loading branch information
leizh committed Mar 18, 2014
1 parent 9c897cc commit 8cec86b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/app/controllers/playercontroller.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ angular.module('Music').controller('PlayerController',
id: 'ownCloudSound',
url: $scope.getPlayableFileURL($scope.currentTrack),
whileplaying: function() {
$scope.setTime(this.position/1000, this.duration/1000);
$scope.setTime(this.position/1000, this.durationEstimate/1000);
},
onstop: function() {
$scope.setPlay(false);
Expand Down
2 changes: 1 addition & 1 deletion js/public/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ angular.module('Music').controller('PlayerController',
id: 'ownCloudSound',
url: $scope.getPlayableFileURL($scope.currentTrack),
whileplaying: function() {
$scope.setTime(this.position/1000, this.duration/1000);
$scope.setTime(this.position/1000, this.durationEstimate/1000);
},
onstop: function() {
$scope.setPlay(false);
Expand Down

0 comments on commit 8cec86b

Please sign in to comment.