Skip to content

Commit

Permalink
Use of durationEstimate - better duration display
Browse files Browse the repository at this point in the history
  • Loading branch information
leizh authored and MorrisJobke committed Mar 19, 2014
1 parent 5324fb4 commit 2a64d51
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 @@ -236,7 +236,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 @@ -302,7 +302,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 2a64d51

Please sign in to comment.