diff --git a/front/src/store/player.js b/front/src/store/player.js
index fb348042fa107bdef406406bf67aac596da3d4b9..df8d159f40b4fe3287f9f6252df0ecfdb9023830 100644
--- a/front/src/store/player.js
+++ b/front/src/store/player.js
@@ -50,7 +50,12 @@ export default {
   },
   getters: {
     durationFormatted: state => {
-      return time.parse(Math.round(state.duration))
+      let duration = parseInt(state.duration)
+      if (duration % 1 !== 0) {
+        return time.parse(0)
+      }
+      duration = Math.round(state.duration)
+      return time.parse(duration)
     },
     currentTimeFormatted: state => {
       return time.parse(Math.round(state.currentTime))