Skip to content

Fix crash in forced transcoding when building playlists#773

Merged
damontecres merged 1 commit intodamontecres:mainfrom
HankFreeman1:patch-1
Feb 28, 2026
Merged

Fix crash in forced transcoding when building playlists#773
damontecres merged 1 commit intodamontecres:mainfrom
HankFreeman1:patch-1

Conversation

@HankFreeman1
Copy link
Copy Markdown
Contributor

I've been experiencing frequent crashing after upgrading to 0.8.1. Turns out it was related to the recent forced transcoding changes in 4ea91f16.

The rewrite of checkIfAlwaysTranscode changed this line to return streams[streamKey] (a URL) instead of streamKey (a map key like "HLS Full HD (1080p)"). That URL then gets passed as a streamLabel into buildMediaItem, which tries to use it as a key to look up the actual URL and fails.

The fix is just changing return streams[streamKey] to return streamKey.

Copy link
Copy Markdown
Owner

@damontecres damontecres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, good catch!

@damontecres damontecres merged commit 1d90fb9 into damontecres:main Feb 28, 2026
2 checks passed
@HankFreeman1 HankFreeman1 deleted the patch-1 branch February 28, 2026 17:34
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.

2 participants