From b621527495f7f27c0143e282a285a8a957ef0f38 Mon Sep 17 00:00:00 2001 From: Tom Date: Thu, 5 Dec 2024 08:27:03 +0000 Subject: [PATCH] Fixed Song data class. --- models/song.js | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/models/song.js b/models/song.js index 6db6f1b..d973294 100644 --- a/models/song.js +++ b/models/song.js @@ -1,4 +1,15 @@ class Song { + id = null; + name = null; + album = null; + artists = []; + year = 0; + duration = 0; + progress = 0; + session = null; + state = null; + source = null; + constructor(id, name, album, artists, year, duration, progress, session, state, source) { this.id = id; this.name = name;