mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 07:15:47 +00:00
feat(radio): PLS/M3U playlist resolution + ICY metadata for playlist streams
Resolves PLS and M3U/M3U8 playlist URLs to their first direct stream URL before playback and ICY metadata fetching. Stations configured with a .pls or .m3u URL (e.g. SomaFM, schizoid.in) now play correctly and report track metadata via ICY headers. - Rust: parse_pls_stream_url / parse_m3u_stream_url helpers - Rust: resolve_playlist_url (shared) + resolve_stream_url Tauri command - fetch_icy_metadata: auto-resolves playlist URLs before connecting - playerStore: playRadio() awaits resolve_stream_url before setting audio src Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -86,6 +86,7 @@ export default function PlayerBar() {
|
||||
// Radio metadata (ICY or AzuraCast) — only active while a radio station is playing.
|
||||
const radioMeta = useRadioMetadata(currentRadio ?? null);
|
||||
|
||||
|
||||
const isStarred = currentTrack
|
||||
? (currentTrack.id in starredOverrides ? starredOverrides[currentTrack.id] : !!currentTrack.starred)
|
||||
: false;
|
||||
|
||||
Reference in New Issue
Block a user