import * as Vue from "vue"; let component: Vue.Component = { props: ['track', 'episode'], computed: { IsTrackPlaying() { return this.track !== null && this.track !== undefined; }, IsEpisodePlaying() { return this.episode !== null && this.episode !== undefined; }, ImageUrl() { if(this.track.album.images.length > 0) { return this.track.album.images[0].url; } else{ return ""; } } }, template: `

{{ track.name }}

{{ track.album.name }}

{{ episode.name }}

{{ episode.show.name }}
{{ episode.show.publisher }}

No Playback

` } export default component;