Fixed Song data class.
This commit is contained in:
parent
49633b7ee6
commit
b621527495
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user