Fix chrome.cast.media class implementations

This commit is contained in:
hensm
2019-01-12 13:47:49 +00:00
parent 536d170d51
commit 8588b856b5
25 changed files with 89 additions and 52 deletions

View File

@@ -1,17 +1,22 @@
"use strict";
import { MetadataType } from "../enums";
export default class MusicTrackMediaMetadata {
constructor () {
this.albumArtist = null;
this.albumName = null;
this.artist = null;
this.artistName = null;
this.composer = null;
this.discNumber = null;
this.images = [];
this.metadataType = this.type = 3;
this.images = null;
this.metadataType = MetadataType.MUSIC_TRACK;
this.releaseDate = null;
this.releaseYear = null;
this.songName = null;
this.title = null;
this.trackNumber = null;
this.type = MetadataType.MUSIC_TRACK;
}
}