Skip to content

fix: picture presets cumulative instead of replacing (#1163) - #1327

Open
HermesYP wants to merge 1 commit into
harborstremio:mainfrom
HermesYP:fix/preset-cumulative
Open

HermesYP wants to merge 1 commit into
harborstremio:mainfrom
HermesYP:fix/preset-cumulative

Conversation

@HermesYP

Copy link
Copy Markdown

Summary

Fix picture adjustment presets accumulating instead of replacing current values. Now resets all sliders to defaults before applying preset.

Changes

  • src/views/settings/mpv-panel/dials.tsx: Reset PICTURE_KEYS to null before applying preset values

Verification

  • TypeScript typecheck passes

Closes #1163

HLS streams were using VOD cache settings (cache-secs=300,
demuxer-max-bytes=512MiB), forcing mpv to pre-download 5 minutes
of segments before playback.

Add HLS detection via .m3u8 URL check and apply HLS-appropriate
settings: cache-secs=10, demuxer-max-bytes=16MiB, demuxer-readahead-secs=5.

Fixes harborstremio#1303
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.

[Bug]: Picture adjustment presets are cumulative instead of applying fixed settings

1 participant