parent
5669581708
commit
ee498873f0
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ class Song {
|
||||||
* Song duration.
|
* Song duration.
|
||||||
* @type {Number}
|
* @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
|
* Raw video object from Simple Youtube API
|
||||||
* @type {Video}
|
* @type {Video}
|
||||||
|
@ -55,4 +55,4 @@ class Song {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = Song;
|
module.exports = Song;
|
||||||
|
|
Loading…
Reference in a new issue