radio details
This commit is contained in:
@@ -180,10 +180,11 @@ function loadMedia(url, metadata) {
|
|||||||
contentType: 'audio/mpeg',
|
contentType: 'audio/mpeg',
|
||||||
streamType: 'LIVE',
|
streamType: 'LIVE',
|
||||||
metadata: {
|
metadata: {
|
||||||
metadataType: 0,
|
metadataType: 3, // MusicTrackMediaMetadata
|
||||||
title: meta.title || 'RadioPlayer',
|
title: meta.title || 'Radio Station',
|
||||||
subtitle: meta.artist || meta.station || undefined,
|
albumName: 'Radio Player',
|
||||||
images: meta.image ? [{ url: meta.image }] : undefined
|
artist: meta.artist || meta.station || '',
|
||||||
|
images: meta.image ? [{ url: meta.image }] : []
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user