Files
silo-server/migrations/sql/20260714180000_enable_playback_protocol_v3_by_default.sql
T
Quick104andClaude Fable 5 c36d70dcba feat(playback): enable protocol v3 by default
The playback.protocol_v3_enabled flag shipped seeded to 'false' as a
rollout safety valve and was never exposed in any settings UI. Current
Android clients are v3-only for video, so against a server with the
flag off they refuse playback with a misleading "update your server"
error even on the newest image. Flip the flag to 'true' everywhere.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 16:04:43 -04:00

21 lines
776 B
SQL

-- +goose Up
-- +goose StatementBegin
-- Playback protocol v3 now defaults to enabled. The flag shipped seeded to
-- 'false' as a rollout safety valve, but it was never exposed in any settings
-- UI, so a stored 'false' means "never touched" rather than an explicit
-- opt-out — and the current Android clients are v3-only for video: against a
-- server with the flag off they refuse playback with a misleading "update
-- your server" error. Flip it everywhere.
INSERT INTO server_settings (key, value)
VALUES ('playback.protocol_v3_enabled', 'true')
ON CONFLICT (key) DO UPDATE SET value = 'true';
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
UPDATE server_settings
SET value = 'false'
WHERE key = 'playback.protocol_v3_enabled';
-- +goose StatementEnd