radio details

This commit is contained in:
2026-01-14 19:19:20 +01:00
parent 7176cc8f4b
commit 6dd2025d3d

View File

@@ -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 }] : []
} }
}; };