Skip to main content

parseIcyStreamTitle

Shoutcast/Icecast metadata helpers for the radio player.

FunctionRole
parseIcyStreamTitle(metadataText)Extract StreamTitle='…' / double-quote form
splitArtistTitle(rawTitle)Split on - into artist/title
buildNowPlayingDisplay(streamTitle, station)UI string with em dash
Additional helpers in fileMap into RadioNowPlaying shape

Strips null bytes before regex match.


Sources: src/lib/radio/parseIcyStreamTitle.ts, src/lib/radio/radioNowPlaying.types.ts