Skip to content

An audio option, for a station that is HLS but has no picture - #7

Merged
ralyodio merged 1 commit into
mainfrom
audio-option
Sep 3, 2026
Merged

ralyodio merged 1 commit into
mainfrom
audio-option

Conversation

@ralyodio

@ralyodio ralyodio commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

The audio shape was inferred from the source alone: an .mp3 got the compact bar, everything else a 16:9 stage. A SiriusXM channel is an .m3u8 whose playlist carries nothing but AAC, and it was drawn as a black stage with a LIVE badge over a picture that never arrives.

Now: createPlayer takes audio: true, and infers it when the element passed as media is an <audio>. Nothing changes for a caller that passes neither. Two tests cover the option and the inference. Version bumped to 0.6.0 so tipoffwatch.com can pin it for its SiriusXM player.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ac4GWmd6Nfd8JReX9u7kH1

The audio shape was inferred from the source alone, so an .mp3 got the compact
bar and everything else got a 16:9 stage. A SiriusXM channel is a .m3u8 whose
playlist carries nothing but AAC, and it was drawn as a black stage with a LIVE
badge over a picture that never arrives.

createPlayer now takes audio: true, and also reads it from an <audio> element
handed in through media. 0.6.0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ac4GWmd6Nfd8JReX9u7kH1
@ralyodio
ralyodio merged commit 8e553cb into main Sep 3, 2026
3 checks passed
@ralyodio
ralyodio deleted the audio-option branch September 3, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant