radiometa

package
v1.60.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package radiometa pulls now-playing metadata for radio stations that do not carry inline ICY StreamTitle metadata and instead publish the current track (or show) via a separate JSON API. It currently covers NTS and FIP.

Resolver matches a stream URL to a fetch function; the player polls it and feeds titles through the same path as ICY metadata, so no display code needs to know where the title came from.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolver

func Resolver(streamURL string) (fetch func(ctx context.Context) (string, error), interval time.Duration, ok bool)

Resolver reports how to fetch now-playing metadata for streamURL, or ok=false when the URL is not a recognized broadcaster. It satisfies player.StreamMetadataResolver.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL