mirror of
https://github.com/ragestudio/comty.git
synced 2025-07-08 08:44:15 +00:00
Consolidate manifest properties
This commit is contained in:
parent
217d179ce9
commit
0d94ecc46d
@ -45,12 +45,8 @@ export default class TrackManifest {
|
||||
this.source = params.source
|
||||
}
|
||||
|
||||
if (typeof params.dash_manifest !== "undefined") {
|
||||
this.dash_manifest = params.dash_manifest
|
||||
}
|
||||
|
||||
if (typeof params.encoded_manifest !== "undefined") {
|
||||
this.encoded_manifest = params.encoded_manifest
|
||||
if (typeof params.mpd_string !== "undefined") {
|
||||
this.mpd_string = params.mpd_string
|
||||
}
|
||||
|
||||
if (typeof params.metadata !== "undefined") {
|
||||
@ -196,8 +192,7 @@ export default class TrackManifest {
|
||||
album: this.album,
|
||||
artist: this.artist,
|
||||
source: this.source,
|
||||
dash_manifest: this.dash_manifest,
|
||||
encoded_manifest: this.encoded_manifest,
|
||||
mpd_string: this.mpd_string,
|
||||
metadata: this.metadata,
|
||||
liked: this.liked,
|
||||
service: this.service,
|
||||
|
Loading…
x
Reference in New Issue
Block a user