Fixed Song data class.

This commit is contained in:
Tom 2024-12-05 08:27:03 +00:00
parent 49633b7ee6
commit b621527495

View File

@ -1,4 +1,15 @@
class Song { 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) { constructor(id, name, album, artists, year, duration, progress, session, state, source) {
this.id = id; this.id = id;
this.name = name; this.name = name;