import { APP } from '../app/app' ; import PlayerModel from './player' ; export default class Radio extends PlayerModel { constructor ( id , title , listening , image , time ) { super ( id , title , listening , image , time ) ; this . statusKey = 'streaming' ; this . statusText = 'Streaming' ; this . trayMessage = `Radio • ${ this . title }` ; this . notification = `${ this . title }\nRadio` ; } getId ( ) { return `RADIO_${ this . id }` ; } getState ( ) { return 'Radio' ; } getStartTimestamp ( ) { return this . time ; } getEndTimestamp ( ) { return undefined ; } getImageText ( ) { return APP . name ; } getButtons ( ) { return undefined ; } }