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
|
this.source = params.source
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof params.dash_manifest !== "undefined") {
|
if (typeof params.mpd_string !== "undefined") {
|
||||||
this.dash_manifest = params.dash_manifest
|
this.mpd_string = params.mpd_string
|
||||||
}
|
|
||||||
|
|
||||||
if (typeof params.encoded_manifest !== "undefined") {
|
|
||||||
this.encoded_manifest = params.encoded_manifest
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof params.metadata !== "undefined") {
|
if (typeof params.metadata !== "undefined") {
|
||||||
@ -196,8 +192,7 @@ export default class TrackManifest {
|
|||||||
album: this.album,
|
album: this.album,
|
||||||
artist: this.artist,
|
artist: this.artist,
|
||||||
source: this.source,
|
source: this.source,
|
||||||
dash_manifest: this.dash_manifest,
|
mpd_string: this.mpd_string,
|
||||||
encoded_manifest: this.encoded_manifest,
|
|
||||||
metadata: this.metadata,
|
metadata: this.metadata,
|
||||||
liked: this.liked,
|
liked: this.liked,
|
||||||
service: this.service,
|
service: this.service,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user