Browse Source

Fixed issue with songs with a duration of over an hour.

KrisVos130 8 years ago
parent
commit
5dcf6b5868
1 changed files with 1 additions and 1 deletions
  1. 1 1
      backend/logic/utils.js

+ 1 - 1
backend/logic/utils.js

@@ -259,7 +259,7 @@ module.exports = {
 			});
 			dur = dur.replace(/([\d]*)M/, (v, v2) => {
 				v2 = Number(v2);
-				duration = (v2 * 60);
+				duration += (v2 * 60);
 				return '';
 			});
 			dur = dur.replace(/([\d]*)S/, (v, v2) => {