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