diff --git a/src/Song.js b/src/Song.js index d2794ed..a168e3e 100644 --- a/src/Song.js +++ b/src/Song.js @@ -16,7 +16,7 @@ class Song { * Song duration. * @type {Number} */ - this.duration = ((video.duration.hours*3600)+(video.duration.minutes*60)+(video.duration.seconds)) * 100; + this.duration = ((video.duration.hours*3600)+(video.duration.minutes*60)+(video.duration.seconds)) * 1000; /** * Raw video object from Simple Youtube API * @type {Video} @@ -55,4 +55,4 @@ class Song { } }; -module.exports = Song; \ No newline at end of file +module.exports = Song;